/* ============================================================
   FEELTECH SOLUÇÕES — DESIGN SYSTEM
   Gold/Bronze Premium · Dark & Light Mode
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* ---- Paleta primária: Dourado FeelTech ---- */
  --primary-h: 38;
  --primary-s: 58%;
  --primary-l: 52%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-dark: hsl(var(--primary-h), var(--primary-s), 36%);
  --primary-light: hsl(var(--primary-h), 70%, 72%);
  --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.30);

  /* Secundária: bronze âmbar */
  --secondary-h: 30;
  --secondary: hsl(var(--secondary-h), 55%, 42%);

  /* Neutros — escuro (padrão) */
  --bg-deep: #07060A;
  --bg-dark: #0f0e13;
  --bg-card: rgba(20, 17, 12, 0.72);
  --bg-hover: rgba(184, 145, 74, 0.07);

  --text-main: #F5EDD8;
  --text-dim: #C4B89A;
  --text-muted: #8A7A60;

  /* Status */
  --success: #3dd68c;
  --warning: #ffca28;
  --danger: #ff5252;
  --info: #00bcd4;

  /* Bordas & Glass */
  --border-subtle: rgba(184, 145, 74, 0.10);
  --border-main:   rgba(184, 145, 74, 0.20);
  --border-glow:   hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);

  --glass-blur: blur(14px);
  --glass-bg: rgba(10, 8, 5, 0.80);

  /* Sombras */
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.18), 0 2px 4px -1px rgba(0,0,0,0.10);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.30), 0 4px 6px -2px rgba(0,0,0,0.18);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.45), 0 10px 10px -5px rgba(0,0,0,0.20);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transições e Físicas de Mola (Anti-IA) */
  --trans-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --spring-bouncy: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --spring-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Aliases de compatibilidade */
  --accent: var(--primary);
  --accent-2: var(--secondary);
  --accent-glow: var(--primary-glow);
  --bg: var(--bg-deep);
  --bg-1: rgba(0, 0, 0, 0.28);
  --bg-2: rgba(184, 145, 74, 0.05);
  --text: var(--text-main);
  --border: var(--border-subtle);
  --border-md: var(--border-main);
  --border-lg: rgba(184, 145, 74, 0.30);
  --glass: var(--glass-blur);
  --font: var(--font-sans);
  --mono: var(--font-mono);
  --green: var(--success);
  --red: var(--danger);
  --yellow: var(--warning);
}

/* ======= MODO CLARO ======= */
[data-theme="light"] {
  --primary-h: 38;
  --primary-s: 58%;
  --primary-l: 38%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-dark: hsl(var(--primary-h), var(--primary-s), 26%);
  --primary-light: hsl(var(--primary-h), 55%, 55%);
  --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.22);

  --secondary-h: 30;
  --secondary: hsl(var(--secondary-h), 45%, 35%);

  /* Neutros — claro */
  --bg-deep: #F8F3EA;
  --bg-dark: #EDE5D6;
  --bg-card: rgba(255, 252, 245, 0.94);
  --bg-hover: rgba(184, 145, 74, 0.09);

  --text-main: #1A1408;
  --text-dim:  #4A3B20;
  --text-muted: #8B7355;

  /* Status — mantidos */
  --success: #27a864;
  --warning: #d4950a;
  --danger: #d93025;
  --info: #0097a7;

  /* Bordas & Glass */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-main:   rgba(0, 0, 0, 0.15);
  --border-glow:   hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);

  --glass-blur: blur(14px);
  --glass-bg: rgba(255, 250, 240, 0.88);

  /* Sombras */
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.11), 0 4px 6px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.16), 0 10px 10px -5px rgba(0,0,0,0.07);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Aliases */
  --accent: var(--primary);
  --accent-2: var(--secondary);
  --accent-glow: var(--primary-glow);
  --bg: var(--bg-deep);
  --bg-1: rgba(0, 0, 0, 0.05);
  --bg-2: rgba(184, 145, 74, 0.07);
  --text: var(--text-main);
  --border: var(--border-subtle);
  --border-md: var(--border-main);
  --border-lg: rgba(0,0,0,0.20);
  --glass: var(--glass-blur);
  --font: var(--font-sans);
  --mono: var(--font-mono);
  --green: var(--success);
  --red: var(--danger);
  --yellow: var(--warning);
}

/* Scrollbar light mode */
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-dark); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); }
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea { color-scheme: light; }
[data-theme="light"] select option { background-color: #fff8ee; color: #1A1408; }

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: var(--trans-base);
}

input,
select,
textarea {
  font-family: inherit;
  color-scheme: dark;
}

select option {
  background-color: #1A130A; /* Bronze escuro — fallback */
  color: var(--text-main);
}

/* ============================================================
   UTILITIES
============================================================ */
.glass-premium {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-main);
  box-shadow: var(--shadow-md);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 55%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-premium {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--trans-base);
  backdrop-filter: var(--glass-blur);
}

.card-premium:hover {
  border-color: var(--primary-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 255, 255, 0.02);
}

/* ============================================================
   COMPONENTS
============================================================ */

/* Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: var(--trans-base);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 12px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary);
}

/* Inputs */
.input-premium,
.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  transition: var(--trans-base);
  outline: none;
  font-size: 0.9rem;
}

.input-premium:focus,
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(0, 0, 0, 0.6);
}

/* ============================================================
   LAYOUT PARTS
============================================================ */

/* Animated Background */
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  animation: orbit 20s infinite linear;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -150px;
  right: -50px;
  animation-delay: -5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translate(50px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translate(50px) rotate(-360deg);
  }
}

/* ============================================================
   SIDEBAR & LAYOUT
============================================================ */
:root {
  --sidebar-width: 250px;
  --sidebar-collapsed-width: 80px;
}

body {
  /* Give space for the fixed sidebar on non-workspace native loads */
  padding-left: var(--sidebar-width);
  transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-collapsed {
  padding-left: var(--sidebar-collapsed-width);
}

.workspace-active {
  padding-left: 0 !important; /* Workspace container itself manages layout */
}

.sidebar-layout {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 10000;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
  overflow-x: hidden;
  white-space: nowrap;
}

body.sidebar-collapsed .sidebar-layout {
  width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar-layout:hover {
  width: var(--sidebar-width);
  box-shadow: 10px 0 30px rgba(0,0,0,0.6);
  border-right-color: var(--primary);
}

body.sidebar-collapsed .sidebar-layout:not(:hover) .nav-section-title,
body.sidebar-collapsed .sidebar-layout:not(:hover) .nav-text,
body.sidebar-collapsed .sidebar-layout:not(:hover) .logo-text,
body.sidebar-collapsed .sidebar-layout:not(:hover) .user-chip {
  opacity: 0;
  visibility: hidden;
}

.sidebar-layout .nav-section-title,
.sidebar-layout .nav-text,
.sidebar-layout .logo-text,
.sidebar-layout .user-chip {
  transition: opacity 0.2s ease, visibility 0.2s;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.logo-hexagon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--bg-card), #000);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--trans-base);
  flex-shrink: 0;
}

.logo-hexagon:hover {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.logo-hexagon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.logo-text h1 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* Navigation Links Vertical Stack */
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hide scrollbar for main-nav */
.main-nav::-webkit-scrollbar {
  width: 4px;
}
.main-nav::-webkit-scrollbar-track { background: transparent; }
.main-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-section-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 0 0.85rem;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.nav-link {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: var(--trans-fast);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link svg {
  flex-shrink: 0;
  color: inherit;
}

.nav-link:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.nav-link.active {
  color: var(--primary);
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
  border-color: rgba(79, 156, 249, 0.2);
  font-weight: 600;
}

.nav-link.nav-admin { color: var(--primary); }
.nav-link.nav-warning { color: var(--warning); }
.nav-link.nav-docs { color: var(--warning); opacity: 0.85; }
.nav-link.nav-donate {
  color: #ff6b6b;
  font-weight: 600;
}
.nav-link.nav-login {
  color: var(--primary);
  font-weight: 600;
  border: 1px solid var(--primary);
}
.nav-link.nav-login:hover {
  background: var(--primary);
  color: #000;
}

/* User chip block at bottom */
.bottom-actions {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.user-chip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.premium-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  opacity: 0.9;
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.user-logout {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--trans-fast);
}

.user-logout:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(255, 82, 82, 0.08);
}

/* Floating Reveal Pill (Removed for sidebar architecture, kept classes so HTML doesn't break if unused) */
.nav-reveal-pill { display: none !important; }

/* Hamburger (Mobile Top Bar substitute when sidebar is hidden) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 8px;
  z-index: 1002;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Legacy nav-button compatibility (calendario, chamados pages) */
.nav-button {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: var(--trans-fast);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
}

.nav-button:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.nav-button.active {
  color: var(--primary);
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
}

.nav-button .button-bg { display: none; /* Remove old background spans */ }

.donate-btn { color: #ff6b6b !important; }


/* ============================================================
   TABLE STYLES
============================================================ */
.table-premium-container {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.table-premium {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table-premium th {
  padding: 1.25rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-main);
}

.table-premium td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.table-premium tr:hover td {
  background: var(--bg-hover);
  color: var(--text-main);
}

/* ============================================================
   FOOTER
============================================================ */
.main-footer {
  margin-top: 5rem;
  padding: 4rem 0 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-main);
  border-radius: 10px;
}

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

/* ============================================================
   MOBILE RESPONSIVENESS
============================================================ */
@media (max-width: 900px) {
  body {
    padding-left: 0; /* Clear padding on small screens */
  }

  .nav-hamburger {
    display: flex; /* Show hamburger button on mobile */
  }

  .sidebar-layout {
    transform: translateX(-100%);
  }

  .sidebar-layout.mobile-open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ============================================================
   LEGACY COMPATIBILITY & ADDITIONAL COMPONENTS
============================================================ */

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-md);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Modal System Extensions */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

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

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-main);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-hover);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--danger);
  background: rgba(255, 82, 82, 0.1);
}

/* Forms Premium */
.clean-form .form-group {
  margin-bottom: 1.25rem;
}

.clean-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.clean-form input,
.clean-form select,
.clean-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  transition: var(--trans-base);
  outline: none;
}

.clean-form input:focus,
.clean-form select:focus,
.clean-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.2);
  border-radius: 20px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pulse-dot {
  display: none; /* Removed — confundia com o cursor */
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Matrix (Subtle) */
#matrix {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
}

/* ============================================================
   ENHANCED COMPONENTS — Premium Futuristic
============================================================ */

/* Hero Section */
.hero-section {
  text-align: left;
  padding: 2.5rem 0;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1rem;
}

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

.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* Stats Section — glowing cards */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats-section .card-premium {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-section .card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Nav Buttons (Calendar page style) */
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.nav-button .button-bg {
  display: none;
}

.nav-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79, 156, 249, 0.08);
  transform: translateY(-1px);
}

.nav-button.active {
  background: rgba(79, 156, 249, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(79, 156, 249, 0.15);
}

.nav-button svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Button Variants */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: var(--trans-base);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-main);
  color: var(--text-main);
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border-main);
  background: rgba(79, 156, 249, 0.08);
  color: var(--primary);
  font-family: var(--font-sans);
}

.btn-sm:hover {
  background: rgba(79, 156, 249, 0.2);
  border-color: var(--primary);
}

.btn-activate {
  background: rgba(61, 214, 140, 0.08);
  color: var(--success);
  border-color: rgba(61, 214, 140, 0.25);
}

.btn-activate:hover {
  background: rgba(61, 214, 140, 0.2);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
}

.form-actions .btn-primary {
  flex: 1;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.form-actions .btn-secondary {
  flex: 1;
}

/* Clean Form / Modal */
.clean-form .form-group,
.clean-modal .form-group {
  padding: 0 2rem;
  margin-bottom: 1.25rem;
}

.clean-form .form-group:first-child,
.clean-modal .form-group:first-child {
  padding-top: 1.5rem;
}

.clean-form label,
.clean-modal label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.clean-form input,
.clean-form select,
.clean-form textarea,
.clean-modal input,
.clean-modal select,
.clean-modal textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  transition: var(--trans-base);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.clean-form input:focus,
.clean-form select:focus,
.clean-form textarea:focus,
.clean-modal input:focus,
.clean-modal select:focus,
.clean-modal textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* User Chip */
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  backdrop-filter: var(--glass-blur);
}

.user-chip span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

.user-chip button {
  padding: 5px 12px;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.25);
  border-radius: 6px;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.user-chip button:hover {
  background: rgba(255, 82, 82, 0.2);
}

.admin-badge {
  padding: 2px 8px;
  background: rgba(255, 202, 40, 0.1);
  border: 1px solid rgba(255, 202, 40, 0.3);
  border-radius: 4px;
  color: var(--warning);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(79, 156, 249, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

/* Empty Content State */
.empty-content {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.empty-content svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: block;
  opacity: 0.25;
}

/* Suggest Card */
.suggest-card {
  padding: 18px 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}

.suggest-card:hover {
  border-color: var(--border-md);
}

.suggest-type-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(124, 92, 191, 0.12);
  border: 1px solid rgba(124, 92, 191, 0.3);
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.suggest-json {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: 6px;
  line-height: 1.5;
}

/* Comment Cards */
.comment-card {
  padding: 16px 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  position: relative;
}

.comment-card.private {
  border-left: 3px solid var(--secondary);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Main Content Area */
.main-content {
  padding-top: 2rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - 72px);
}

/* Global Animations & Utilities */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.btn-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-tab:hover, .btn-tab.active {
  background: rgba(79, 156, 249, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-primary { background: rgba(79, 156, 249, 0.15); color: var(--primary); border: 1px solid rgba(79, 156, 249, 0.3); }
.badge-success { background: rgba(61, 214, 140, 0.15); color: var(--success); border: 1px solid rgba(61, 214, 140, 0.3); }
.badge-warning { background: rgba(240, 180, 41, 0.15); color: var(--warning); border: 1px solid rgba(240, 180, 41, 0.3); }
.badge-danger { background: rgba(224, 82, 82, 0.15); color: var(--danger); border: 1px solid rgba(224, 82, 82, 0.3); }

/* ============================================================
   MOBILE - Smart Header
============================================================ */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(24px);
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-left: 1px solid var(--border-main);
    overflow-y: auto;
    align-items: stretch;
  }

  .main-nav.nav-open {
    right: 0;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }

  .user-chip {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-reveal-pill {
    right: 16px;
  }
}

/* ============================================================
   ADMIN DROPDOWN - Version 3 (Clean & Precision)
============================================================ */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.825rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.nav-dropdown.active .dropdown-toggle {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.dropdown-toggle::after {
    content: '';
    width: 5px; height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -3px;
    opacity: 0.5;
}

.nav-dropdown.active .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #050508;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.02);
    display: none;
    flex-direction: column;
    z-index: 9999;
    animation: dropdownSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-dropdown.active .dropdown-menu { display: flex; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #d1d5db; /* Grey text for clean look */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item:hover svg { transform: scale(1.1) rotate(-5deg); }

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 12px;
}

/* Specific Highlight Colors for Icons only */
.icon-bi { color: #00ffff; }
.icon-import { color: #ff8a00; }
.icon-admin { color: #ffca28; }
.icon-users { color: #3dd68c; }
.icon-pass { color: #4f9cf9; }

@media (max-width: 1024px) {
    .nav-dropdown { width: 100%; display: block; }
    .dropdown-menu {
        position: static; width: 100%; box-shadow: none; border: none; background: rgba(0,0,0,0.2); margin-top: 5px;
    }
}

/* Glass-Primary Button Variation for BI Dashboard */
.btn-glass-primary {
    background: rgba(79, 156, 249, 0.1);
    border: 1px solid rgba(79, 156, 249, 0.3);
    color: var(--primary) !important;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    transition: all 0.3s;
}

.btn-glass-primary:hover {
    background: var(--primary);
    color: #000 !important;
    border-color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

/* ============================================================
   LIGHT MODE — Overrides para elementos hardcoded
============================================================ */

/* Sidebar */
[data-theme="light"] .sidebar-layout {
  background: rgba(248, 243, 234, 0.92);
  border-right-color: rgba(0, 0, 0, 0.10);
}
[data-theme="light"] body.sidebar-collapsed .sidebar-layout:hover {
  box-shadow: 10px 0 30px rgba(0,0,0,0.12);
}

/* Nav móvel */
[data-theme="light"] .main-nav {
  background: rgba(248, 243, 234, 0.98);
  border-left-color: rgba(0,0,0,0.10);
}

/* Dropdown Admin */
[data-theme="light"] .dropdown-menu {
  background: #F8F3EA;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.14);
}
[data-theme="light"] .dropdown-item { color: #4A3B20; }
[data-theme="light"] .dropdown-item:hover { background: rgba(184,145,74,0.10); color: #1A1408; border-color: rgba(184,145,74,0.15); }
[data-theme="light"] .dropdown-divider { background: rgba(0,0,0,0.08); }

/* Modal */
[data-theme="light"] .modal-overlay { background: rgba(0,0,0,0.35); }
[data-theme="light"] .modal-content { background: #FFFCF5; border-color: rgba(0,0,0,0.10); }

/* Table header (sticky) */
[data-theme="light"] .data-tbl thead th,
[data-theme="light"] .table-premium th {
  background: #EDE5D6 !important;
  color: var(--text-muted);
  border-bottom-color: rgba(0,0,0,0.12);
}
[data-theme="light"] .table-premium td {
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .table-premium tr:hover td {
  background: rgba(184,145,74,0.07);
}
[data-theme="light"] .data-tbl tbody td {
  border-bottom-color: rgba(0,0,0,0.04);
  color: var(--text-main);
}
[data-theme="light"] .data-tbl tbody tr:nth-child(even) td {
  background: rgba(0,0,0,0.025);
}
[data-theme="light"] .data-tbl tbody tr:hover td {
  background: rgba(184,145,74,0.07);
}

/* Inputs / forms */
[data-theme="light"] .input-premium,
[data-theme="light"] .form-control,
[data-theme="light"] .clean-form input,
[data-theme="light"] .clean-form select,
[data-theme="light"] .clean-form textarea,
[data-theme="light"] .clean-modal input,
[data-theme="light"] .clean-modal select,
[data-theme="light"] .clean-modal textarea {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.15);
  color: var(--text-main);
}
[data-theme="light"] .input-premium:focus,
[data-theme="light"] .form-control:focus { background: #fff; }

/* Badges inline hardcoded de azul → gold */
[data-theme="light"] .badge-primary { background: rgba(184,145,74,0.15); color: var(--primary); border-color: rgba(184,145,74,0.3); }
[data-theme="light"] .btn-glass-primary { background: rgba(184,145,74,0.10); border-color: rgba(184,145,74,0.30); }

/* Orbs de fundo */
[data-theme="light"] .animated-bg { background: var(--bg-deep); }
[data-theme="light"] .gradient-orb { opacity: 0.06; }

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-dark); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); }

/* Button outline no light */
[data-theme="light"] .btn-outline { background: rgba(0,0,0,0.03); color: var(--text-main); border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .btn-secondary { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.14); color: var(--text-main); }
[data-theme="light"] .nav-button { background: var(--bg-card); border-color: rgba(0,0,0,0.12); color: var(--text-dim); }
[data-theme="light"] .btn-tab { background: var(--bg-card); border-color: rgba(0,0,0,0.12); color: var(--text-dim); }

/* User chip light */
[data-theme="light"] .user-chip { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); }
[data-theme="light"] .user-logout { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); color: var(--text-muted); }

/* ============================================================
   ANTI-AI / HIGH-END KINETIC UTILITIES
============================================================ */

/* Asymmetry & Layout */
.offset-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (min-width: 1024px) {
  .offset-grid > *:nth-child(even) {
    transform: translateY(2rem); /* Assimetric vertical offset */
  }
}

.title-extreme {
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.95;
}

.subtitle-light {
  font-weight: 300;
  letter-spacing: 1px;
}

/* 3D Tilt — COMPLETAMENTE DESABILITADO */
.kinetic-card-wrapper {
  perspective: none;
  transform-style: flat;
}

.kinetic-card {
  transition: box-shadow 0.3s ease;
  will-change: auto;
  transform: none !important;
}

.kinetic-card:hover {
  z-index: 10;
}

/* Sidebar — sem 3D */
#window-container, .main-content {
  transition: none;
  transform: none !important;
  filter: none !important;
  will-change: auto;
}

/* Stagger entrance — apenas opacidade e translate Y simples */
.kinetic-stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ============================================================
   DOCUMENTATION UPDATE NOTIFICATION
============================================================ */
.update-notification-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100000;
    background: rgba(15, 12, 8, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary-glow);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--text-main);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 400px;
}

.update-icon {
    width: 40px;
    height: 40px;
    background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--primary-glow);
}

@keyframes slideInUp {
    from { transform: translateY(100%) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}