/* ===== Profile Styles styles ===== */

	
    /* Profile Overlay Container */
    #profileOverlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 100vh;
      background: linear-gradient(135deg, rgba(30, 60, 114, 0.98), rgba(42, 82, 152, 0.98));
      backdrop-filter: blur(10px);
      z-index: 800;
      transform: translateY(-100%);
      transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
      display: flex;
      flex-direction: column;
    }

    #profileOverlay.open {
      transform: translateY(0);
    }

    /* Hide emote menu when profile overlay is open */
    #profileOverlay.open ~ #emoteMenu {
      opacity: 0 !important;
      pointer-events: none !important;
      visibility: hidden;
    }

    /* Profile Header */
    .profile-header {
      background: rgba(0, 0, 0, 0.3);
      padding: 15px 30px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .profile-header h2 {
      color: white;
      margin: 0;
      font-size: 1.8em;
    }

    .close-profile-btn {
      background: rgba(255, 75, 75, 0.8);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.3s ease;

    }

    .close-profile-btn:hover {
      background: rgba(255, 75, 75, 1);
      transform: scale(1.05);
    }

    /* Tab Navigation */
    .tab-nav {
      display: flex;
      background: rgba(0, 0, 0, 0.2);
      padding: 0;
      margin: 0;
      overflow-x: auto;
      flex-wrap: nowrap;
    }

    .tab-nav::-webkit-scrollbar {
      height: 6px;
    }

    .tab-nav::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.2);
    }

    .tab-nav::-webkit-scrollbar-thumb {
      background: rgba(102, 126, 234, 0.5);
      border-radius: 3px;
    }

    .tab-button {
      flex: 0 0 auto;
      background: transparent;
      color: rgba(255, 255, 255, 0.7);
      border: none;
      padding: 15px 20px;
      cursor: pointer;
      font-size: 1em;
      font-weight: 600;
      transition: all 0.3s ease;
      border-bottom: 3px solid transparent;
      white-space: nowrap;
    }

    .tab-button:hover {
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }

    .tab-button.active {
      background: rgba(255, 255, 255, 0.15);
      color: white;
      border-bottom-color: #4CAF50;
    }

    /* Tab Content */
    .tab-content {
      flex: 1;
      overflow-y: auto;
      padding: 30px;
      display: none;
      position: relative;
      z-index: 800;
    }

    .tab-content.active {
      display: block;
    }

    /* View Profile Styles */
    .profile-view {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 30px;
      max-width: 900px;
      margin: 0 auto;
    }

    .profile-avatar {
      text-align: center;
    }

    .avatar-placeholder {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      margin: 0 auto 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4em;
      color: white;
      font-weight: bold;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .profile-details {
      background: rgba(255, 255, 255, 0.1);
      padding: 25px;
      border-radius: 12px;
      color: white;
    }

    .detail-row {
      display: flex;
      padding: 15px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .detail-row:last-child {
      border-bottom: none;
    }

    .detail-label {
      font-weight: bold;
      width: 150px;
      color: rgba(255, 255, 255, 0.8);
    }

    .detail-value {
      flex: 1;
      color: white;
    }

    /* Edit Profile Styles */
    .edit-form {
      max-width: 700px;
      margin: 0 auto;
    }

    .form-section {
      background: rgba(255, 255, 255, 0.1);
      padding: 25px;
      border-radius: 12px;
      margin-bottom: 20px;
    }

    .form-section h3 {
      color: white;
      margin-top: 0;
      margin-bottom: 20px;
      font-size: 1.3em;
      border-bottom: 2px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 10px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-group input,
    .form-group select {
      width: 100%;
      padding: 12px;
      border: 2px solid rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.9);
      font-size: 1em;
      transition: border-color 0.3s ease;
      box-sizing: border-box;
    }

    .form-group input:focus,
    .form-group select:focus {
      outline: none;
      border-color: #4CAF50;
      box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    }

    .save-btn {
      background: linear-gradient(135deg, #4CAF50, #45a049);
      color: white;
      border: none;
      padding: 15px 40px;
      border-radius: 8px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      width: 100%;
      transition: all 0.3s ease;
      margin-top: 10px;
    }

    .save-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    }

    .save-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
      transform: none;
    }

    /* Profile Toggle Button - Hidden, using radial menu instead */
    #profileToggleBtn {
      display: none;
      position: fixed;
      top: 10px;
      left: 10px;
      padding: 10px 15px;
      border: none;
      border-radius: 8px;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      font-weight: bold;
      font-size: 1em;
      cursor: pointer;
      z-index: 799; /* Below profile overlay */
      transition: all 0.3s ease;
    }

    #profileToggleBtn:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    /* Success/Error Messages */
    .message {
      padding: 12px 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      display: none;
      animation: slideIn 0.3s ease;
    }

    .message.success {
      background: rgba(76, 175, 80, 0.2);
      border: 2px solid #4CAF50;
      color: #4CAF50;
    }

    .message.error {
      background: rgba(244, 67, 54, 0.2);
      border: 2px solid #f44336;
      color: #f44336;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Accessory Selector */
    .accessory-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 15px;
      margin-top: 15px;
    }

    .accessory-option {
      background: rgba(255, 255, 255, 0.2);
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 3px solid transparent;
    }

    .accessory-option:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
    }

    .accessory-option.selected {
      border-color: #4CAF50;
      background: rgba(76, 175, 80, 0.3);
    }

    .accessory-option img {
      width: 60px;
      height: 60px;
      object-fit: contain;
    }

    .accessory-name {
      color: white;
      font-size: 0.9em;
      margin-top: 5px;
    }
/* ===== Character Creator Button ===== */
.design-yourself-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.2em;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4),
              0 0 40px rgba(118, 75, 162, 0.2);
  position: relative;
  overflow: hidden;
}

.design-yourself-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.design-yourself-btn:hover::before {
  left: 100%;
}

.design-yourself-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6),
              0 0 60px rgba(118, 75, 162, 0.4);
}

.design-yourself-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-icon {
  font-size: 1.4em;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  50% { transform: scale(1.2) rotate(10deg); filter: brightness(1.5); }
}

.btn-text {
  flex: 1;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-arrow {
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.design-yourself-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Current Design Preview */
.current-design {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95em;
}

.current-design span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.current-design-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ===== Vote History Panel ===== */
.vote-history-panel {
  padding: 20px;
  color: white;
}

.vote-history-panel h2 {
  margin: 0 0 10px 0;
  color: white;
}

.vote-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 30px 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vote-history-list {
  max-height: 500px;
  overflow-y: auto;
}

.vote-history-item {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vote-history-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.bill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bill-header h4 {
  margin: 0;
  color: #667eea;
  font-size: 1.1em;
}

.vote-badge {
  background: rgba(102, 126, 234, 0.3);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 600;
}

.bill-title {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px 0;
  font-size: 0.95em;
  line-height: 1.4;
}

.bill-stats {
  display: flex;
  gap: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
}

.empty-state,
.error-state {
  padding: 40px 20px;
  text-align: center;
}

/* Mobile Specific Fixes */
@media (max-width: 768px) {
  /* Ensure profile overlay covers entire screen on mobile */
  #profileOverlay {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    min-height: -webkit-fill-available;
  }

  /* Force hide emote menu on mobile when overlay is open */
  #profileOverlay.open ~ #emoteMenu,
  .emote-menu {
    display: none !important;
  }

  /* Hide toggle buttons when profile is open */
  #profileOverlay.open ~ #profileToggleBtn,
  #profileOverlay.open ~ #radialMenuBtn {
    opacity: 0;
    pointer-events: none;
  }

  .vote-stats-summary {
    grid-template-columns: 1fr;
  }
}

/* ===== Expandable Bill Analytics ===== */
.vote-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.expand-btn {
  background: linear-gradient(135deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(79, 70, 229, 0.4) 100%);
  border: 2px solid rgba(102, 126, 234, 0.4);
  border-radius: 6px;
  color: white;
  padding: 6px 12px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.expand-btn:hover {
  background: linear-gradient(135deg,
    rgba(102, 126, 234, 0.5) 0%,
    rgba(79, 70, 229, 0.6) 100%);
  border-color: rgba(102, 126, 234, 0.6);
  transform: scale(1.05);
}

.expand-icon {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.bill-analytics {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid rgba(102, 126, 234, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.analytics-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(102, 126, 234, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.analytics-content {
  padding: 10px 0;
}

.analytics-content h4 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.analytics-card {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.analytics-card:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.analytics-card.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.2);
  border-style: dashed;
}

.analytics-card.empty p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
  text-align: center;
}

.analytics-card h5 {
  margin: 0 0 15px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.vote-graph {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.vote-bar-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vote-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.8);
}

.vote-bar-track {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.vote-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.vote-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.vote-total {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  margin: 0;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.analytics-error {
  padding: 20px;
  text-align: center;
  color: #f56565;
}

@media (max-width: 1024px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Emote Menu ===== */
.emote-menu {
  position: fixed;
  top: 60px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg,
    rgba(30, 41, 59, 0.98) 0%,
    rgba(15, 23, 42, 0.98) 100%);
  padding: 12px;
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  z-index: 799; /* Below profile overlay */
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.emote-menu.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.emote-btn {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 10px;
  background: linear-gradient(135deg,
    rgba(51, 65, 85, 0.8) 0%,
    rgba(30, 41, 59, 0.9) 100%);
  font-size: 1.5em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.emote-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.emote-btn:hover {
  border-color: rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg,
    rgba(102, 126, 234, 0.4) 0%,
    rgba(79, 70, 229, 0.5) 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.emote-btn:hover::before {
  width: 100%;
  height: 100%;
}

.emote-btn:active {
  transform: scale(0.95);
}

.emote-btn[title]::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 15px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.emote-btn:hover::after {
  opacity: 1;
}

/* ===== Profile Picture Upload Styles ===== */

.profile-picture-upload {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.profile-picture-preview {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.profile-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(102, 126, 234, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-pic-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(79, 70, 229, 0.3));
  border: 4px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
}

.profile-picture-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-pic-btn,
.remove-pic-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1em;
}

.upload-pic-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.upload-pic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.remove-pic-btn {
  background: rgba(255, 75, 75, 0.8);
  color: white;
}

.remove-pic-btn:hover {
  background: rgba(255, 75, 75, 1);
  transform: translateY(-2px);
}

/* Update avatar-placeholder in View tab */
.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(79, 70, 229, 0.6));
  color: white;
  font-size: 3em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


/* ===== Articles Tab Styles (Overlay) ===== */

.articles-overlay-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.articles-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.articles-overlay-header h2 {
  color: white;
  margin: 0 0 5px 0;
  font-size: 1.8em;
}

.create-article-btn-overlay {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.create-article-btn-overlay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.article-feed-overlay {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Modal overlay styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.article-modal-overlay {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.98), rgba(42, 82, 152, 0.98));
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.article-modal-overlay *,
.article-modal-overlay *::before,
.article-modal-overlay *::after {
  box-sizing: border-box;
}

.article-modal-overlay .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.article-modal-overlay h2 {
  margin: 0;
  color: white;
}

.article-modal-overlay .close-modal {
  background: none;
  border: none;
  font-size: 2em;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.article-modal-overlay .close-modal:hover {
  color: white;
}

.article-modal-overlay .form-group {
  margin-bottom: 20px;
}

.article-modal-overlay label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
}

.article-modal-overlay input[type="text"],
.article-modal-overlay input[type="file"],
.article-modal-overlay textarea,
.article-modal-overlay select {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-size: 1em;
  transition: border-color 0.2s;
}

.article-modal-overlay input:focus,
.article-modal-overlay textarea:focus,
.article-modal-overlay select:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.15);
}

.article-modal-overlay small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
}

.poll-options-container {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Poll container labels need to be visible */
.poll-options-container label {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.poll-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.poll-option-input {
  display: flex;
  gap: 8px;
}

.poll-option-input input {
  flex: 1;
}

.remove-option-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 75, 75, 0.6);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background 0.2s;
}

.remove-option-btn:hover {
  background: rgba(255, 75, 75, 0.9);
}

.add-option-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.add-option-btn:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.2);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.image-preview {
  margin-top: 12px;
  text-align: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: white;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ===== Calendar Styles ===== */

.calendar-container {
  max-width: 900px;
  margin: 0 auto;
}

.calendar-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.calendar-section h4 {
  color: #667eea;
  margin: 0 0 15px 0;
  font-size: 1.2em;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 15px;
  border-left: 4px solid #667eea;
  transition: all 0.2s ease;
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.event-card.event-past {
  opacity: 0.5;
}

.event-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.event-type-icon {
  font-size: 1.5em;
}

.event-title {
  flex: 1;
  font-weight: 600;
  color: white;
  font-size: 1.1em;
}

.event-actions {
  display: flex;
  gap: 5px;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1em;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.event-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
  margin-bottom: 8px;
}

.event-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85em;
  margin-bottom: 6px;
}

.event-link {
  margin-bottom: 8px;
}

.event-link a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.2s;
}

.event-link a:hover {
  color: #8fa4f3;
  text-decoration: underline;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.event-tag {
  background: rgba(102, 126, 234, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75em;
}

/* Event Form */
.event-form {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.event-form h5 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .event-header {
    flex-wrap: wrap;
  }

  .event-title {
    order: 1;
    flex-basis: calc(100% - 50px);
  }

  .event-actions {
    order: 2;
  }
}

/* ===== View Toggle ===== */
.view-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.view-btn {
  padding: 10px 20px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.view-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.5);
  color: white;
}

.view-btn.active {
  background: rgba(102, 126, 234, 0.3);
  border-color: #667eea;
  color: white;
}

/* ===== Calendar Grid ===== */
.calendar-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.calendar-grid-header h4 {
  margin: 0;
  color: white;
  font-size: 1.2em;
}

.month-nav-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  background: rgba(102, 126, 234, 0.3);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.month-nav-btn:hover {
  background: rgba(102, 126, 234, 0.5);
  transform: scale(1.05);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 10px;
}

.calendar-day-header {
  text-align: center;
  padding: 10px 5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.85em;
}

.calendar-day {
  aspect-ratio: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 60px;
}

.calendar-day:hover {
  background: rgba(102, 126, 234, 0.2);
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.today {
  background: rgba(102, 126, 234, 0.3);
  border: 2px solid #667eea;
}

.calendar-day.has-events {
  background: rgba(255, 255, 255, 0.08);
}

.day-number {
  font-size: 0.9em;
  font-weight: 500;
  color: white;
}

.event-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: auto;
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #667eea;
}

.event-more {
  font-size: 0.65em;
  color: rgba(255, 255, 255, 0.7);
  padding: 1px 3px;
}

.selected-day-events {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.selected-day-events h5 {
  color: #667eea;
  margin: 0 0 15px 0;
}

/* ===== Recurring Event Form ===== */
.day-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.day-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
}

.day-checkbox:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.day-checkbox:has(input:checked) {
  background: rgba(102, 126, 234, 0.3);
  border-color: #667eea;
  color: white;
}

.day-checkbox input {
  width: auto;
  margin: 0;
}

.recurrence-preview {
  margin-top: 15px;
  padding: 12px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

/* Series Badge */
.series-badge {
  margin-left: 8px;
  font-size: 0.8em;
}

@media (max-width: 768px) {
  .calendar-grid {
    gap: 3px;
    padding: 5px;
  }

  .calendar-day {
    padding: 5px;
    min-height: 50px;
  }

  .day-number {
    font-size: 0.8em;
  }

  .event-dot {
    width: 6px;
    height: 6px;
  }

  .day-checkboxes {
    gap: 5px;
  }

  .day-checkbox {
    padding: 6px 10px;
    font-size: 0.85em;
  }
}

/* Claude Bot Events Overlay */
.claude-events-overlay {
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 320px;
  max-height: 400px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(51, 65, 85, 0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(102, 126, 234, 0.2);
  z-index: 1000;
  overflow: hidden;
  animation: slideUpFade 0.3s ease-out;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.claude-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(102, 126, 234, 0.15);
  border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

.claude-events-header h3 {
  margin: 0;
  font-size: 1em;
  color: white;
  font-weight: 600;
}

.claude-events-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 1.2em;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.claude-events-close:hover {
  color: white;
}

.claude-events-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
}

.claude-event-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 3px solid;
  transition: background 0.2s;
}

.claude-event-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.claude-event-item:last-child {
  margin-bottom: 0;
}

/* Event type colors */
.claude-event-item[data-type="town_hall"] {
  border-left-color: #667eea;
}

.claude-event-item[data-type="committee"] {
  border-left-color: #f59e0b;
}

.claude-event-item[data-type="workshop"] {
  border-left-color: #10b981;
}

.claude-event-item[data-type="deadline"] {
  border-left-color: #ef4444;
}

.claude-event-item[data-type="other"] {
  border-left-color: #8b5cf6;
}

.claude-event-title {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  font-size: 0.95em;
}

.claude-event-time {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

.claude-event-priority {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7em;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 8px;
}

.claude-event-priority.high {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.claude-event-priority.medium {
  background: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.claude-events-empty {
  padding: 30px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .claude-events-overlay {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    bottom: 100px;
  }
}

/* Claude Auto-Posting Section */
.claude-posting-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.claude-posting-section h4 {
  margin: 0 0 10px 0;
  color: white;
}

.claude-preview-card {
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.4);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.claude-preview-card .preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-badge {
  background: rgba(102, 126, 234, 0.3);
  color: #a5b4fc;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 600;
}

.preview-time {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
}

.claude-preview-card .preview-content {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 0.95em;
  line-height: 1.5;
  min-height: 80px;
  white-space: pre-wrap;
  outline: none;
}

.claude-preview-card .preview-content:focus {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5);
}

.preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}

.btn-danger-small,
.btn-secondary-small,
.btn-primary-small {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger-small {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.btn-danger-small:hover {
  background: rgba(239, 68, 68, 0.4);
}

.btn-secondary-small {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.btn-secondary-small:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-primary-small {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Manual Trigger Section */
.manual-trigger-section {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.manual-trigger-section label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
}

.content-type-select {
  flex: 1;
  min-width: 180px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.9em;
}

.content-type-select option {
  background: #1e293b;
  color: white;
}

/* Recent Posts Section */
.recent-posts-section {
  margin-top: 15px;
}

.recent-posts-section h5 {
  margin: 0 0 10px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
}

.recent-posts-list {
  max-height: 250px;
  overflow-y: auto;
}

.recent-post-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 3px solid transparent;
}

.recent-post-item.posted {
  border-left-color: #10b981;
}

.recent-post-item.preview {
  border-left-color: #667eea;
}

.recent-post-item.cancelled {
  border-left-color: #6b7280;
}

.recent-post-item.failed {
  border-left-color: #ef4444;
}

.post-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.post-type {
  text-transform: capitalize;
  font-weight: 600;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9);
}

.status-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: 600;
}

.status-badge.posted {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.status-badge.preview {
  background: rgba(102, 126, 234, 0.2);
  color: #a5b4fc;
}

.status-badge.cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}

.status-badge.failed {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.post-item-content {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  line-height: 1.4;
  margin-bottom: 6px;
}

.post-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
}

.post-date {
  color: rgba(255, 255, 255, 0.5);
}

.post-item-footer a {
  color: #667eea;
  text-decoration: none;
}

.post-item-footer a:hover {
  text-decoration: underline;
}

.post-error {
  cursor: help;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

/* Timing Settings */
.timing-settings-section {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.timing-settings-section h5 {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

.timing-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timing-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timing-row label {
  min-width: 120px;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

.timing-row select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.85em;
}

/* Post Countdown */
.post-countdown {
  margin-top: 15px;
  padding: 10px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  font-size: 0.85em;
}

.countdown-info {
  display: flex;
  gap: 8px;
  align-items: center;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.7);
}

.countdown-time {
  color: #667eea;
  font-weight: 600;
}

.countdown-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
}

.timezone-info {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8em;
}

/* Upcoming Events */
.upcoming-events-section {
  margin-bottom: 15px;
}

.upcoming-events-section h5 {
  margin: 0 0 10px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
}

.upcoming-events-list {
  max-height: 300px;
  overflow-y: auto;
}

.upcoming-event-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.event-title {
  font-weight: 600;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9);
}

.event-details {
  margin-bottom: 8px;
}

.event-date {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.5);
}

.event-actions {
  display: flex;
  gap: 8px;
}

.event-action-btn {
  padding: 4px 10px;
  border-radius: 4px;
  border: none;
  font-size: 0.75em;
  cursor: pointer;
  transition: all 0.2s;
}

.event-action-btn.generate {
  background: rgba(102, 126, 234, 0.3);
  color: #a5b4fc;
}

.event-action-btn.generate:hover {
  background: rgba(102, 126, 234, 0.5);
}

.event-action-btn.skip {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.event-action-btn.skip:hover {
  background: rgba(239, 68, 68, 0.4);
}

/* ===== Cartoon Submissions Review ===== */
.cartoon-submissions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.cartoon-submission-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.cartoon-submission-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
}

.cartoon-submission-item.selected {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.5);
}

.cartoon-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

.cartoon-thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cartoon-thumbnail:hover {
  transform: scale(1.1);
}

.cartoon-info {
  flex: 1;
  min-width: 0;
}

.cartoon-title {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cartoon-filename {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.cartoon-filename:hover {
  color: #667eea;
  text-decoration: underline;
}

.cartoon-submitter {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.5);
}

.cartoon-submitter strong {
  color: rgba(255, 255, 255, 0.8);
}

.cartoon-date {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.4);
}

.cartoon-actions {
  display: flex;
  gap: 6px;
}

.cartoon-action-btn {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  font-size: 0.75em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cartoon-action-btn.approve {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.cartoon-action-btn.approve:hover {
  background: rgba(16, 185, 129, 0.4);
}

.cartoon-action-btn.feature {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.cartoon-action-btn.feature:hover {
  background: rgba(245, 158, 11, 0.4);
}

.cartoon-action-btn.reject {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.cartoon-action-btn.reject:hover {
  background: rgba(239, 68, 68, 0.4);
}

/* ===== Radial Menu Notifications ===== */
.radial-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: rgba(30, 41, 59, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10001;
}

.radial-notifications.show {
  display: flex;
}

.notifications-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: rgba(102, 126, 234, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notifications-icon {
  font-size: 1.2em;
}

.notifications-title {
  flex: 1;
  font-weight: 600;
  color: white;
  font-size: 0.9em;
}

.notifications-count {
  background: #ef4444;
  color: white;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.notifications-count.zero {
  background: rgba(255, 255, 255, 0.2);
}

.notifications-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.notification-item {
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #667eea;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.notification-item.unread {
  background: rgba(102, 126, 234, 0.1);
}

.notification-item.unread .notification-title {
  font-weight: 600;
}

.notification-title {
  color: white;
  font-size: 0.85em;
  margin-bottom: 4px;
}

.notification-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75em;
  line-height: 1.4;
}

.notification-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65em;
  margin-top: 4px;
}

.no-notifications {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
}

/* Notification badge on menu button */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 0.6em;
  padding: 2px 5px;
  border-radius: 10px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

