/* Windows 98 themed Discord presence for widget and window */
.discord-presence {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  position: static !important;
  width: 100% !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  z-index: auto !important;
}

.discord-presence .presence-header {
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-presence .activity-list {
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.discord-presence .activity-list::-webkit-scrollbar {
  width: 16px;
}

.discord-presence .activity-list::-webkit-scrollbar-track {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
}

.discord-presence .activity-list::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
}

.discord-presence .activity-block {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 4px;
  margin-bottom: 4px;
}

.discord-presence .activity-block:last-child {
  margin-bottom: 0;
}

.discord-presence .activity-title {
  background: #000080;
  color: white;
  padding: 2px 4px;
  margin: -4px -4px 4px -4px;
  font-weight: bold;
  font-size: 11px;
}

.discord-presence .avatar {
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  width: 40px;
  height: 40px;
}

.discord-presence .username {
  font-size: 11px;
  font-weight: bold;
  color: #000000;
}

.discord-presence .username .secondary {
  color: #808080;
  font-weight: normal;
}

.discord-presence .discriminator {
  color: #808080;
  font-weight: normal;
}

.discord-presence .status {
  font-size: 10px;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
}

.discord-presence .platform-indicator {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

.discord-presence .platform-indicator.active {
  background: #ffffff;
}

.discord-presence .platform-indicator i {
  font-size: 10px;
  color: #000000;
}

.discord-presence .progress-bar {
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  height: 8px;
  margin-top: 4px;
}

.discord-presence .progress {
  background: #000080;
  height: 100%;
}

.discord-presence .loading {
  text-align: center;
  padding: 10px;
  color: #808080;
}

.discord-presence .loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #c0c0c0;
  border-top-color: #000080;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.discord-presence .no-activity {
  text-align: center;
  padding: 10px;
  color: #808080;
  font-style: italic;
}

.discord-presence .error-message {
  text-align: center;
  padding: 10px;
  color: #ff0000;
}

.discord-presence .refresh-btn {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  margin-top: 4px;
}

.discord-presence .refresh-btn:active {
  border-color: #808080 #ffffff #ffffff #808080;
}

/* Spotify specific styles */
.discord-presence .spotify-container {
  background: #1db954;
  border: 1px solid;
  border-color: #1aa34a #19e14a #19e14a #1aa34a;
  padding: 4px;
  margin-top: 4px;
  display: flex;
  gap: 4px;
}

.discord-presence .album-art {
  width: 40px;
  height: 40px;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
}

.discord-presence .spotify-info {
  flex: 1;
  color: #ffffff;
  font-size: 10px;
}

.discord-presence .spotify-details .activity-detail {
  color: #ffffff;
  font-weight: bold;
}

.discord-presence .spotify-details .activity-state {
  color: #e0e0e0;
}