/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors - Light mode */
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-input: #f8f9fb;
  --bg-header: rgba(255, 255, 255, 0.72);
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --border-color: rgba(100, 100, 180, 0.2);
  --border-input: rgba(100, 100, 180, 0.2);
  --accent: #6C63FF;
  --accent-hover: #5a52e0;
  --accent-light: rgba(108, 99, 255, 0.1);
  --accent-glow: rgba(108, 99, 255, 0.25);
  --gradient-start: #6C63FF;
  --gradient-end: #3B82F6;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(108, 99, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Social colors */
  --color-facebook: #1877F2;
  --color-instagram: #E4405F;
  --color-linkedin: #0A66C2;
  --color-tiktok: #000000;
  --color-x: #1DA1F2;
  --color-youtube: #FF0000;
}

[data-theme="dark"] {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(30, 30, 55, 0.85);
  --bg-card-solid: #1e1e37;
  --bg-input: #16162b;
  --bg-header: rgba(15, 15, 26, 0.85);
  --text-primary: #f3f4f6;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-color: rgba(140, 140, 220, 0.2);
  --border-input: rgba(140, 140, 220, 0.25);
  --accent-light: rgba(108, 99, 255, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.2);
  --color-tiktok: #ffffff;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle::after {
  transform: translateX(24px);
}

.theme-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  z-index: 1;
}

.theme-toggle-icon.sun {
  left: 6px;
}

.theme-toggle-icon.moon {
  right: 6px;
}

/* ===== MAIN LAYOUT ===== */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CARD / SECTION ===== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card+.card {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title .icon {
  font-size: 1.4rem;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Checkbox Grid for Social Networks */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 2px solid var(--border-input);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.checkbox-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.checkbox-card input {
  display: none;
}

.checkbox-card input:checked+.checkbox-card-inner {
  /* This ruleset was empty and has been removed to avoid lint warnings */
}

.checkbox-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.checkbox-card .social-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.checkbox-card .social-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.checkbox-card .check-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
}

.checkbox-card.active .check-mark {
  display: flex;
}

/* Objectives grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.objective-card {
  padding: 0.65rem 1rem;
  background: var(--bg-input);
  border: 2px solid var(--border-input);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  user-select: none;
}

.objective-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.objective-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

/* Select */
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 2px solid var(--border-input);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236C63FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

option {
  background-color: var(--bg-input);
  color: var(--text-primary);
}

/* Range Slider */
.range-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border-input);
  outline: none;
  transition: all var(--transition);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
  transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
}

.range-value {
  min-width: 80px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

/* ===== GENERATE BUTTON ===== */
.btn-generate {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
  margin-top: 1rem;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

.btn-generate:active {
  transform: translateY(0);
}

.btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===== EXPORT BUTTONS ===== */
.export-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-export:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-export .export-icon {
  font-size: 1rem;
}

/* ===== RESULTS SECTION ===== */
#results-section {
  display: none;
  margin-top: 2rem;
}

#results-section.visible {
  display: block;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== VISUAL CALENDAR ===== */
.visual-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.visual-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.visual-card-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-card-network {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.visual-card-type {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.visual-card-summary {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.4rem;
  min-height: 2.4em;
}

.visual-card-target {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Editable fields */
.editable {
  cursor: text;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all var(--transition);
  outline: none;
}

.editable:hover {
  background: var(--accent-light);
}

.editable:focus {
  background: var(--accent-light);
  box-shadow: 0 0 0 2px var(--accent);
}

/* ===== COMPLETE CALENDAR TABLE ===== */
.calendar-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.calendar-table thead {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
}

.calendar-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.calendar-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.calendar-table tbody tr {
  transition: background var(--transition);
}

.calendar-table tbody tr:hover {
  background: var(--accent-light);
}

.calendar-table tbody tr:last-child td {
  border-bottom: none;
}

.table-network-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.table-type-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
}

.table-hashtags {
  font-size: 0.75rem;
  color: var(--accent);
  word-break: break-word;
}

/* Cell editable in table */
.calendar-table td .editable {
  display: block;
  width: 100%;
  min-height: 1.2em;
}

/* ===== LOADING ANIMATION ===== */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-spinner .dots {
  display: flex;
  gap: 0.5rem;
}

.loading-spinner .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-spinner .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-spinner .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.loading-spinner p {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .main {
    padding: 1rem 1rem 3rem;
  }

  .card {
    padding: 1.25rem;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-calendar {
    grid-template-columns: 1fr;
  }

  .export-bar {
    flex-direction: column;
  }

  .btn-export {
    width: 100%;
    justify-content: center;
  }
}

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

  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .header-link span {
    display: none;
  }
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== DATE PICKER ===== */
.date-range-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 140px;
}

.date-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-date {
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 2px solid var(--border-input);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all var(--transition);
  width: 100%;
}

.form-date:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.date-separator {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: 1.2rem;
}

@media (max-width: 768px) {
  .date-range-container {
    flex-direction: column;
    align-items: stretch;
  }

  .date-separator {
    text-align: center;
    padding-top: 0;
  }
}
/* Extracted from index.html */

.grimont-global-header {
    width: 100%;
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.85); /* Slightly darker for better readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* slightly stronger border */
    padding: 14px 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #e2e8f0;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.grimont-global-header * {
    box-sizing: border-box;
}
.grimont-global-header .ggh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ggh-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ggh-logo-group {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.ggh-logo-group:hover {
    transform: scale(1.02);
}
.ggh-logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}
.ggh-logo-text {
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.05em;
    display: none;
}
.ggh-logo-text span {
    color: #00f2ff;
}
@media (min-width: 640px) {
    .ggh-logo-text { display: block; }
}
.ggh-separator {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: none;
}
@media (min-width: 768px) {
    .ggh-separator { display: block; }
}
.ggh-app-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ggh-app-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.ggh-app-icon-container {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fb923c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.ggh-app-name {
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
    margin: 0;
    padding: 0;
    letter-spacing: 0.02em;
}
.ggh-app-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    max-width: 600px;
    display: none;
    margin: 4px 0 0 0;
    padding: 0;
    line-height: 1.4;
    font-weight: 300;
}
@media (min-width: 1024px) {
    .ggh-app-desc { display: block; }
}
.ggh-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ggh-right button {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.ggh-right button:hover {
    background: rgba(30, 41, 59, 1) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* ===== STRATEGIC ANALYSIS SECTION ===== */
.strategic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.strategic-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.strategic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.strategic-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.strategic-card-content {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.strategic-card-content ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.strategic-card-content li {
  margin-bottom: 0.4rem;
}

.strategic-card-content p {
  margin-bottom: 0.8rem;
}

.strategic-card-content p:last-child {
  margin-bottom: 0;
}

.source-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.source-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}

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

.source-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  word-break: break-all;
}

.source-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.source-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}


