@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   LOGIN PAGE — Phobos Intranet — Premium 2025
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ── ROOT ─────────────────────────────────── */
.lp-root {
  min-height: 100dvh;
  display: flex;
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
}
/* ==============================================
   PAINEL ESQUERDO
   ============================================== */
.lp-left {
  flex: 0 0 48%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(160deg, #0c3d8a 0%, #0A4EA0 40%, #0d2966 100%);
}
/* logo — canto superior esquerdo, absolutamente posicionado */
.lp-logo-wrap {
  position: absolute;
  top: 36px;
  left: 44px;
  z-index: 3;
}
.lp-logo {
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
/* Gif preenche o painel como hero */
.lp-mascot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.lp-mascot__img {
  width: 72%;
  max-width: 400px;
  object-fit: contain;
  animation: lpFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.35));
  margin-top: 40px;
}
@keyframes lpFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}
/* Overlay gradiente no rodapé */
.lp-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 30, 80, 0.95) 0%, rgba(10, 30, 80, 0.6) 55%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
/* Conteúdo dentro do overlay */
.lp-welcome {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 44px 48px;
}
.lp-welcome__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-welcome__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}
.lp-welcome__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.lp-welcome__title em {
  font-style: normal;
  background: linear-gradient(90deg, #7eb8ff, #a5d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-welcome__sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.60);
  font-weight: 400;
  line-height: 1.5;
}
/* Pills de features no rodapé */
.lp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.lp-feature-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(4px);
}
.lp-feature-pill svg {
  flex-shrink: 0;
}
/* ==============================================
   PAINEL DIREITO
   ============================================== */
.lp-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 56px;
  background: #fff;
  gap: 24px;
  position: relative;
}
/* Logo acima do formulário */
.lp-right-logo {
  display: flex;
  justify-content: center;
  animation: lpCardIn 0.5s ease both;
}
.lp-right-logo__img {
  height: 60px;
  object-fit: contain;
}
/* Card */
.lp-card {
  width: 100%;
  max-width: 380px;
  animation: lpCardIn 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) 0.1s both;
}
.lp-card__head {
  margin-bottom: 32px;
}
.lp-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0A4EA0;
  background: #eef5ff;
  border: 1px solid #c7defa;
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lp-card__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.lp-card__sub {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}
/* ── Formulário ───────────────────────────── */
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}
.lp-field__input {
  height: 50px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8faff;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lp-field__input::placeholder {
  color: #b0bec5;
}
.lp-field__input:focus {
  border-color: #0A4EA0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.10);
}
.lp-field__input:disabled {
  opacity: 0.6;
}
.lp-field__pw {
  position: relative;
}
.lp-field__pw .lp-field__input {
  padding-right: 48px;
}
.lp-field__eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s;
}
.lp-field__eye:hover {
  color: #0A4EA0;
}
/* ── Botão Entrar ─────────────────────────── */
.lp-btn {
  height: 52px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1e6ecf 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(10, 78, 160, 0.30);
  margin-top: 6px;
}
.lp-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 78, 160, 0.38);
}
.lp-btn:active:not(:disabled) {
  transform: translateY(0);
}
.lp-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.lp-btn__spin {
  width: 18px;
  height: 18px;
  animation: lpSpin 0.8s linear infinite;
}
.lp-safe {
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 20px 0 0;
}
/* ── Badges ─────────────────────────────── */
.lp-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0A4EA0;
  background: #eef5ff;
  border: 1px solid #d4e5fa;
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}
/* ── Divisor ──────────────────────────────── */
.lp-faceid {
  margin-bottom: 4px;
}
.lp-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 4px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}
.lp-divider::before,
.lp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
/* ── Face ID Button ───────────────────────── */
.biometric-login-btn {
  width: 100%;
  height: 48px;
  border: 1.5px solid #0A4EA0;
  border-radius: 12px;
  background: #f0f7ff;
  color: #0A4EA0;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.biometric-login-btn:hover:not(:disabled) {
  background: #e0efff;
  box-shadow: 0 4px 14px rgba(10, 78, 160, 0.15);
  transform: translateY(-1px);
}
.biometric-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ── Quick Login ──────────────────────────── */
.lp-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.lp-quick__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.quick-login-user-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(160deg, #f0f7ff, #e8f0ff);
  border: 1.5px solid rgba(10, 78, 160, 0.12);
  border-radius: 20px;
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(10, 78, 160, 0.06);
}
.quick-login-user-card:active {
  transform: scale(0.97);
}
.quick-login-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4EA0, #003580);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.28);
}
.quick-login-user-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
}
.quick-login-faceid-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0A4EA0;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(10, 78, 160, 0.09);
  padding: 6px 16px;
  border-radius: 20px;
}
.lp-quick__switch {
  margin-top: 18px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.lp-quick__switch:hover {
  color: #0A4EA0;
}
/* ── Footer ───────────────────────────────── */
.lp-footer {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #b0bec5;
  z-index: 1;
}
/* ── Biometric Modal ──────────────────────── */
.biometric-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  animation: lpFade 0.25s ease;
}
.biometric-modal {
  background: #fff;
  border-radius: 24px 24px 20px 20px;
  padding: 32px 28px 36px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: lpSlideUp 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.biometric-modal__icon {
  margin-bottom: 16px;
}
.biometric-modal__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.biometric-modal__desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.5;
}
.biometric-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biometric-modal__btn {
  height: 52px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.biometric-modal__btn--primary {
  background: linear-gradient(135deg, #0A4EA0, #1e6ecf);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10, 78, 160, 0.28);
}
.biometric-modal__btn--primary:hover {
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.38);
}
.biometric-modal__btn--secondary {
  background: #f1f5f9;
  color: #64748b;
}
.biometric-modal__btn--secondary:hover {
  background: #e2e8f0;
}
.biometric-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(10, 78, 160, 0.2);
  border-top-color: #0A4EA0;
  border-radius: 50%;
  animation: lpSpin 0.7s linear infinite;
}
/* ── Animações ────────────────────────────── */
@keyframes lpCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes lpSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lpFade {
  from {
    opacity: 0;
  }

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Mobile welcome (escondido no desktop) ── */
.lp-mobile-welcome {
  display: none;
}
/* ── RESPONSIVO MOBILE ────────────────────── */
@media (max-width: 820px) {

  .lp-root {
    flex-direction: column;
    min-height: 100dvh;
    background: #f0f5ff;
  }

  /* Esconde o painel esquerdo inteiro no mobile */
  .lp-left {
    display: none;
  }

  /* Painel direito ocupa tudo */
  .lp-right {
    flex: 1;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 40px;
    background: #f0f5ff;
    gap: 0;
  }

  /* Logo centralizado */
  .lp-right-logo {
    margin-bottom: 16px;
  }

  .lp-right-logo__img {
    height: 56px;
  }

  /* Texto "Bem-vindo, colaborador" abaixo do logo */
  .lp-mobile-welcome {
    display: block;
    font-size: 1.375rem;
    font-weight: 400;
    color: #475569;
    text-align: center;
    margin: 0 0 28px;
    letter-spacing: -0.2px;
  }

  .lp-mobile-welcome strong {
    font-weight: 800;
    color: #0f172a;
  }

  /* Card */
  .lp-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px 22px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(10, 78, 160, 0.10);
    animation: lpCardIn 0.45s ease both;
  }

  .lp-field__input {
    height: 48px;
    font-size: 1rem;
  }

  .lp-btn {
    height: 52px;
    font-size: 1rem;
  }

  .lp-safe {
    margin-top: 14px;
  }

  .quick-login-user-card {
    padding: 22px 18px;
  }

  .quick-login-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Footer */
  .lp-footer {
    position: static;
    transform: none;
    color: #94a3b8;
    margin-top: auto;
    padding-top: 28px;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
  }
}/* ============================================
   PHOBOS PREMIUM DASHBOARD - WHITE SIDEBAR
   ============================================ */

:root {
  --ph-bg: #ffffff;
  --ph-bg-alt: #f8fafc;
  --ph-surface: rgba(10, 78, 160, 0.04);
  --ph-surface-hover: rgba(10, 78, 160, 0.07);
  --ph-surface-active: rgba(10, 78, 160, 0.1);
  --ph-border: #e8ecf1;
  --ph-text: #475569;
  --ph-text-muted: #94a3b8;
  --ph-text-dark: #1e293b;
  --ph-blue: #0A4EA0;
  --ph-blue-light: #1a6fd4;
  --ph-blue-glow: rgba(10, 78, 160, 0.25);
  --ph-cyan: #0891b2;
  --ph-danger: #ef4444;
  --ph-sidebar-w: 268px;
  --ph-sidebar-w-sm: 72px;
  --ph-header-h: 62px;
  --ph-radius: 10px;
  --ph-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- WRAPPER ---- */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f1f5f9;
}

/* ============================================
   SIDEBAR
   ============================================ */
.ph-sidebar {
  width: var(--ph-sidebar-w);
  background: var(--ph-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1000;
  transition: width 0.35s var(--ph-ease);
  overflow: hidden;
  border-right: 1px solid var(--ph-border);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.04);
}

.ph-sidebar--collapsed {
  width: var(--ph-sidebar-w-sm);
}

/* ============================================
   HEADER - Blue gradient with centered logo
   ============================================ */
.ph-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  min-height: var(--ph-header-h);
  background: linear-gradient(135deg, var(--ph-blue) 0%, #002b5e 100%);
  flex-shrink: 0;
  position: relative;
}

.ph-sidebar__logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ph-sidebar__logo-full {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.ph-sidebar__toggle {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  transition: all 0.25s var(--ph-ease);
  flex-shrink: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.ph-sidebar__toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ph-sidebar--collapsed .ph-sidebar__header {
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px;
}

.ph-sidebar--collapsed .ph-sidebar__toggle {
  position: static;
  transform: none;
}

/* ---- GLOW LINE ---- */
.ph-sidebar__glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--ph-blue) 30%, var(--ph-cyan) 50%, var(--ph-blue) 70%, transparent 100%);
  opacity: 0.6;
  flex-shrink: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.ph-sidebar__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}

.ph-sidebar__body::-webkit-scrollbar {
  width: 4px;
}

.ph-sidebar__body::-webkit-scrollbar-track {
  background: transparent;
}

.ph-sidebar__body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.ph-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- GROUP (SECTION) ---- */
.ph-nav__group {
  margin-top: 18px;
}

.ph-nav__group:first-child {
  margin-top: 4px;
}

.ph-nav__group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: var(--ph-radius);
  background: var(--ph-surface);
  color: var(--ph-blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all 0.25s var(--ph-ease);
  text-align: left;
  border-left: 3px solid transparent;
}

.ph-nav__group-btn:hover {
  background: var(--ph-surface-hover);
  border-left-color: rgba(10, 78, 160, 0.2);
}

.ph-nav__group-btn--open {
  border-left-color: var(--ph-blue);
  background: var(--ph-surface-hover);
}

.ph-nav__group-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(10, 78, 160, 0.08);
  color: var(--ph-blue);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ph-ease);
}

.ph-nav__group-btn:hover .ph-nav__group-icon,
.ph-nav__group-btn--open .ph-nav__group-icon {
  background: rgba(10, 78, 160, 0.14);
  box-shadow: 0 0 14px var(--ph-blue-glow);
  transform: scale(1.05);
}

.ph-nav__group-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-nav__group-arrow {
  font-size: 0.55rem;
  transition: transform 0.3s var(--ph-ease);
  flex-shrink: 0;
  opacity: 0.4;
  color: var(--ph-text);
}

.ph-nav__group-arrow--open {
  transform: rotate(0deg);
  opacity: 0.7;
}

.ph-nav__group-arrow:not(.ph-nav__group-arrow--open) {
  transform: rotate(-90deg);
}

/* Collapsed sections */
.ph-sidebar--collapsed .ph-nav__group-label,
.ph-sidebar--collapsed .ph-nav__group-arrow {
  display: none;
}

.ph-sidebar--collapsed .ph-nav__group-btn {
  justify-content: center;
  padding: 8px;
  border-left: none;
}

.ph-sidebar--collapsed .ph-nav__group {
  margin-top: 8px;
}

/* ---- NAV LINK ---- */
.ph-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 3px 0;
  border-radius: var(--ph-radius);
  color: var(--ph-text);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s var(--ph-ease);
  position: relative;
}

.ph-nav__link:hover {
  background: var(--ph-surface-hover);
  color: var(--ph-blue);
  transform: translateX(2px);
}

/* ---- ACTIVE ---- */
.ph-nav__link--active {
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.1), rgba(10, 78, 160, 0.05));
  color: var(--ph-blue);
  font-weight: 600;
  box-shadow: 0 2px 12px var(--ph-blue-glow);
}

.ph-nav__link--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ph-blue), var(--ph-blue-light));
  box-shadow: 0 0 10px var(--ph-blue-glow);
}

.ph-nav__link--child {
  padding-left: 22px;
  font-size: 0.84rem;
}

/* ---- ICON ---- */
.ph-nav__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(10, 78, 160, 0.05);
  color: var(--ph-text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ph-ease);
}

.ph-nav__icon i {
  font-size: 0.9rem;
  line-height: 1;
}

.ph-nav__link:hover .ph-nav__icon {
  background: rgba(10, 78, 160, 0.1);
  color: var(--ph-blue);
  transform: scale(1.05);
}

.ph-nav__link--active .ph-nav__icon {
  background: rgba(10, 78, 160, 0.15);
  color: var(--ph-blue);
  box-shadow: 0 0 12px var(--ph-blue-glow);
}

/* ---- LABEL ---- */
.ph-nav__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* ---- COLLAPSED NAV  ---- */
.ph-sidebar--collapsed .ph-nav__label {
  display: none;
}

.ph-sidebar--collapsed .ph-nav__link {
  justify-content: center;
  padding: 8px;
  gap: 0;
}

.ph-sidebar--collapsed .ph-nav__link--child {
  padding-left: 8px;
}

.ph-sidebar--collapsed .ph-nav__link--active::before {
  left: 50%;
  right: auto;
  top: auto;
  width: 16px;
  height: 3px;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
}

/* Tooltip on collapsed */
.ph-sidebar--collapsed .ph-nav__link[title] {
  position: relative;
}

.ph-sidebar--collapsed .ph-nav__link[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ph-text-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 1100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  animation: tooltipIn 0.15s ease;
}

@keyframes tooltipIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* ============================================
   FOOTER / USER
   ============================================ */
.ph-sidebar__footer {
  padding: 10px;
  border-top: 1px solid var(--ph-border);
  flex-shrink: 0;
  background: var(--ph-bg-alt);
}

.ph-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--ph-radius);
  cursor: pointer;
  transition: background 0.25s var(--ph-ease);
  position: relative;
}

.ph-user:hover {
  background: var(--ph-surface-hover);
}

.ph-user__avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ph-blue), #1a6fd4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px var(--ph-blue-glow);
}

.ph-user__info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ph-user__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ph-text-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-user__email {
  font-size: 0.72rem;
  color: var(--ph-text-muted);
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* collapsed footer */
.ph-sidebar--collapsed .ph-user__info {
  display: none;
}

.ph-sidebar--collapsed .ph-user {
  justify-content: center;
  padding: 10px;
}

/* user dropdown */
.ph-user__dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 4px;
  display: none;
  z-index: 1001;
}

.ph-user--open .ph-user__dropdown {
  display: block;
  animation: slideUp 0.2s ease;
}

.ph-user__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ph-text);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.2s;
}

.ph-user__dropdown-item:hover {
  background: var(--ph-surface-hover);
}

.ph-user__dropdown-item--danger {
  color: var(--ph-danger);
}

.ph-user__dropdown-item--danger:hover {
  background: rgba(239, 68, 68, 0.06);
}

/* Collapsed: hide text in dropdown */
.ph-sidebar--collapsed .ph-user__dropdown-item span,
.ph-sidebar--collapsed .ph-user__dropdown-text {
  display: none;
}

/* ============================================
   MAIN AREA
   ============================================ */
.dashboard-main {
  flex: 1;
  margin-left: var(--ph-sidebar-w);
  transition: margin-left 0.35s var(--ph-ease);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-main--collapsed {
  margin-left: var(--ph-sidebar-w-sm);
}

.dashboard-header {
  background: #fff;
  border-bottom: 1px solid var(--ph-border);
  padding: 0 24px;
  height: var(--ph-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  width: 340px;
}

.header-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  font-size: 0.84rem;
  background: var(--ph-bg-alt);
  transition: all 0.25s;
}

.header-search input:focus {
  outline: none;
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  background: #fff;
}

.header-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ph-text-muted);
  font-size: 0.85rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  pointer-events: none;
}

.header-logo {
  height: 32px;
  object-fit: contain;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--ph-radius);
  background: transparent;
  border: 1px solid var(--ph-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ph-text);
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
}

.header-icon-btn:hover {
  background: var(--ph-surface-hover);
  color: var(--ph-blue);
  border-color: rgba(10, 78, 160, 0.15);
}

.header-icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--ph-danger);
  border-radius: 10px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dashboard-content {
  flex: 1;
  min-width: 0;        /* CRITICAL: sem isso, flex:1 permite overflow em flexbox */
  overflow-x: hidden;  /* garante que nenhum filho estoure horizontalmente */
  padding: 24px;
  box-sizing: border-box;
}

/* ---- OVERLAY ---- */
.ph-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 999;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .ph-sidebar {
    transform: translateX(-100%);
    width: var(--ph-sidebar-w);
    box-shadow: none;
  }

  .ph-sidebar--mobile-open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.2);
  }

  .ph-sidebar--collapsed {
    width: var(--ph-sidebar-w);
  }

  .dashboard-main {
    margin-left: 0 !important;
  }

  .header-search {
    width: 200px;
  }

  .dashboard-content {
    padding: 16px;
  }

  .header-center {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header-search {
    display: none;
  }

  .dashboard-header {
    padding: 0 16px;
  }

  .dashboard-content {
    padding: 12px;
  }
}

/* ============================================
   SKELETON
   ============================================ */
.skeleton-loading {
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--ph-radius);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-logo {
  width: 140px;
  height: 34px;
  margin: 0 auto;
}

.skeleton-menu-item {
  height: 44px;
  margin: 4px 0;
}

.skeleton-search {
  width: 280px;
  height: 40px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--ph-radius);
}

.skeleton-card {
  height: 180px;
  margin: 12px;
}

/* ============================================
   HEADER NOTIFICATION BELL
   ============================================ */
.ph-bell-container {
  position: relative;
  display: flex;
}

.ph-notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  background: #fff;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-top: 10px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.2s ease;
  overflow: hidden;
}

.ph-notif-dropdown__header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ph-bg-alt);
}

.ph-notif-dropdown__header h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ph-text-dark);
}

.ph-notif-dropdown__clear {
  background: transparent;
  border: none;
  color: var(--ph-blue);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.ph-notif-dropdown__clear:hover {
  text-decoration: underline;
}

.ph-notif-dropdown__list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ph-notif-dropdown__empty {
  padding: 30px;
  text-align: center;
  color: var(--ph-text-muted);
  font-size: 0.85rem;
}

.ph-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ph-border);
  cursor: pointer;
  transition: background 0.2s;
}

.ph-notif-item:last-child {
  border-bottom: none;
}

.ph-notif-item:hover {
  background: var(--ph-surface-hover);
}

.ph-notif-item--unread {
  background: rgba(10, 78, 160, 0.03);
}

.ph-notif-item--unread .ph-notif-item__content p {
  font-weight: 600;
  color: var(--ph-text-dark);
}

.ph-notif-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 78, 160, 0.1);
  color: var(--ph-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.ph-notif-item__content {
  flex: 1;
}

.ph-notif-item__content p {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ph-text);
}

.ph-notif-item__content span {
  font-size: 0.7rem;
  color: var(--ph-text-muted);
}/* Admin Pages - Cards e Modais Modernos */

/* ============================================
   PREMIUM STAT CARDS
   ============================================ */

.premium-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.premium-stat-card:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Shimmer animation overlay */
.premium-stat-card__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 25%,
      rgba(255, 255, 255, 0.15) 50%,
      transparent 75%);
  background-size: 250% 100%;
  animation: statShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes statShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Icon circle */
.premium-stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.premium-stat-card:hover .premium-stat-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Content (value + label) */
.premium-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1;
}

.premium-stat-card__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  letter-spacing: -0.5px;
}

.premium-stat-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Background decoration icon */
.premium-stat-card__decoration {
  position: absolute;
  right: 1rem;
  bottom: -4px;
  font-size: 4rem;
  opacity: 0.1;
  color: white;
  pointer-events: none;
  transition: all 0.35s ease;
}

.premium-stat-card:hover .premium-stat-card__decoration {
  opacity: 0.18;
  transform: scale(1.1) rotate(8deg);
}

/* --- Variantes de cor --- */

/* Total */
.premium-stat-card--total {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 50%, #002b5e 100%);
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
}

.premium-stat-card--total:hover {
  box-shadow: 0 12px 32px rgba(10, 78, 160, 0.45);
}

/* Ativos */
.premium-stat-card--active {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.premium-stat-card--active:hover {
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.45);
}

/* Inativos */
.premium-stat-card--inactive {
  background: linear-gradient(135deg, #64748b 0%, #94a3b8 50%, #475569 100%);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.35);
}

.premium-stat-card--inactive:hover {
  box-shadow: 0 12px 32px rgba(100, 116, 139, 0.45);
}

/* Info (cyan) */
.premium-stat-card--info {
  background: linear-gradient(135deg, #0891b2 0%, #22d3ee 50%, #0e7490 100%);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
}

.premium-stat-card--info:hover {
  box-shadow: 0 12px 32px rgba(8, 145, 178, 0.45);
}

/* Danger (red) */
.premium-stat-card--danger {
  background: linear-gradient(135deg, #dc2626 0%, #f87171 50%, #b91c1c 100%);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.premium-stat-card--danger:hover {
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.45);
}

@media (max-width: 768px) {
  .premium-stat-card {
    padding: 1.25rem 1rem;
  }

  .premium-stat-card__value {
    font-size: 1.5rem;
  }

  .premium-stat-card__decoration {
    font-size: 3rem;
  }
}

.admin-grid-card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.admin-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.admin-grid-card .card-img-top {
  border-radius: 0 !important;
}

.admin-grid-card .card-body {
  padding: 1.25rem;
}

.admin-grid-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.admin-grid-card .card-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6c757d;
}

/* Badges nos Cards */
.admin-grid-card .position-absolute.top-0.end-0 {
  margin: 0.75rem !important;
}

.admin-grid-card .badge {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botões nos Cards */
.admin-grid-card .btn-group .btn,
.admin-grid-card .d-flex .btn {
  border-radius: 8px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-grid-card .btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border: none;
}

.admin-grid-card .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.admin-grid-card .btn-danger:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ============================================
   MODAL COMPLETO
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(2px);
}

.modal-content {
  background: white !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  border: none !important;
  overflow: hidden;
}

.modal-content.modal-large {
  max-width: 900px;
}

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

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

.modal-header {
  padding: 2rem 3rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%) !important;
  color: white;
  border-radius: 16px 16px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
}

.modal-header h2 i {
  font-size: 1.125rem;
}

.modal-header .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.125rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 2.5rem 3rem !important;
  overflow-y: auto;
  flex: 1;
  background: white !important;
  max-height: 70vh;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #0A4EA0;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #002b5e;
}

.modal-footer {
  padding: 2rem 3rem !important;
  border-top: 1px solid #dee2e6 !important;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: #f8f9fa !important;
  border-radius: 0 0 16px 16px;
}

/* Form Labels */
.modal-body .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Form Controls */


/* File Input */
.modal-body input[type="file"] {
  padding: 0.5rem;
}

/* Switch Toggle */
.form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #0A4EA0;
  border-color: #0A4EA0;
}

/* Preview de Imagem no Modal */
.modal-body img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* Input Group */
.input-group-text {
  border-radius: 8px 0 0 8px;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.input-group .form-control {
  border-radius: 0 8px 8px 0;
}

/* Btn Group no Modal */
.modal-body .btn-group .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 8px !important;
  margin: 0 2px;
}

.modal-body .btn-group .btn:first-child {
  margin-left: 0;
}

.modal-body .btn-group .btn:last-child {
  margin-right: 0;
}

/* Rating Stars */
.modal-body .btn-link {
  text-decoration: none;
  padding: 0.25rem;
  transition: transform 0.2s ease;
}

.modal-body .btn-link:hover {
  transform: scale(1.2);
}

/* Empty State */
.card-body.text-center.py-5 i {
  opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {

  .admin-grid-card .card-body {
    padding: 1rem;
  }
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.admin-grid-card {
  animation: fadeIn 0.3s ease;
}

/* Loading Spinner */
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.2rem;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}



/* Botões Outline Modernos */
.btn-outline-primary {
  border-width: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border-color: #0A4EA0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.25);
}

.btn-outline-danger {
  border-width: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: #dc3545;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* Ícones nos botões */
.btn i {
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

/* Botões na tabela */
.table .btn-sm {
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.table .btn-sm i {
  font-size: 0.875rem;
}



/* Cards de Planos Premium */
.plan-card {
  position: relative;
  border: 2px solid transparent !important;
  transition: all 0.4s ease;
}

.plan-card:hover {
  border-color: #0A4EA0 !important;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(10, 78, 160, 0.2) !important;
}

.plan-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
}

.plan-card .plan-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(10, 78, 160, 0.2);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(10, 78, 160, 0.3);
}

.plan-card .plan-icon-wrapper img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.plan-card .plan-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.plan-card .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.plan-card .plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.plan-card .plan-period {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-card .plan-description {
  color: #6c757d;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 1rem 0;
  min-height: 60px;
}

.plan-card .plan-features {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}

.plan-card .plan-feature {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: #495057;
}

.plan-card .plan-feature i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.plan-card .plan-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
  margin: 1rem 0;
}

/* Animação de entrada */
@keyframes planFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.plan-card {
  animation: planFadeIn 0.5s ease;
}




/* ============================================
   ADMIN GRID E CARDS MODERNOS
   ============================================ */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.admin-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.admin-card .card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}

.admin-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-card .card-header {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.admin-card .card-badge {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  color: white;
  white-space: nowrap;
}

.admin-card .card-body {
  padding: 1.25rem;
  flex: 1;
}

.admin-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-card .card-title i {
  font-size: 1.125rem;
}

.admin-card .card-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
}

.admin-card .card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.admin-card .card-meta {
  font-size: 0.8125rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.admin-card .card-meta i {
  font-size: 0.875rem;
}

.admin-card .card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-icon.btn-edit {
  color: #0A4EA0;
  border-color: #0A4EA0;
}

.btn-icon.btn-edit:hover {
  background: #0A4EA0;
  color: white;
  transform: scale(1.05);
}

.btn-icon.btn-delete {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-icon.btn-delete:hover {
  background: #dc3545;
  color: white;
  transform: scale(1.05);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}

.loading-state i {
  font-size: 3rem;
  color: #0A4EA0;
  margin-bottom: 1rem;
}

.loading-state p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-card .card-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .admin-card .card-actions {
    width: 100%;
    justify-content: flex-end;
  }
}




/* ============================================
   ADMIN PAGE HEADER E FILTROS
   ============================================ */

.admin-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.admin-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-title i {
  color: #0A4EA0;
  font-size: 1.5rem;
}

.admin-subtitle {
  font-size: 0.9375rem;
  color: #6c757d;
  margin: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border: none;
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

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

.btn-primary i {
  font-size: 0.875rem;
}


/* ============================================
   TOGGLE SWITCH GROUP (Categoria)
   ============================================ */

.toggle-switch-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.toggle-option {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.toggle-option:hover {
  border-color: #0A4EA0;
  background: #f0f7ff;
  color: #0A4EA0;
}

.toggle-option.active {
  border-color: #0A4EA0;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.toggle-option i {
  font-size: 1rem;
}


/* =========================================
   PREMIUM FILTER BAR - shared
   ========================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.08);
}

.filter-bar__search {
  display: flex;
  align-items: center;
  flex: 1 1 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  gap: 0.875rem;
}

.filter-bar__search-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  flex-shrink: 0;
}

.filter-bar__search-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9375rem;
  height: 44px;
  padding: 0 1rem;
  outline: none;
  transition: all 0.25s ease;
}

.filter-bar__search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filter-bar__search-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.filter-bar__search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.filter-bar__search-clear:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  flex: 1;
}

.filter-bar__group:not(:last-child) {
  border-right: 1px solid #f1f5f9;
}

.filter-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-bar__tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-bar__tab {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.filter-bar__tab:hover {
  border-color: #0A4EA0;
  color: #0A4EA0;
  background: #eff6ff;
}

.filter-bar__tab--active {
  background: linear-gradient(135deg, #0A4EA0, #002b5e) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(10, 78, 160, 0.25);
}

.filter-bar__chips {
  display: flex;
  gap: 4px;
}

.filter-bar__chip {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-bar__chip--all {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

.filter-bar__chip--all.filter-bar__chip--active {
  background: #0f172a;
  color: #fff;
  border-color: transparent;
}

.filter-bar__chip--active-item {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.filter-bar__chip--active-item.filter-bar__chip--active {
  background: #16a34a !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
}

.filter-bar__chip--inactive-item {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.filter-bar__chip--inactive-item.filter-bar__chip--active {
  background: #e11d48 !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.25);
}

.filter-bar__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  border-left: 1px solid #f1f5f9;
  min-width: 90px;
  flex-shrink: 0;
}

.filter-bar__count-num {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0A4EA0, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.filter-bar__count-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Admin Table */
.admin-table-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead {
  background: #f8fafc;
}

.admin-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

.admin-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

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

.table-cell-main {
  font-weight: 600;
  color: #0f172a;
}

.table-cell-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: #ecfdf5;
  color: #059669;
}

.badge-secondary {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 768px) {
  .filter-bar__group {
    flex: 1 1 50%;
    border-right: none !important;
    border-top: 1px solid #f1f5f9;
  }

  .filter-bar__count {
    flex: 1 1 100%;
    flex-direction: row;
    gap: 0.5rem;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    justify-content: center;
  }

  .filter-bar__tabs,
  .filter-bar__chips {
    flex-wrap: wrap;
  }
}/* ============================================================
   Avisos.css — Central de Avisos Internos · Phobos Intranet
   Paleta: #0A4EA0 (primário) · #002b5e (escuro) · #f1f5fb (bg)
   ============================================================ */

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(18px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity:.5 } 50% { transform: scale(1.12); opacity:.15 } }
@keyframes av-banner-in { from { opacity:0; transform: translateY(-100%) } to { opacity:1; transform: translateY(0) } }

/* ── TOGGLE SWITCH ─────────────────────────────────────────── */
.av-toggle-row {
  display: flex; align-items: center; gap: 12;
  cursor: pointer; user-select: none;
}
.av-toggle-switch {
  width: 46px; height: 26px; border-radius: 99px;
  background: #e2e8f0;
  position: relative; flex-shrink: 0;
  cursor: pointer;
  transition: background .2s;
  border: 2px solid transparent;
}
.av-toggle-switch.on { background: linear-gradient(135deg,#0A4EA0,#1a6fd4); }
.av-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.av-toggle-switch.on .av-toggle-thumb { transform: translateX(20px); }
.av-toggle-desc { font-size: .79rem; color: #64748b; font-weight: 500; }


/* ── PAGE ──────────────────────────────────────────────────── */
.av-page {
  padding: 1.75rem;
  min-height: 100vh;
  background: #f1f5fb;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fadeIn .25s ease;
}

/* ── HERO ──────────────────────────────────────────────────── */
.av-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 55%, #1a6fd4 100%);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.av-hero::before {
  content: "";
  position: absolute;
  right: -70px; top: -70px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.av-hero-left { display: flex; align-items: center; gap: 1rem; }
.av-hero-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  font-size: 1.55rem;
  flex-shrink: 0;
}
.av-hero-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.av-hero-title { margin: 0 0 2px; font-size: 1.6rem; font-weight: 800; }
.av-hero-sub   { margin: 0; font-size: .82rem; color: rgba(255,255,255,.72); }

/* Stats */
.av-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.av-stat {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 12px 20px;
  min-width: 80px;
  text-align: center;
}
.av-stat-value { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.av-stat-label { font-size: .68rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.av-stat--blue  { background: rgba(99,179,237,.2); border-color: rgba(99,179,237,.3); }
.av-stat--green { background: rgba(72,187,120,.2); border-color: rgba(72,187,120,.3); }

/* ── TOOLBAR ───────────────────────────────────────────────── */
.av-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.av-search {
  display: flex; align-items: center; gap: 8px;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 7px 12px;
  flex: 1; min-width: 180px;
}
.av-search i { color: #94a3b8; font-size: .8rem; }
.av-search input {
  border: none; background: transparent;
  font-size: .84rem; outline: none; color: #1e293b; width: 100%;
}
.av-filter-tabs {
  display: flex; gap: 3px;
  background: #f1f5fb;
  border-radius: 10px;
  padding: 3px;
}
.av-filter-tab {
  border: none; border-radius: 8px;
  padding: 6px 14px;
  font-size: .77rem; font-weight: 600;
  color: #64748b; background: none;
  cursor: pointer; transition: all .16s;
}
.av-filter-tab:hover  { background: #e8edf5; color: #0A4EA0; }
.av-filter-tab.active { background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; box-shadow: 0 3px 8px rgba(10,78,160,.25); }

.av-btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg,#0A4EA0,#002b5e);
  color: #fff; border: none;
  border-radius: 10px; padding: 9px 18px;
  font-size: .83rem; font-weight: 700;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 4px 14px rgba(10,78,160,.3);
  white-space: nowrap;
}
.av-btn-primary:hover  { opacity: .9; transform: translateY(-1px); }
.av-btn-primary:active { transform: translateY(0); }

/* ── TABLE ─────────────────────────────────────────────────── */
.av-table-wrap {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.av-table {
  width: 100%; border-collapse: collapse;
}
.av-table thead { background: linear-gradient(135deg,#f8faff,#f1f5fb); }
.av-table th {
  padding: 11px 16px;
  font-size: .71rem; font-weight: 700;
  color: #64748b; text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid #e8edf5;
  text-align: left; white-space: nowrap;
}
.av-table th i { margin-right: 5px; }
.av-table td {
  padding: 13px 16px;
  font-size: .84rem; color: #374151;
  border-bottom: 1px solid #f1f5fb;
  vertical-align: middle;
}
.av-table tbody tr:last-child td { border-bottom: none; }
.av-table tbody tr:hover td { background: #f8faff; }

/* Type badge */
.av-type-badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 99px; padding: 4px 10px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  border: 1.5px solid transparent;
}
.av-type-badge--info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.av-type-badge--warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.av-type-badge--success { background: #f0fdf4; color: #14532d; border-color: #86efac; }
.av-type-badge--critico { background: #fff5f5; color: #7f1d1d; border-color: #fca5a5; }

.av-table-title { font-weight: 700; color: #0f172a; font-size: .85rem; }
.av-table-msg   { color: #64748b; font-size: .78rem; margin-top: 2px; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-table-date  { font-size: .75rem; color: #94a3b8; white-space: nowrap; }
.av-table-dest  { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: #0A4EA0; background: #eff6ff; border-radius: 8px; padding: 3px 10px; }

.av-btn-icon {
  width: 32px; height: 32px;
  border-radius: 8px; border: none;
  display: grid; place-items: center;
  font-size: .78rem; cursor: pointer;
  transition: all .16s;
}
.av-btn-icon.delete { background: #fee2e2; color: #dc2626; }
.av-btn-icon.delete:hover { background: #dc2626; color: #fff; }

/* empty / loading */
.av-loading { display: flex; align-items: center; gap: 10px; padding: 3rem; justify-content: center; color: #94a3b8; font-size: .87rem; }
.av-empty   { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 5rem 2rem; text-align: center; color: #94a3b8; }
.av-empty-icon { font-size: 2.5rem; color: #cbd5e1; }
.av-empty h5   { margin: 0; color: #475569; font-size: 1rem; font-weight: 700; }
.av-empty p    { margin: 0; font-size: .83rem; }

/* ── MODAL ─────────────────────────────────────────────────── */
.av-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  animation: fadeIn .15s ease;
}
.av-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%; max-width: 620px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  animation: slideUp .22s ease;
  display: flex; flex-direction: column;
}
.av-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 2px solid #f1f5fb;
  position: sticky; top: 0;
  background: #fff; z-index: 2;
  border-radius: 20px 20px 0 0;
}
.av-modal-header h5 {
  margin: 0; font-size: 1rem; font-weight: 800;
  color: #0f172a;
  display: flex; align-items: center; gap: 8px;
}
.av-modal-header h5 i { color: #0A4EA0; }
.av-modal-close {
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  background: #f8faff;
  color: #64748b;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1rem; transition: all .15s;
}
.av-modal-close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

.av-modal-body   { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.av-modal-footer {
  padding: 16px 24px 20px;
  border-top: 2px solid #f1f5fb;
  display: flex; justify-content: flex-end; gap: 10px;
}

/* Form elements */
.av-form-group { display: flex; flex-direction: column; gap: 7px; }
.av-form-label {
  font-size: .79rem; font-weight: 700;
  color: #374151;
  display: flex; align-items: center; gap: 6px;
}
.av-form-label i { color: #0A4EA0; font-size: .75rem; }
.av-form-control {
  width: 100%; border: 1.5px solid #e2e8f0;
  border-radius: 10px; padding: 10px 13px;
  font-size: .84rem; color: #0f172a;
  outline: none; font-family: inherit;
  transition: border-color .15s; box-sizing: border-box;
}
.av-form-control:focus  { border-color: #0A4EA0; box-shadow: 0 0 0 3px rgba(10,78,160,.1); }
.av-form-hint           { margin: 0; font-size: .73rem; color: #94a3b8; }

/* Tipo selector */
.av-tipo-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.av-tipo-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px; background: #f8faff;
  cursor: pointer; font-size: .83rem; font-weight: 600; color: #374151;
  transition: all .16s;
}
.av-tipo-btn:hover   { border-color: #c7d9f5; background: #eff6ff; }
.av-tipo-btn.active  { border-color: currentColor; background: var(--av-tipo-bg, #eff6ff); }
.av-tipo-btn--info    { color: #1e40af; --av-tipo-bg: #eff6ff; }
.av-tipo-btn--warning { color: #92400e; --av-tipo-bg: #fffbeb; }
.av-tipo-btn--success { color: #14532d; --av-tipo-bg: #f0fdf4; }
.av-tipo-btn--critico { color: #7f1d1d; --av-tipo-bg: #fff5f5; }
.av-tipo-btn.active.av-tipo-btn--info    { border-color: #1e40af; }
.av-tipo-btn.active.av-tipo-btn--warning { border-color: #92400e; }
.av-tipo-btn.active.av-tipo-btn--success { border-color: #14532d; }
.av-tipo-btn.active.av-tipo-btn--critico { border-color: #7f1d1d; }

/* Destinatários */
.av-dest-mode { display: flex; gap: 8px; }
.av-dest-radio {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px; background: #f8faff;
  cursor: pointer; font-size: .83rem; font-weight: 600; color: #374151;
  transition: all .16s; flex: 1; justify-content: center;
}
.av-dest-radio input[type="radio"] { display: none; }
.av-dest-radio.active { border-color: #0A4EA0; background: #eff6ff; color: #0A4EA0; }

.av-user-list {
  max-height: 220px; overflow-y: auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 0;
}
.av-user-search {
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #f1f5fb;
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.av-user-search i { color: #94a3b8; font-size: .8rem; }
.av-user-search input { border: none; outline: none; font-size: .82rem; color: #0f172a; width: 100%; background: transparent; }

.av-user-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f8faff;
  cursor: pointer; transition: background .12s;
}
.av-user-item:last-child { border-bottom: none; }
.av-user-item:hover { background: #f8faff; }
.av-user-item input[type="checkbox"] { accent-color: #0A4EA0; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.av-user-avatar {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg,#0A4EA0,#1a6fd4);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.av-user-name  { font-size: .83rem; font-weight: 600; color: #0f172a; }
.av-user-email { font-size: .72rem; color: #94a3b8; }

/* Preview */
.av-preview {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .83rem; font-weight: 600; color: #1e40af;
}
.av-preview i { font-size: 1rem; }

/* Buttons */
.av-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f1f5fb; color: #374151;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px; padding: 8px 18px;
  font-size: .83rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.av-btn-secondary:hover { background: #e8edf5; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .av-page   { padding: 1rem; gap: 1rem; }
  .av-hero   { padding: 1.25rem; flex-direction: column; align-items: flex-start; }
  .av-stats  { width: 100%; justify-content: space-between; }
  .av-toolbar { flex-direction: column; align-items: stretch; }
  .av-tipo-grid { grid-template-columns: 1fr; }
  .av-dest-mode { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  .wmde-markdown,
  .wmde-markdown-var {
    color-scheme: dark;
    --color-prettylights-syntax-comment: #8b949e;
    --color-prettylights-syntax-constant: #79c0ff;
    --color-prettylights-syntax-entity: #d2a8ff;
    --color-prettylights-syntax-storage-modifier-import: #c9d1d9;
    --color-prettylights-syntax-entity-tag: #7ee787;
    --color-prettylights-syntax-keyword: #ff7b72;
    --color-prettylights-syntax-string: #a5d6ff;
    --color-prettylights-syntax-variable: #ffa657;
    --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
    --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
    --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
    --color-prettylights-syntax-carriage-return-text: #f0f6fc;
    --color-prettylights-syntax-carriage-return-bg: #b62324;
    --color-prettylights-syntax-string-regexp: #7ee787;
    --color-prettylights-syntax-markup-list: #f2cc60;
    --color-prettylights-syntax-markup-heading: #1f6feb;
    --color-prettylights-syntax-markup-italic: #c9d1d9;
    --color-prettylights-syntax-markup-bold: #c9d1d9;
    --color-prettylights-syntax-markup-deleted-text: #ffdcd7;
    --color-prettylights-syntax-markup-deleted-bg: #67060c;
    --color-prettylights-syntax-markup-inserted-text: #aff5b4;
    --color-prettylights-syntax-markup-inserted-bg: #033a16;
    --color-prettylights-syntax-markup-changed-text: #ffdfb6;
    --color-prettylights-syntax-markup-changed-bg: #5a1e02;
    --color-prettylights-syntax-markup-ignored-text: #c9d1d9;
    --color-prettylights-syntax-markup-ignored-bg: #1158c7;
    --color-prettylights-syntax-meta-diff-range: #d2a8ff;
    --color-prettylights-syntax-brackethighlighter-angle: #8b949e;
    --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
    --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
    --color-fg-default: #c9d1d9;
    --color-fg-muted: #8b949e;
    --color-fg-subtle: #484f58;
    --color-canvas-default: #0d1117;
    --color-canvas-subtle: #161b22;
    --color-border-default: #30363d;
    --color-border-muted: #21262d;
    --color-neutral-muted: rgba(110, 118, 129, 0.4);
    --color-accent-fg: #58a6ff;
    --color-accent-emphasis: #1f6feb;
    --color-attention-subtle: rgba(187, 128, 9, 0.15);
    --color-danger-fg: #f85149;
    --color-danger-emphasis: #da3633;
    --color-attention-fg: #d29922;
    --color-attention-emphasis: #9e6a03;
    --color-done-fg: #a371f7;
    --color-done-emphasis: #8957e5;
    --color-success-fg: #3fb950;
    --color-success-emphasis: #238636;
    --color-copied-active-bg: #2e9b33;
  }
}
@media (prefers-color-scheme: light) {
  .wmde-markdown,
  .wmde-markdown-var {
    color-scheme: light;
    --color-prettylights-syntax-comment: #6e7781;
    --color-prettylights-syntax-constant: #0550ae;
    --color-prettylights-syntax-entity: #8250df;
    --color-prettylights-syntax-storage-modifier-import: #24292f;
    --color-prettylights-syntax-entity-tag: #116329;
    --color-prettylights-syntax-keyword: #cf222e;
    --color-prettylights-syntax-string: #0a3069;
    --color-prettylights-syntax-variable: #953800;
    --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
    --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
    --color-prettylights-syntax-invalid-illegal-bg: #82071e;
    --color-prettylights-syntax-carriage-return-text: #f6f8fa;
    --color-prettylights-syntax-carriage-return-bg: #cf222e;
    --color-prettylights-syntax-string-regexp: #116329;
    --color-prettylights-syntax-markup-list: #3b2300;
    --color-prettylights-syntax-markup-heading: #0550ae;
    --color-prettylights-syntax-markup-italic: #24292f;
    --color-prettylights-syntax-markup-bold: #24292f;
    --color-prettylights-syntax-markup-deleted-text: #82071e;
    --color-prettylights-syntax-markup-deleted-bg: #ffebe9;
    --color-prettylights-syntax-markup-inserted-text: #116329;
    --color-prettylights-syntax-markup-inserted-bg: #dafbe1;
    --color-prettylights-syntax-markup-changed-text: #953800;
    --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
    --color-prettylights-syntax-markup-ignored-text: #eaeef2;
    --color-prettylights-syntax-markup-ignored-bg: #0550ae;
    --color-prettylights-syntax-meta-diff-range: #8250df;
    --color-prettylights-syntax-brackethighlighter-angle: #57606a;
    --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
    --color-prettylights-syntax-constant-other-reference-link: #0a3069;
    --color-fg-default: #24292f;
    --color-fg-muted: #57606a;
    --color-fg-subtle: #6e7781;
    --color-canvas-default: #ffffff;
    --color-canvas-subtle: #f6f8fa;
    --color-border-default: #d0d7de;
    --color-border-muted: hsl(210, 18%, 87%);
    --color-neutral-muted: rgba(175, 184, 193, 0.2);
    --color-accent-fg: #0969da;
    --color-accent-emphasis: #0969da;
    --color-attention-subtle: #fff8c5;
    --color-danger-fg: #d1242f;
    --color-danger-emphasis: #cf222e;
    --color-attention-fg: #9a6700;
    --color-attention-emphasis: #9a6700;
    --color-done-fg: #8250df;
    --color-done-emphasis: #8250df;
    --color-success-fg: #1a7f37;
    --color-success-emphasis: #1f883d;
    --color-copied-active-bg: #2e9b33;
  }
}
[data-color-mode*='dark'] .wmde-markdown,
[data-color-mode*='dark'] .wmde-markdown-var,
.wmde-markdown-var[data-color-mode*='dark'],
.wmde-markdown[data-color-mode*='dark'],
body[data-color-mode*='dark'] {
  color-scheme: dark;
  --color-prettylights-syntax-comment: #8b949e;
  --color-prettylights-syntax-constant: #79c0ff;
  --color-prettylights-syntax-entity: #d2a8ff;
  --color-prettylights-syntax-storage-modifier-import: #c9d1d9;
  --color-prettylights-syntax-entity-tag: #7ee787;
  --color-prettylights-syntax-keyword: #ff7b72;
  --color-prettylights-syntax-string: #a5d6ff;
  --color-prettylights-syntax-variable: #ffa657;
  --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
  --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
  --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
  --color-prettylights-syntax-carriage-return-text: #f0f6fc;
  --color-prettylights-syntax-carriage-return-bg: #b62324;
  --color-prettylights-syntax-string-regexp: #7ee787;
  --color-prettylights-syntax-markup-list: #f2cc60;
  --color-prettylights-syntax-markup-heading: #1f6feb;
  --color-prettylights-syntax-markup-italic: #c9d1d9;
  --color-prettylights-syntax-markup-bold: #c9d1d9;
  --color-prettylights-syntax-markup-deleted-text: #ffdcd7;
  --color-prettylights-syntax-markup-deleted-bg: #67060c;
  --color-prettylights-syntax-markup-inserted-text: #aff5b4;
  --color-prettylights-syntax-markup-inserted-bg: #033a16;
  --color-prettylights-syntax-markup-changed-text: #ffdfb6;
  --color-prettylights-syntax-markup-changed-bg: #5a1e02;
  --color-prettylights-syntax-markup-ignored-text: #c9d1d9;
  --color-prettylights-syntax-markup-ignored-bg: #1158c7;
  --color-prettylights-syntax-meta-diff-range: #d2a8ff;
  --color-prettylights-syntax-brackethighlighter-angle: #8b949e;
  --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
  --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
  --color-fg-default: #c9d1d9;
  --color-fg-muted: #8b949e;
  --color-fg-subtle: #484f58;
  --color-canvas-default: #0d1117;
  --color-canvas-subtle: #161b22;
  --color-border-default: #30363d;
  --color-border-muted: #21262d;
  --color-neutral-muted: rgba(110, 118, 129, 0.4);
  --color-accent-fg: #58a6ff;
  --color-accent-emphasis: #1f6feb;
  --color-attention-subtle: rgba(187, 128, 9, 0.15);
  --color-danger-fg: #f85149;
}
[data-color-mode*='light'] .wmde-markdown,
[data-color-mode*='light'] .wmde-markdown-var,
.wmde-markdown-var[data-color-mode*='light'],
.wmde-markdown[data-color-mode*='light'],
body[data-color-mode*='light'] {
  color-scheme: light;
  --color-prettylights-syntax-comment: #6e7781;
  --color-prettylights-syntax-constant: #0550ae;
  --color-prettylights-syntax-entity: #8250df;
  --color-prettylights-syntax-storage-modifier-import: #24292f;
  --color-prettylights-syntax-entity-tag: #116329;
  --color-prettylights-syntax-keyword: #cf222e;
  --color-prettylights-syntax-string: #0a3069;
  --color-prettylights-syntax-variable: #953800;
  --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
  --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
  --color-prettylights-syntax-invalid-illegal-bg: #82071e;
  --color-prettylights-syntax-carriage-return-text: #f6f8fa;
  --color-prettylights-syntax-carriage-return-bg: #cf222e;
  --color-prettylights-syntax-string-regexp: #116329;
  --color-prettylights-syntax-markup-list: #3b2300;
  --color-prettylights-syntax-markup-heading: #0550ae;
  --color-prettylights-syntax-markup-italic: #24292f;
  --color-prettylights-syntax-markup-bold: #24292f;
  --color-prettylights-syntax-markup-deleted-text: #82071e;
  --color-prettylights-syntax-markup-deleted-bg: #ffebe9;
  --color-prettylights-syntax-markup-inserted-text: #116329;
  --color-prettylights-syntax-markup-inserted-bg: #dafbe1;
  --color-prettylights-syntax-markup-changed-text: #953800;
  --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
  --color-prettylights-syntax-markup-ignored-text: #eaeef2;
  --color-prettylights-syntax-markup-ignored-bg: #0550ae;
  --color-prettylights-syntax-meta-diff-range: #8250df;
  --color-prettylights-syntax-brackethighlighter-angle: #57606a;
  --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
  --color-prettylights-syntax-constant-other-reference-link: #0a3069;
  --color-fg-default: #24292f;
  --color-fg-muted: #57606a;
  --color-fg-subtle: #6e7781;
  --color-canvas-default: #ffffff;
  --color-canvas-subtle: #f6f8fa;
  --color-border-default: #d0d7de;
  --color-border-muted: hsl(210, 18%, 87%);
  --color-neutral-muted: rgba(175, 184, 193, 0.2);
  --color-accent-fg: #0969da;
  --color-accent-emphasis: #0969da;
  --color-attention-subtle: #fff8c5;
  --color-danger-fg: #cf222e;
}
.wmde-markdown {
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
  color: var(--color-fg-default);
  background-color: var(--color-canvas-default);
}
.wmde-markdown details,
.wmde-markdown figcaption,
.wmde-markdown figure {
  display: block;
}
.wmde-markdown summary {
  display: list-item;
}
.wmde-markdown [hidden] {
  display: none !important;
}
.wmde-markdown a {
  background-color: transparent;
  color: var(--color-accent-fg);
  text-decoration: none;
}
.wmde-markdown a:active,
.wmde-markdown a:hover {
  outline-width: 0;
}
.wmde-markdown abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
.wmde-markdown b,
.wmde-markdown strong {
  font-weight: 600;
}
.wmde-markdown dfn {
  font-style: italic;
}
.wmde-markdown h1 {
  margin: 0.67em 0;
  font-weight: 600;
  padding-bottom: 0.3em;
  font-size: 2em;
  border-bottom: 1px solid var(--color-border-muted);
}
.wmde-markdown mark {
  background-color: var(--color-attention-subtle);
  color: var(--color-text-primary);
}
.wmde-markdown small {
  font-size: 90%;
}
.wmde-markdown sub,
.wmde-markdown sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.wmde-markdown sub {
  bottom: -0.25em;
}
.wmde-markdown sup {
  top: -0.5em;
}
.wmde-markdown img {
  display: inline-block;
  border-style: none;
  max-width: 100%;
  box-sizing: content-box;
  background-color: var(--color-canvas-default);
}
.wmde-markdown code,
.wmde-markdown kbd,
.wmde-markdown pre,
.wmde-markdown samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
.wmde-markdown figure {
  margin: 1em 40px;
}
.wmde-markdown hr {
  box-sizing: content-box;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border-muted);
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: var(--color-border-default);
}
.wmde-markdown input {
  font: inherit;
  margin: 0;
  overflow: visible;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.wmde-markdown [type='button'],
.wmde-markdown [type='reset'],
.wmde-markdown [type='submit'] {
  -webkit-appearance: button;
}
.wmde-markdown [type='button']::-moz-focus-inner,
.wmde-markdown [type='reset']::-moz-focus-inner,
.wmde-markdown [type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
.wmde-markdown [type='button']:-moz-focusring,
.wmde-markdown [type='reset']:-moz-focusring,
.wmde-markdown [type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}
.wmde-markdown [type='checkbox'],
.wmde-markdown [type='radio'] {
  box-sizing: border-box;
  padding: 0;
}
.wmde-markdown [type='number']::-webkit-inner-spin-button,
.wmde-markdown [type='number']::-webkit-outer-spin-button {
  height: auto;
}
.wmde-markdown [type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
.wmde-markdown [type='search']::-webkit-search-cancel-button,
.wmde-markdown [type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
.wmde-markdown ::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}
.wmde-markdown ::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
.wmde-markdown a:hover {
  text-decoration: underline;
}
.wmde-markdown hr::before {
  display: table;
  content: '';
}
.wmde-markdown hr::after {
  display: table;
  clear: both;
  content: '';
}
.wmde-markdown table {
  border-spacing: 0;
  border-collapse: collapse;
  display: block;
  width: max-content;
  max-width: 100%;
}
.wmde-markdown td,
.wmde-markdown th {
  padding: 0;
}
.wmde-markdown details summary {
  cursor: pointer;
}
.wmde-markdown details:not([open]) > *:not(summary) {
  display: none !important;
}
.wmde-markdown kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  line-height: 10px;
  color: var(--color-fg-default);
  vertical-align: middle;
  background-color: var(--color-canvas-subtle);
  border: solid 1px var(--color-neutral-muted);
  border-bottom-color: var(--color-neutral-muted);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 var(--color-neutral-muted);
}
.wmde-markdown h1,
.wmde-markdown h2,
.wmde-markdown h3,
.wmde-markdown h4,
.wmde-markdown h5,
.wmde-markdown h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.wmde-markdown td,
.wmde-markdown th {
  padding: 0;
}
.wmde-markdown details summary {
  cursor: pointer;
}
.wmde-markdown details:not([open]) > *:not(summary) {
  display: none !important;
}
.wmde-markdown kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  line-height: 10px;
  color: var(--color-fg-default);
  vertical-align: middle;
  background-color: var(--color-canvas-subtle);
  border: solid 1px var(--color-neutral-muted);
  border-bottom-color: var(--color-neutral-muted);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 var(--color-neutral-muted);
}
.wmde-markdown h1,
.wmde-markdown h2,
.wmde-markdown h3,
.wmde-markdown h4,
.wmde-markdown h5,
.wmde-markdown h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.wmde-markdown h2 {
  font-weight: 600;
  padding-bottom: 0.3em;
  font-size: 1.5em;
  border-bottom: 1px solid var(--color-border-muted);
}
.wmde-markdown h3 {
  font-weight: 600;
  font-size: 1.25em;
}
.wmde-markdown h4 {
  font-weight: 600;
  font-size: 1em;
}
.wmde-markdown h5 {
  font-weight: 600;
  font-size: 0.875em;
}
.wmde-markdown h6 {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--color-fg-muted);
}
.wmde-markdown p {
  margin-top: 0;
  margin-bottom: 10px;
}
.wmde-markdown blockquote {
  margin: 0;
  padding: 0 1em;
  color: var(--color-fg-muted);
  border-left: 0.25em solid var(--color-border-default);
}
.wmde-markdown ul,
.wmde-markdown ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 2em;
}
.wmde-markdown ol ol,
.wmde-markdown ul ol {
  list-style-type: lower-roman;
}
.wmde-markdown ul ul ol,
.wmde-markdown ul ol ol,
.wmde-markdown ol ul ol,
.wmde-markdown ol ol ol {
  list-style-type: lower-alpha;
}
.wmde-markdown dd {
  margin-left: 0;
}
.wmde-markdown tt,
.wmde-markdown code {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  font-size: 12px;
}
.wmde-markdown pre {
  margin-top: 0;
  margin-bottom: 0;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  font-size: 12px;
  word-wrap: normal;
}
.wmde-markdown .octicon {
  display: inline-block;
  overflow: visible !important;
  vertical-align: text-bottom;
  fill: currentColor;
}
.wmde-markdown ::placeholder {
  color: var(--color-fg-subtle);
  opacity: 1;
}
.wmde-markdown input::-webkit-outer-spin-button,
.wmde-markdown input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}
.wmde-markdown [data-catalyst] {
  display: block;
}
.wmde-markdown::before {
  display: table;
  content: '';
}
.wmde-markdown::after {
  display: table;
  clear: both;
  content: '';
}
.wmde-markdown > *:first-child {
  margin-top: 0 !important;
}
.wmde-markdown > *:last-child {
  margin-bottom: 0 !important;
}
.wmde-markdown a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.wmde-markdown .absent {
  color: var(--color-danger-fg);
}
.wmde-markdown a.anchor {
  float: left;
  padding-right: 4px;
  margin-left: -20px;
  line-height: 1;
}
.wmde-markdown .anchor:focus {
  outline: none;
}
.wmde-markdown p,
.wmde-markdown blockquote,
.wmde-markdown ul,
.wmde-markdown ol,
.wmde-markdown dl,
.wmde-markdown table,
.wmde-markdown pre,
.wmde-markdown details {
  margin-top: 0;
  margin-bottom: 16px;
}
.wmde-markdown blockquote > :first-child {
  margin-top: 0;
}
.wmde-markdown blockquote > :last-child {
  margin-bottom: 0;
}
.wmde-markdown sup > a::before {
  content: '[';
}
.wmde-markdown sup > a::after {
  content: ']';
}
.wmde-markdown h1 .octicon-link,
.wmde-markdown h2 .octicon-link,
.wmde-markdown h3 .octicon-link,
.wmde-markdown h4 .octicon-link,
.wmde-markdown h5 .octicon-link,
.wmde-markdown h6 .octicon-link {
  color: var(--color-fg-default);
  vertical-align: middle;
  visibility: hidden;
}
.wmde-markdown h1:hover .anchor,
.wmde-markdown h2:hover .anchor,
.wmde-markdown h3:hover .anchor,
.wmde-markdown h4:hover .anchor,
.wmde-markdown h5:hover .anchor,
.wmde-markdown h6:hover .anchor {
  text-decoration: none;
}
.wmde-markdown h1:hover .anchor .octicon-link,
.wmde-markdown h2:hover .anchor .octicon-link,
.wmde-markdown h3:hover .anchor .octicon-link,
.wmde-markdown h4:hover .anchor .octicon-link,
.wmde-markdown h5:hover .anchor .octicon-link,
.wmde-markdown h6:hover .anchor .octicon-link {
  visibility: visible;
}
.wmde-markdown h1 tt,
.wmde-markdown h1 code,
.wmde-markdown h2 tt,
.wmde-markdown h2 code,
.wmde-markdown h3 tt,
.wmde-markdown h3 code,
.wmde-markdown h4 tt,
.wmde-markdown h4 code,
.wmde-markdown h5 tt,
.wmde-markdown h5 code,
.wmde-markdown h6 tt,
.wmde-markdown h6 code {
  padding: 0 0.2em;
  font-size: inherit;
}
.wmde-markdown ul.no-list,
.wmde-markdown ol.no-list {
  padding: 0;
  list-style-type: none;
}
.wmde-markdown ol[type='1'] {
  list-style-type: decimal;
}
.wmde-markdown ol[type='a'] {
  list-style-type: lower-alpha;
}
.wmde-markdown ol[type='i'] {
  list-style-type: lower-roman;
}
.wmde-markdown div > ol:not([type]) {
  list-style-type: decimal;
}
.wmde-markdown ul ul,
.wmde-markdown ul ol,
.wmde-markdown ol ol,
.wmde-markdown ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
.wmde-markdown li > p {
  margin-top: 16px;
}
.wmde-markdown li + li {
  margin-top: 0.25em;
}
.wmde-markdown dl {
  padding: 0;
}
.wmde-markdown dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}
.wmde-markdown dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}
.wmde-markdown table th {
  font-weight: 600;
}
.wmde-markdown table th,
.wmde-markdown table td {
  padding: 6px 13px;
  border: 1px solid var(--color-border-default);
}
.wmde-markdown table tr {
  background-color: var(--color-canvas-default);
  border-top: 1px solid var(--color-border-muted);
}
.wmde-markdown table tr:nth-child(2n) {
  background-color: var(--color-canvas-subtle);
}
.wmde-markdown table img {
  background-color: transparent;
}
.wmde-markdown img[align='right'] {
  padding-left: 20px;
}
.wmde-markdown img[align='left'] {
  padding-right: 20px;
}
.wmde-markdown .emoji {
  max-width: none;
  vertical-align: text-top;
  background-color: transparent;
}
.wmde-markdown span.frame {
  display: block;
  overflow: hidden;
}
.wmde-markdown span.frame > span {
  display: block;
  float: left;
  width: auto;
  padding: 7px;
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border-default);
}
.wmde-markdown span.frame span img {
  display: block;
  float: left;
}
.wmde-markdown span.frame span span {
  display: block;
  padding: 5px 0 0;
  clear: both;
  color: var(--color-fg-default);
}
.wmde-markdown span.align-center {
  display: block;
  overflow: hidden;
  clear: both;
}
.wmde-markdown span.align-center > span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: center;
}
.wmde-markdown span.align-center span img {
  margin: 0 auto;
  text-align: center;
}
.wmde-markdown span.align-right {
  display: block;
  overflow: hidden;
  clear: both;
}
.wmde-markdown span.align-right > span {
  display: block;
  margin: 13px 0 0;
  overflow: hidden;
  text-align: right;
}
.wmde-markdown span.align-right span img {
  margin: 0;
  text-align: right;
}
.wmde-markdown span.float-left {
  display: block;
  float: left;
  margin-right: 13px;
  overflow: hidden;
}
.wmde-markdown span.float-left span {
  margin: 13px 0 0;
}
.wmde-markdown span.float-right {
  display: block;
  float: right;
  margin-left: 13px;
  overflow: hidden;
}
.wmde-markdown span.float-right > span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: right;
}
.wmde-markdown code,
.wmde-markdown tt {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  background-color: var(--color-neutral-muted);
  border-radius: 6px;
}
.wmde-markdown code br,
.wmde-markdown tt br {
  display: none;
}
.wmde-markdown del code {
  text-decoration: inherit;
}
.wmde-markdown pre code {
  font-size: 100%;
}
.wmde-markdown pre > code {
  padding: 0;
  margin: 0;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}
.wmde-markdown pre {
  font-size: 85%;
  line-height: 1.45;
  background-color: var(--color-canvas-subtle);
  border-radius: 6px;
}
.wmde-markdown pre code,
.wmde-markdown pre tt {
  display: inline;
  max-width: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0;
}
.wmde-markdown pre > code {
  padding: 16px;
  overflow: auto;
  display: block;
}
.wmde-markdown pre > code::-webkit-scrollbar {
  background: transparent;
  width: 8px;
  height: 8px;
}
.wmde-markdown pre > code::-webkit-scrollbar-thumb {
  background: var(--color-fg-muted);
  border-radius: 10px;
}
.wmde-markdown .csv-data td,
.wmde-markdown .csv-data th {
  padding: 5px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.wmde-markdown .csv-data .blob-num {
  padding: 10px 8px 9px;
  text-align: right;
  background: var(--color-canvas-default);
  border: 0;
}
.wmde-markdown .csv-data tr {
  border-top: 0;
}
.wmde-markdown .csv-data th {
  font-weight: 600;
  background: var(--color-canvas-subtle);
  border-top: 0;
}
.wmde-markdown .footnotes {
  font-size: 12px;
  color: var(--color-fg-muted);
  border-top: 1px solid var(--color-border-default);
}
.wmde-markdown .footnotes ol {
  padding-left: 16px;
}
.wmde-markdown .footnotes li {
  position: relative;
}
.wmde-markdown .footnotes li:target::before {
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -24px;
  pointer-events: none;
  content: '';
  border: 2px solid var(--color-accent-emphasis);
  border-radius: 6px;
}
.wmde-markdown .footnotes li:target {
  color: var(--color-fg-default);
}
.wmde-markdown .footnotes .data-footnote-backref g-emoji {
  font-family: monospace;
}
.wmde-markdown .task-list-item {
  list-style-type: none;
}
.wmde-markdown .task-list-item label {
  font-weight: 400;
}
.wmde-markdown .task-list-item.enabled label {
  cursor: pointer;
}
.wmde-markdown .task-list-item + .wmde-markdown .task-list-item {
  margin-top: 3px;
}
.wmde-markdown .task-list-item .handle {
  display: none;
}
.wmde-markdown .task-list-item-checkbox,
.wmde-markdown .contains-task-list input[type='checkbox'] {
  margin: 0 0.2em 0.25em -1.6em;
  vertical-align: middle;
}
.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,
.wmde-markdown .contains-task-list:dir(rtl) input[type='checkbox'] {
  margin: 0 -1.6em 0.25em 0.2em;
}
.wmde-markdown ::-webkit-calendar-picker-indicator {
  filter: invert(50%);
}
.wmde-markdown pre {
  position: relative;
}
.wmde-markdown pre .copied {
  visibility: hidden;
  display: flex;
  position: absolute;
  cursor: pointer;
  color: var(--color-fg-default);
  top: 6px;
  right: 6px;
  border-radius: 5px;
  background: var(--color-border-default);
  padding: 6px;
  font-size: 12px;
  transition: all 0.3s;
}
.wmde-markdown pre .copied .octicon-copy {
  display: block;
}
.wmde-markdown pre .copied .octicon-check {
  display: none;
}
.wmde-markdown pre:hover .copied {
  visibility: visible;
}
.wmde-markdown pre:hover .copied:hover {
  background: var(--color-prettylights-syntax-entity-tag);
  color: var(--color-canvas-default);
}
.wmde-markdown pre:hover .copied:active,
.wmde-markdown pre .copied.active {
  background: var(--color-copied-active-bg);
  color: var(--color-canvas-default);
}
.wmde-markdown pre .active .octicon-copy {
  display: none;
}
.wmde-markdown pre .active .octicon-check {
  display: block;
}
.wmde-markdown .markdown-alert {
  padding: 0.5rem 1em;
  color: inherit;
  margin-bottom: 16px;
  border-left: 0.25em solid var(--borderColor-default, var(--color-border-default));
}
.wmde-markdown .markdown-alert > :last-child {
  margin-bottom: 0 !important;
}
.wmde-markdown .markdown-alert .markdown-alert-title {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 500;
  font-size: 14px;
}
.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon {
  margin-right: var(--base-size-8, 8px) !important;
}
.wmde-markdown .markdown-alert.markdown-alert-note {
  border-left-color: var(--borderColor-accent-emphasis, var(--color-accent-emphasis));
}
.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title {
  color: var(--fgColor-accent, var(--color-accent-fg));
}
.wmde-markdown .markdown-alert.markdown-alert-tip {
  border-left-color: var(--borderColor-success-emphasis, var(--color-success-emphasis));
}
.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title {
  color: var(--fgColor-success, var(--color-success-fg));
}
.wmde-markdown .markdown-alert.markdown-alert-important {
  border-left-color: var(--borderColor-done-emphasis, var(--color-done-emphasis));
}
.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title {
  color: var(--fgColor-done, var(--color-done-fg));
}
.wmde-markdown .markdown-alert.markdown-alert-warning {
  border-left-color: var(--borderColor-attention-emphasis, var(--color-attention-emphasis));
}
.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title {
  color: var(--fgColor-attention, var(--color-attention-fg));
}
.wmde-markdown .markdown-alert.markdown-alert-caution {
  border-left-color: var(--borderColor-danger-emphasis, var(--color-danger-emphasis));
}
.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title {
  color: var(--fgColor-danger, var(--color-danger-fg));
}
.wmde-markdown .highlight-line {
  background-color: var(--color-neutral-muted);
}
.wmde-markdown .code-line.line-number::before {
  display: inline-block;
  width: 1rem;
  text-align: right;
  margin-right: 16px;
  color: var(--color-fg-subtle);
  content: attr(line);
  white-space: nowrap;
}
.wmde-markdown .token.comment,
.wmde-markdown .token.prolog,
.wmde-markdown .token.doctype,
.wmde-markdown .token.cdata {
  color: var(--color-prettylights-syntax-comment);
}
.wmde-markdown .token.namespace {
  opacity: 0.7;
}
.wmde-markdown .token.property,
.wmde-markdown .token.tag,
.wmde-markdown .token.selector,
.wmde-markdown .token.constant,
.wmde-markdown .token.symbol,
.wmde-markdown .token.deleted {
  color: var(--color-prettylights-syntax-entity-tag);
}
.wmde-markdown .token.maybe-class-name {
  color: var(--color-prettylights-syntax-variable);
}
.wmde-markdown .token.property-access,
.wmde-markdown .token.operator,
.wmde-markdown .token.boolean,
.wmde-markdown .token.number,
.wmde-markdown .token.selector .token.class,
.wmde-markdown .token.attr-name,
.wmde-markdown .token.string,
.wmde-markdown .token.char,
.wmde-markdown .token.builtin {
  color: var(--color-prettylights-syntax-constant);
}
.wmde-markdown .token.deleted {
  color: var(--color-prettylights-syntax-markup-deleted-text);
}
.wmde-markdown .code-line .token.deleted {
  background-color: var(--color-prettylights-syntax-markup-deleted-bg);
}
.wmde-markdown .token.inserted {
  color: var(--color-prettylights-syntax-markup-inserted-text);
}
.wmde-markdown .code-line .token.inserted {
  background-color: var(--color-prettylights-syntax-markup-inserted-bg);
}
.wmde-markdown .token.variable {
  color: var(--color-prettylights-syntax-constant);
}
.wmde-markdown .token.entity,
.wmde-markdown .token.url,
.wmde-markdown .language-css .token.string,
.wmde-markdown .style .token.string {
  color: var(--color-prettylights-syntax-string);
}
.wmde-markdown .token.color,
.wmde-markdown .token.atrule,
.wmde-markdown .token.attr-value,
.wmde-markdown .token.function,
.wmde-markdown .token.class-name {
  color: var(--color-prettylights-syntax-string);
}
.wmde-markdown .token.rule,
.wmde-markdown .token.regex,
.wmde-markdown .token.important,
.wmde-markdown .token.keyword {
  color: var(--color-prettylights-syntax-keyword);
}
.wmde-markdown .token.coord {
  color: var(--color-prettylights-syntax-meta-diff-range);
}
.wmde-markdown .token.important,
.wmde-markdown .token.bold {
  font-weight: bold;
}
.wmde-markdown .token.italic {
  font-style: italic;
}
.wmde-markdown .token.entity {
  cursor: help;
}
.w-md-editor-toolbar-child {
  position: absolute;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--md-editor-box-shadow-color), 0 0 0 var(--md-editor-box-shadow-color), 0 1px 1px var(--md-editor-box-shadow-color);
  background-color: var(--md-editor-background-color);
  z-index: 1;
  display: none;
}
.w-md-editor-toolbar-child.active {
  display: block;
}
.w-md-editor-toolbar-child .w-md-editor-toolbar {
  border-bottom: 0;
  padding: 3px;
  border-radius: 3px;
}
.w-md-editor-toolbar-child .w-md-editor-toolbar ul > li {
  display: block;
}
.w-md-editor-toolbar-child .w-md-editor-toolbar ul > li button {
  width: -webkit-fill-available;
  height: initial;
  box-sizing: border-box;
  padding: 3px 4px 2px 4px;
  margin: 0;
}
.w-md-editor-toolbar {
  border-bottom: 1px solid var(--md-editor-box-shadow-color);
  background-color: var(--md-editor-background-color);
  padding: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 3px 3px 0 0;
  -webkit-user-select: none;
          user-select: none;
  flex-wrap: wrap;
}
.w-md-editor-toolbar.bottom {
  border-bottom: 0px;
  border-top: 1px solid var(--md-editor-box-shadow-color);
  border-radius: 0 0 3px 3px;
}
.w-md-editor-toolbar ul,
.w-md-editor-toolbar li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: initial;
}
.w-md-editor-toolbar li {
  display: inline-block;
  font-size: 14px;
}
.w-md-editor-toolbar li + li {
  margin: 0;
}
.w-md-editor-toolbar li > button {
  border: none;
  height: 20px;
  line-height: 14px;
  background: none;
  padding: 4px;
  margin: 0 1px;
  border-radius: 2px;
  text-transform: none;
  font-weight: normal;
  overflow: visible;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  color: var(--color-fg-default);
}
.w-md-editor-toolbar li > button:hover,
.w-md-editor-toolbar li > button:focus {
  background-color: var(--color-neutral-muted);
  color: var(--color-accent-fg);
}
.w-md-editor-toolbar li > button:active {
  background-color: var(--color-neutral-muted);
  color: var(--color-danger-fg);
}
.w-md-editor-toolbar li > button:disabled {
  color: var(--md-editor-box-shadow-color);
  cursor: not-allowed;
}
.w-md-editor-toolbar li > button:disabled:hover {
  background-color: transparent;
  color: var(--md-editor-box-shadow-color);
}
.w-md-editor-toolbar li.active > button {
  color: var(--color-accent-fg);
  background-color: var(--color-neutral-muted);
}
.w-md-editor-toolbar-divider {
  height: 14px;
  width: 1px;
  margin: -3px 3px 0 3px !important;
  vertical-align: middle;
  background-color: var(--md-editor-box-shadow-color);
}
.w-md-editor-area {
  overflow: auto;
  border-radius: 5px;
}
.w-md-editor-text {
  min-height: 100%;
  position: relative;
  text-align: left;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: break-word;
  box-sizing: border-box;
  padding: 10px;
  margin: 0;
  font-size: 14px !important;
  line-height: 18px !important;
  font-variant-ligatures: common-ligatures;
}
.w-md-editor-text-pre,
.w-md-editor-text-input,
.w-md-editor-text > .w-md-editor-text-pre {
  margin: 0;
  border: 0;
  background: none;
  box-sizing: inherit;
  display: inherit;
  font-family: inherit;
  font-family: var(--md-editor-font-family) !important;
  font-size: inherit;
  font-style: inherit;
  font-variant-ligatures: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  tab-size: inherit;
  text-indent: inherit;
  text-rendering: inherit;
  text-transform: inherit;
  white-space: inherit;
  overflow-wrap: inherit;
  word-break: inherit;
  word-break: normal;
  padding: 0;
}
.w-md-editor-text-pre {
  position: relative;
  margin: 0px !important;
  pointer-events: none;
  background-color: transparent !important;
}
.w-md-editor-text-pre > code {
  padding: 0 !important;
  font-family: var(--md-editor-font-family) !important;
  font-size: 14px !important;
  line-height: 18px !important;
}
.w-md-editor-text-input {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  resize: none;
  color: inherit;
  overflow: hidden;
  outline: 0;
  padding: inherit;
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: transparent;
}
.w-md-editor-text-input:empty {
  -webkit-text-fill-color: inherit !important;
}
.w-md-editor-text-pre,
.w-md-editor-text-input {
  word-wrap: pre;
  word-break: break-word;
  white-space: pre-wrap;
}
/**
 * Hack to apply on some CSS on IE10 and IE11
 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /**
    * IE doesn't support '-webkit-text-fill-color'
    * So we use 'color: transparent' to make the text transparent on IE
    * Unlike other browsers, it doesn't affect caret color in IE
    */
  .w-md-editor-text-input {
    color: transparent !important;
  }
  .w-md-editor-text-input::selection {
    background-color: #accef7 !important;
    color: transparent !important;
  }
}
.w-md-editor-text-pre .punctuation {
  color: var(--color-prettylights-syntax-comment, #8b949e) !important;
}
.w-md-editor-text-pre .token.url,
.w-md-editor-text-pre .token.content {
  color: var(--color-prettylights-syntax-constant, #0550ae) !important;
}
.w-md-editor-text-pre .token.title.important {
  color: var(--color-prettylights-syntax-markup-bold, #24292f);
}
.w-md-editor-text-pre .token.code-block .function {
  color: var(--color-prettylights-syntax-entity, #8250df);
}
.w-md-editor-text-pre .token.bold {
  font-weight: unset !important;
}
.w-md-editor-text-pre .token.title {
  line-height: unset !important;
  font-size: unset !important;
  font-weight: unset !important;
}
.w-md-editor-text-pre .token.code.keyword {
  color: var(--color-prettylights-syntax-constant, #0550ae) !important;
}
.w-md-editor-text-pre .token.strike,
.w-md-editor-text-pre .token.strike .content {
  color: var(--color-prettylights-syntax-markup-deleted-text, #82071e) !important;
}
.w-md-editor-bar {
  position: absolute;
  cursor: s-resize;
  right: 0;
  bottom: 0;
  margin-top: -11px;
  margin-right: 0;
  width: 14px;
  z-index: 3;
  height: 10px;
  border-radius: 0 0 3px 0;
  -webkit-user-select: none;
          user-select: none;
}
.w-md-editor-bar svg {
  display: block;
  margin: 0 auto;
}
.w-md-editor {
  text-align: left;
  border-radius: 3px;
  padding-bottom: 1px;
  position: relative;
  color: var(--color-fg-default);
  --md-editor-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --md-editor-background-color: var(--color-canvas-default, #ffffff);
  --md-editor-box-shadow-color: var(--color-border-default, #d0d7de);
  box-shadow: 0 0 0 1px var(--md-editor-box-shadow-color), 0 0 0 var(--md-editor-box-shadow-color), 0 1px 1px var(--md-editor-box-shadow-color);
  background-color: var(--md-editor-background-color);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}
.w-md-editor.w-md-editor-rtl {
  direction: rtl !important;
  text-align: right !important;
}
.w-md-editor.w-md-editor-rtl .w-md-editor-preview {
  right: unset !important;
  left: 0;
  text-align: right !important;
  box-shadow: inset -1px 0 0 0 var(--md-editor-box-shadow-color);
}
.w-md-editor.w-md-editor-rtl .w-md-editor-text {
  text-align: right !important;
}
.w-md-editor-toolbar {
  height: -webkit-fit-content;
  height: fit-content;
}
.w-md-editor-content {
  height: 100%;
  overflow: auto;
  position: relative;
  border-radius: 0 0 3px 0;
}
.w-md-editor .copied {
  display: none !important;
}
.w-md-editor-input {
  width: 50%;
  height: 100%;
}
.w-md-editor-text-pre > code {
  word-break: break-word !important;
  white-space: pre-wrap !important;
}
.w-md-editor-preview {
  width: 50%;
  box-sizing: border-box;
  box-shadow: inset 1px 0 0 0 var(--md-editor-box-shadow-color);
  position: absolute;
  padding: 10px 20px;
  overflow: auto;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 0 5px 0;
  display: flex;
  flex-direction: column;
}
.w-md-editor-preview .anchor {
  display: none;
}
.w-md-editor-preview .contains-task-list li.task-list-item {
  list-style: none;
}
.w-md-editor-show-preview .w-md-editor-input {
  width: 0%;
  overflow: hidden;
  background-color: var(--md-editor-background-color);
}
.w-md-editor-show-preview .w-md-editor-preview {
  width: 100%;
  box-shadow: inset 0 0 0 0;
}
.w-md-editor-show-edit .w-md-editor-input {
  width: 100%;
}
.w-md-editor-show-edit .w-md-editor-preview {
  width: 0%;
  padding: 0;
}
.w-md-editor-fullscreen {
  overflow: hidden;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100% !important;
}
.w-md-editor-fullscreen .w-md-editor-content {
  height: 100%;
}
/* ============================================================
   ADMIN PAGES — Gerenciador de Páginas do Site
   Padrão visual Phobos Intranet
   ============================================================ */

/* ---- Container principal ---- */
.pages-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.pages-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}

.pages-header::before {
  content: "\f15c"; /* fa-file */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2.5rem;
  bottom: -0.5rem;
  font-size: 7rem;
  opacity: 0.07;
  color: white;
  pointer-events: none;
  line-height: 1;
}

.pages-header-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pages-header-title h1 i {
  font-size: 1.5rem;
  opacity: 0.9;
}

.pages-header-title p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

/* ---- Botão principal ---- */
.btn-new-page {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.9375rem;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.btn-new-page:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ---- Cards de estatísticas ---- */
.pages-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* reutiliza premium-stat-card do admin-pages.css */

/* ---- Filter bar ---- */
.pages-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}

.pages-filter-bar__search {
  position: relative;
  flex: 1;
}

.pages-filter-bar__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8a9ab8;
  font-size: 0.875rem;
  pointer-events: none;
}

.pages-filter-bar__input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #374151;
  background: #f8fafc;
  transition: border-color 0.2s;
  outline: none;
}

.pages-filter-bar__input:focus {
  border-color: #0A4EA0;
  background: white;
}

.pages-filter-bar__count {
  font-size: 0.875rem;
  color: #64748b;
  white-space: nowrap;
  font-weight: 500;
}

.pages-filter-bar__count-num {
  font-weight: 700;
  color: #0A4EA0;
  margin-right: 0.25rem;
}

/* ---- Tabela ---- */
.pages-table-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.pages-table-card__header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1e293b;
}

.pages-table-card__header i {
  color: #0A4EA0;
  font-size: 1rem;
}

.pages-table {
  width: 100%;
  border-collapse: collapse;
}

.pages-table thead tr {
  background: #f1f5fb;
}

.pages-table thead th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}

.pages-table tbody tr {
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.15s;
}

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

.pages-table tbody tr:hover {
  background: #f8fbff;
}

.pages-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.9375rem;
  color: #374151;
  vertical-align: middle;
}

/* Coluna título */
.pages-table .col-title {
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Badge Fixa */
.badge-fixed {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(10, 78, 160, 0.1);
  color: #0A4EA0;
  border: 1px solid rgba(10, 78, 160, 0.25);
}

/* Code slug */
.slug-code {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  background: #f1f5fb;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  color: #334155;
  border: 1px solid #e2e8f0;
}

/* Status badges */
.status-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
  cursor: pointer;
  transition: all 0.2s;
}

.status-badge-active:hover {
  background: rgba(5, 150, 105, 0.2);
}

.status-badge-inactive {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.status-badge-inactive:hover {
  background: rgba(100, 116, 139, 0.2);
}

/* Ações */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.btn-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-icon--view {
  background: #f0f4ff;
  color: #0A4EA0;
}

.btn-action-icon--view:hover {
  background: #0A4EA0;
  color: white;
}

.btn-action-icon--edit {
  background: #f0f9ff;
  color: #0891b2;
}

.btn-action-icon--edit:hover {
  background: #0891b2;
  color: white;
}

.btn-action-icon--delete {
  background: #fff1f2;
  color: #dc2626;
}

.btn-action-icon--delete:hover {
  background: #dc2626;
  color: white;
}

/* Empty state */
.pages-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #8a9ab8;
}

.pages-empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.pages-empty-state p {
  font-size: 1rem;
  margin: 0;
}

/* ============================================================
   MODAL — estilo Phobos
   ============================================================ */

.pages-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(3px);
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pages-modal {
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s ease;
  overflow: hidden;
}

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

.pages-modal--large {
  max-width: 1100px;
}

.pages-modal__header {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.pages-modal__header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pages-modal__close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.pages-modal__close:hover {
  background: rgba(255,255,255,0.35);
}

.pages-modal__body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.pages-modal__body::-webkit-scrollbar { width: 6px; }
.pages-modal__body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.pages-modal__body::-webkit-scrollbar-thumb { background: #0A4EA0; border-radius: 3px; }

.pages-modal__footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid #e8edf5;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8f9fa;
  flex-shrink: 0;
}

/* Form fields in modal */
.pages-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.pages-form-group {
  margin-bottom: 1.25rem;
}

.pages-form-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.45rem;
}

.pages-form-group label i {
  color: #0A4EA0;
  font-size: 0.8rem;
}

.pages-form-control {
  width: 100%;
  padding: 0.575rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.pages-form-control:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  background: white;
}

.pages-form-control:disabled {
  opacity: 0.6;
  background: #f0f4f8;
  cursor: not-allowed;
}

.pages-form-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* Fixed page notice */
.pages-fixed-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 78, 160, 0.06);
  border: 1px solid rgba(10, 78, 160, 0.2);
  border-radius: 10px;
  color: #1e40af;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.pages-fixed-notice i {
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: #0A4EA0;
}

/* MD Editor wrapper */
.pages-md-editor-wrapper {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
}

/* Modal primary button */
.btn-modal-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  padding: 0.65rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-modal-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-modal-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-modal-secondary {
  background: white;
  color: #374151;
  border: 1.5px solid #d1d5db;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-modal-secondary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* Preview toggle button */
.btn-preview-toggle {
  background: rgba(10, 78, 160, 0.08);
  color: #0A4EA0;
  border: 1.5px solid rgba(10, 78, 160, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 7px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-preview-toggle:hover {
  background: rgba(10, 78, 160, 0.15);
}

/* Label + preview toggle */
.pages-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.pages-label-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .pages-page { padding: 1rem; }
  .pages-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .pages-form-row { grid-template-columns: 1fr; }
  .pages-modal { border-radius: 12px; }
}
/* ============================================================
   ADMIN SETTINGS — Configurações do Site
   Padrão visual Phobos Intranet
   ============================================================ */

.settings-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.settings-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}

.settings-header::before {
  content: "\f013"; /* fa-cog */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2rem;
  bottom: -1rem;
  font-size: 8rem;
  opacity: 0.07;
  color: white;
  pointer-events: none;
  line-height: 1;
}

.settings-header-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.settings-header-title p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

/* ---- Layout de grupos ---- */
.settings-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---- Card de grupo ---- */
.settings-group-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.settings-group-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.settings-group-header {
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  background: linear-gradient(to right, #f8fbff, white);
}

.settings-group-header i {
  color: #0A4EA0;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.settings-group-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ---- Campo individual ---- */
.settings-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.settings-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.settings-field label i {
  color: #0A4EA0;
  font-size: 0.78rem;
  width: 14px;
  text-align: center;
}

.settings-field-row {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

.settings-input {
  flex: 1;
  padding: 0.575rem 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.settings-input:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  background: white;
}

.settings-textarea {
  flex: 1;
  padding: 0.575rem 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.settings-textarea:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  background: white;
}

/* ---- Botão salvar individual ---- */
.btn-save-field {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
  align-self: flex-start;
  margin-top: 0;
}

.btn-save-field:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

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

/* Para textarea, alinhar o botão ao topo */
.settings-field-row--textarea .btn-save-field {
  margin-top: 0;
  align-self: flex-start;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .settings-page { padding: 1rem; }
  .settings-header { padding: 1.5rem; }
  .settings-group-body { padding: 1.25rem; }
}
/* ============================================================
   ADMIN DEMONSTRATIONS — Solicitações de Demonstração
   Padrão visual Phobos Intranet
   ============================================================ */

.demos-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.demos-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}

.demos-header::before {
  content: "\f022";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2rem;
  bottom: -1rem;
  font-size: 8rem;
  opacity: 0.07;
  color: white;
  pointer-events: none;
  line-height: 1;
}

.demos-header-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demos-header-title p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

/* ---- Stats ---- */
.demos-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* ---- Table card ---- */
.demos-table-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
}

.demos-table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  background: linear-gradient(to right, #f8fbff, white);
}

.demos-table-header i { color: #0A4EA0; }

.demos-table-search {
  margin-left: auto;
  position: relative;
}

.demos-table-search i {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.8rem;
  pointer-events: none;
}

.demos-search-input {
  padding: 0.4rem 0.75rem 0.4rem 2rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  color: #374151;
  background: #f8fafc;
  width: 220px;
  transition: border-color 0.2s;
}

.demos-search-input:focus {
  border-color: #0A4EA0;
  background: white;
}

/* Table */
.demos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.demos-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e8edf5;
  white-space: nowrap;
}

.demos-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0f4f8;
  color: #374151;
  vertical-align: top;
}

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

.demos-table tbody tr:hover { background: #f8fbff; }

/* Name cell */
.demo-name {
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.15rem;
}

.demo-company {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
}

/* Contact links */
.demo-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.demo-contact-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.demo-contact-link:hover { color: #0A4EA0; text-decoration: underline; }
.demo-contact-link i { color: #0A4EA0; font-size: 0.78rem; width: 14px; }

/* Message preview */
.demo-message {
  max-width: 260px;
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Status badge */
.demo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.demo-status-badge--new      { background: #eff6ff; color: #1d4ed8; }
.demo-status-badge--pending  { background: #fefce8; color: #92400e; }
.demo-status-badge--done     { background: #f0fdf4; color: #15803d; }

/* Date */
.demo-date {
  font-size: 0.82rem;
  color: #64748b;
  white-space: nowrap;
}

/* Action buttons */
.demos-actions { display: flex; gap: 0.4rem; align-items: center; }

.btn-demo-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-demo-action--reply  { background: #f0f9ff; color: #0891b2; }
.btn-demo-action--reply:hover  { background: #0891b2; color: white; }
.btn-demo-action--status { background: #f0fdf4; color: #059669; }
.btn-demo-action--status:hover { background: #059669; color: white; }
.btn-demo-action--delete { background: #fff1f2; color: #dc2626; }
.btn-demo-action--delete:hover { background: #dc2626; color: white; }

/* Empty */
.demos-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: #94a3b8;
}

.demos-empty i {
  font-size: 3.5rem;
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
}

/* Detail drawer / expanded row */
.demo-expanded td {
  background: #f8fbff;
  padding-top: 0;
}

.demo-expanded-body {
  padding: 0.75rem 0.5rem 0.5rem;
  border-top: 1px dashed #dbe8f8;
}

.demo-expanded-body h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.4rem;
  letter-spacing: 0.05em;
}

.demo-full-message {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.7;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

@media (max-width: 900px) {
  .demos-page { padding: 1rem; }
  .demos-table th:nth-child(4),
  .demos-table td:nth-child(4) { display: none; }
  .demos-search-input { width: 150px; }
}
/* ============================================================
   ADMIN FORMS — Central de Formulários
   Padrão visual Phobos Intranet
   ============================================================ */

.forms-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.forms-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}
.forms-header::before {
  content: "\f15c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2rem; bottom: -1rem;
  font-size: 8rem;
  opacity: 0.07; color: white;
  pointer-events: none; line-height: 1;
}
.forms-header-title h1 {
  font-size: 1.75rem; font-weight: 700;
  color: white; margin: 0 0 0.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.forms-header-title p {
  color: rgba(255,255,255,0.75);
  margin: 0; font-size: 0.9375rem;
}

/* ---- Stats ---- */
.forms-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* ---- Tabs ---- */
.forms-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.forms-tab {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.forms-tab:hover { border-color: #0A4EA0; color: #0A4EA0; }
.forms-tab--active {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: white; border-color: transparent;
}
.forms-tab-count {
  background: rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.forms-tab--active .forms-tab-count { background: rgba(255,255,255,0.25); }
.forms-tab:not(.forms-tab--active) .forms-tab-count {
  background: #f1f5f9;
  color: #0A4EA0;
}

/* ---- Analytics row ---- */
.forms-analytics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.forms-analytics-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 1.5rem;
}
.forms-analytics-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.forms-analytics-card h3 i { color: #0A4EA0; }

/* Conversion funnel */
.funnel-item {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.funnel-item:last-child { margin-bottom: 0; }
.funnel-label {
  min-width: 90px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  display: flex; align-items: center; gap: 0.3rem;
}
.funnel-label i { color: #0A4EA0; font-size: 0.7rem; }
.funnel-bar-bg {
  flex: 1;
  height: 8px;
  background: #f0f4f8;
  border-radius: 4px;
  overflow: hidden;
}
.funnel-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}
.funnel-bar--new     { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.funnel-bar--pending { background: linear-gradient(90deg, #f59e0b, #d97706); }
.funnel-bar--done    { background: linear-gradient(90deg, #10b981, #059669); }
.funnel-pct {
  min-width: 40px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
}
.funnel-count {
  min-width: 24px;
  text-align: right;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Form type breakdown */
.formtype-item {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f4f8;
}
.formtype-item:last-child { border-bottom: none; }
.formtype-name {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.87rem; font-weight: 600; color: #1e293b;
}
.formtype-name i { color: #0A4EA0; font-size: 0.8rem; }
.formtype-badge {
  background: #eff6ff; color: #1d4ed8;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Recent trend */
.trend-empty {
  text-align: center; padding: 1.5rem;
  color: #cbd5e1; font-size: 0.85rem;
}

/* ---- Table ---- */
.forms-table-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
}
.forms-table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e8edf5;
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 0.95rem; color: #1e293b;
  background: linear-gradient(to right, #f8fbff, white);
}
.forms-table-header i { color: #0A4EA0; }
.forms-table-search {
  margin-left: auto; position: relative;
}
.forms-table-search i {
  position: absolute; left: 0.7rem; top: 50%;
  transform: translateY(-50%); color: #94a3b8;
  font-size: 0.8rem; pointer-events: none;
}
.forms-search-input {
  padding: 0.4rem 0.75rem 0.4rem 2rem;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: 0.875rem; outline: none; color: #374151;
  background: #f8fafc; width: 220px; transition: border-color 0.2s;
}
.forms-search-input:focus { border-color: #0A4EA0; background: white; }

.forms-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.forms-table th {
  padding: 0.875rem 1.25rem;
  text-align: left; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #64748b;
  background: #f8fafc; border-bottom: 1px solid #e8edf5;
  white-space: nowrap;
}
.forms-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f0f4f8;
  color: #374151; vertical-align: top;
}
.forms-table tr:last-child td { border-bottom: none; }
.forms-table tbody tr:hover { background: #f8fbff; }

/* Cell styles */
.form-name { font-weight: 700; color: #1e293b; margin: 0 0 0.15rem; }
.form-company {
  font-size: 0.8rem; color: #64748b;
  display: flex; align-items: center; gap: 0.3rem; margin: 0;
}
.form-contact-links { display: flex; flex-direction: column; gap: 0.3rem; }
.form-contact-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: #374151;
  text-decoration: none; transition: color 0.2s;
}
.form-contact-link:hover { color: #0A4EA0; text-decoration: underline; }
.form-contact-link i { color: #0A4EA0; font-size: 0.78rem; width: 14px; }

/* Type badge */
.form-type-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.7rem; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.form-type-badge--demonstration { background: #f0f9ff; color: #0369a1; }
.form-type-badge--contact       { background: #f0fdf4; color: #15803d; }
.form-type-badge--other         { background: #faf5ff; color: #7e22ce; }

/* Status */
.form-status-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.7rem; border-radius: 12px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: all 0.2s;
}
.form-status-badge:hover { filter: brightness(0.92); }
.form-status-badge--new     { background: #eff6ff; color: #1d4ed8; }
.form-status-badge--pending { background: #fefce8; color: #92400e; }
.form-status-badge--done    { background: #f0fdf4; color: #15803d; }

.form-message-preview {
  max-width: 220px;
  font-size: 0.82rem; color: #64748b;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.form-date { font-size: 0.82rem; color: #94a3b8; white-space: nowrap; }

/* Actions */
.forms-actions { display: flex; gap: 0.4rem; }
.btn-form-action {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; cursor: pointer; transition: all 0.2s;
}
.btn-form-action--reply  { background: #f0f9ff; color: #0891b2; }
.btn-form-action--reply:hover  { background: #0891b2; color: white; }
.btn-form-action--next   { background: #f0fdf4; color: #059669; }
.btn-form-action--next:hover   { background: #059669; color: white; }
.btn-form-action--delete { background: #fff1f2; color: #dc2626; }
.btn-form-action--delete:hover { background: #dc2626; color: white; }

/* Expanded row */
.form-row-expanded td { background: #f8fbff; padding-top: 0; }
.form-expanded-body {
  padding: 0.75rem 0.5rem 0.5rem;
  border-top: 1px dashed #dbe8f8;
}
.form-expanded-body h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; color: #94a3b8;
  margin: 0 0 0.4rem; letter-spacing: 0.05em;
}
.form-full-message {
  font-size: 0.88rem; color: #374151; line-height: 1.7;
  background: white; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 0.75rem 1rem;
}
.form-extra-fields {
  display: flex; gap: 1.5rem; margin-top: 0.6rem; flex-wrap: wrap;
}
.form-extra-field { font-size: 0.82rem; color: #64748b; }
.form-extra-field strong { color: #374151; font-weight: 600; margin-right: 0.3rem; }

/* Empty */
.forms-empty {
  text-align: center; padding: 5rem 2rem; color: #94a3b8;
}
.forms-empty i {
  font-size: 3.5rem; opacity: 0.25;
  display: block; margin-bottom: 1rem;
}

@media (max-width: 1000px) {
  .forms-analytics { grid-template-columns: 1fr; }
  .forms-page { padding: 1rem; }
  .forms-search-input { width: 150px; }
}
@media (max-width: 700px) {
  .forms-table th:nth-child(3),
  .forms-table td:nth-child(3),
  .forms-table th:nth-child(5),
  .forms-table td:nth-child(5) { display: none; }
}
/* ══════════════════════════════════════════════════════════════════════════
   Chatbot Config — Phobos Premium Design
   ══════════════════════════════════════════════════════════════════════════ */

.chatbot-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 2rem;
    min-height: calc(100vh - 160px);
    background: #f8f9fa;
}

/* ── Header ── */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(10, 78, 160, 0.2);
    animation: chatbot-fadeIn 0.5s ease;
}

.chatbot-header__title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chatbot-header__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1.35rem;
    color: #fff;
    backdrop-filter: blur(4px);
}

.chatbot-header__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.chatbot-header__subtitle {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 0;
}

/* ── Status Badge ── */
.chatbot-status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.chatbot-status-badge--active {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.chatbot-status-badge--inactive {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.chatbot-status-badge__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chatbot-status-badge__dot--active {
    background: #10b981;
    animation: chatbot-pulse 1.8s ease-in-out infinite;
}

.chatbot-status-badge__dot--inactive {
    background: #f87171;
}

@keyframes chatbot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ── Main Grid ── */
.chatbot-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    animation: chatbot-slideUp 0.6s ease;
}

/* ── Card ── */
.chatbot-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.chatbot-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.chatbot-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}

.chatbot-card__header-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(10, 78, 160, 0.2);
}

.chatbot-card__header-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px;
}

.chatbot-card__header-text p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.chatbot-card__body {
    padding: 24px;
}

/* ── Form Group ── */
.chatbot-form-group {
    margin-bottom: 20px;
}

.chatbot-form-group:last-of-type {
    margin-bottom: 0;
}

.chatbot-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.chatbot-form-label i {
    color: #0A4EA0;
    width: 16px;
    font-size: 0.8rem;
}

.chatbot-form-input,
.chatbot-form-textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
    transition: all 0.25s ease;
    font-family: inherit;
}

.chatbot-form-input:focus,
.chatbot-form-textarea:focus {
    outline: none;
    border-color: #0A4EA0;
    box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
}

.chatbot-form-input::placeholder,
.chatbot-form-textarea::placeholder {
    color: #94a3b8;
}

.chatbot-form-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.chatbot-form-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-form-hint i {
    font-size: 0.72rem;
}

/* ── Toggle Row ── */
.chatbot-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(10, 78, 160, 0.04) 0%, rgba(0, 43, 94, 0.04) 100%);
    border-radius: 12px;
    border: 1px solid rgba(10, 78, 160, 0.1);
    margin-top: 24px;
    transition: all 0.3s ease;
}

.chatbot-toggle-row:hover {
    border-color: rgba(10, 78, 160, 0.2);
    background: linear-gradient(135deg, rgba(10, 78, 160, 0.06) 0%, rgba(0, 43, 94, 0.06) 100%);
}

.chatbot-toggle-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
}

.chatbot-toggle-info p {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

/* Custom Toggle Switch */
.chatbot-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.chatbot-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.chatbot-switch__slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-switch__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-switch input:checked+.chatbot-switch__slider {
    background: linear-gradient(135deg, #0A4EA0, #1a6fd4);
    box-shadow: 0 0 12px rgba(10, 78, 160, 0.3);
}

.chatbot-switch input:checked+.chatbot-switch__slider::before {
    transform: translateX(24px);
}

/* ── Submit Button Area ── */
.chatbot-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 18px 24px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.chatbot-btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(10, 78, 160, 0.3);
}

.chatbot-btn-save:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 78, 160, 0.4);
}

.chatbot-btn-save:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.chatbot-btn-save i {
    font-size: 0.85rem;
}

/* ── Preview Card ── */
.chatbot-preview {
    position: sticky;
    top: 24px;
}

.chatbot-preview-widget {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    background: #fff;
}

/* Preview Header */
.chatbot-preview__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
    color: #fff;
}

.chatbot-preview__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chatbot-preview__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-preview__name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.chatbot-preview__status {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.chatbot-preview__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    animation: chatbot-pulse 1.8s ease-in-out infinite;
}

.chatbot-preview__close {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: default;
    font-size: 0.85rem;
}

/* Preview Messages */
.chatbot-preview__messages {
    padding: 20px 16px;
    min-height: 280px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-preview__msg {
    display: flex;
    gap: 10px;
    animation: chatbot-msgIn 0.4s ease;
}

.chatbot-preview__msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-preview__msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-preview__msg-bubble {
    background: #fff;
    padding: 12px 16px;
    border-radius: 4px 16px 16px 16px;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
    max-width: 85%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.chatbot-preview__msg--typing {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chatbot-preview__typing-dots {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.chatbot-preview__typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: chatbot-typing 1.4s ease-in-out infinite;
}

.chatbot-preview__typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.chatbot-preview__typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatbot-typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes chatbot-msgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* Preview Input */
.chatbot-preview__input-area {
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chatbot-preview__input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
    background: #f8fafc;
    cursor: default;
}

.chatbot-preview__send-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: default;
    box-shadow: 0 3px 10px rgba(10, 78, 160, 0.25);
    flex-shrink: 0;
}

/* ── Status Indicator Card ── */
.chatbot-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: chatbot-fadeIn 0.4s ease;
}

.chatbot-status-card--active {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.chatbot-status-card--inactive {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.chatbot-status-card i {
    font-size: 1rem;
}

/* ── Quick Info Card ── */
.chatbot-info-card {
    margin-top: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chatbot-info-card__title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0A4EA0;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-info-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chatbot-info-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.82rem;
    color: #475569;
    border-bottom: 1px solid #f8f9fa;
}

.chatbot-info-card__list li:last-child {
    border-bottom: none;
}

.chatbot-info-card__list li i {
    color: #0A4EA0;
    width: 16px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ── API Key Section ── */
.chatbot-apikey-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 7px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
}

.chatbot-apikey-badge i {
    font-size: 0.75rem;
}

.chatbot-apikey-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chatbot-apikey-input-wrapper {
    flex: 1;
    position: relative;
}

.chatbot-apikey-input-wrapper .chatbot-form-input {
    padding-right: 44px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.chatbot-apikey-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.chatbot-apikey-toggle:hover {
    color: #0A4EA0;
    background: rgba(10, 78, 160, 0.06);
}

.chatbot-form-hint a {
    color: #0A4EA0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.chatbot-form-hint a:hover {
    color: #002b5e;
    text-decoration: underline;
}

/* ── Animations ── */
@keyframes chatbot-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes chatbot-slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .chatbot-grid {
        grid-template-columns: 1fr;
    }

    .chatbot-preview {
        position: static;
    }
}

@media (max-width: 768px) {
    .chatbot-page {
        padding: 1rem;
    }

    .chatbot-header {
        padding: 18px 20px;
    }

    .chatbot-header__title {
        font-size: 1.2rem;
    }
}
/* ── Training Session Card ── */
.training-card .chatbot-card__header {
    border-bottom: 1px solid #d1fae5;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.training-correction-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-wrap: wrap;
}

.training-section-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 500;
}

.training-history {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    background: #f8fafc;
}

/* ── Training Session Modal ── */
.training-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: training-fade-in 0.18s ease;
}

@keyframes training-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.training-modal {
    background: white;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: training-slide-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes training-slide-in {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.training-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f0fdf4, #f8fafc);
    flex-shrink: 0;
}

.training-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

.training-modal__left {
    padding: 24px;
    border-right: 1px solid #f1f5f9;
    overflow-y: auto;
}

.training-modal__right {
    padding: 24px;
    overflow-y: auto;
    background: #fafbfc;
}

.training-modal__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .training-modal__body {
        grid-template-columns: 1fr;
    }
    .training-modal__left {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }
}
/* Leads Container */
.leads-container {
  padding: 2rem;
  background: #f8f9fa;
  min-height: 100vh;
}

/* Header */
.leads-header {
  margin-bottom: 2rem;
}

.leads-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.leads-title-section {
  flex: 1;
}

.leads-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0A4EA0;
  margin: 0;
  display: flex;
  align-items: center;
}

.leads-subtitle {
  color: #6c757d;
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}

.leads-actions {
  display: flex;
  align-items: center;
}

/* Stats Cards */
.stats-card {
  padding: 1.25rem;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stats-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.stats-content {
  flex: 1;
}

.stats-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.stats-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.kanban-column {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
}

.kanban-column-header {
  padding: 1rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.kanban-column-title {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.kanban-column-count {
  background: rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.kanban-column-content {
  padding: 0.75rem;
  min-height: 500px;
  max-height: 600px;
  overflow-y: auto;
  transition: background 0.2s ease;
}

.kanban-column-content.dragging-over {
  background: #f0f7ff;
}

.kanban-column-content::-webkit-scrollbar {
  width: 6px;
}

.kanban-column-content::-webkit-scrollbar-track {
  background: transparent;
}

.kanban-column-content::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

/* Lead Card */
.lead-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.lead-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #0A4EA0;
}

.lead-card.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
}

.lead-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
}

.lead-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.btn-delete {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.btn-delete:hover {
  opacity: 1;
}

.lead-card-body {
  margin-bottom: 0.75rem;
}

.lead-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.lead-info i {
  width: 16px;
  font-size: 0.9rem;
}

.lead-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f5;
  font-size: 0.8rem;
  color: #6c757d;
}

.lead-date {
  display: flex;
  align-items: center;
}

.lead-source i {
  font-size: 1rem;
}

.empty-column {
  text-align: center;
  padding: 3rem 1rem;
  color: #adb5bd;
}

.empty-column i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.empty-column p {
  margin: 0;
  font-size: 0.9rem;
}

/* List View */
.list-view {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-top: 1.5rem;
  animation: fadeInUp 0.5s ease;
}

.leads-table {
  margin: 0;
}

.leads-table thead {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: white;
}

.leads-table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.leads-table tbody tr {
  transition: all 0.2s ease;
}

.leads-table tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.01);
}

.leads-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  font-size: 0.9rem;
}

.avatar-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.status-select {
  max-width: 150px;
  cursor: pointer;
}

/* Modal Customization */
.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.5rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.lead-detail-item {
  margin-bottom: 1.25rem;
}

.lead-detail-item label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

.lead-detail-item p {
  margin: 0;
  color: #212529;
  font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
}

.btn-outline-primary {
  border-color: #0A4EA0;
  color: #0A4EA0;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: #0A4EA0;
  border-color: #0A4EA0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1400px) {
  .kanban-board {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leads-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
  
  .leads-container {
    padding: 1rem;
  }
  
  .leads-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ADMIN PRODUCTS — Padrão visual Phobos Intranet
   (espelha o padrão de Pages.css)
   ============================================================ */

/* ---- Container principal ---- */
.products-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.products-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}

.products-header::before {
  content: "\f466"; /* fa-box */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2.5rem;
  bottom: -0.5rem;
  font-size: 7rem;
  opacity: 0.07;
  color: white;
  pointer-events: none;
  line-height: 1;
}

.products-header-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.products-header-title h1 i {
  font-size: 1.5rem;
  opacity: 0.9;
}

.products-header-title p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

.btn-new-product {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.9375rem;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.btn-new-product:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ---- Stats row ---- */
.products-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* reutiliza .premium-stat-card de admin-pages.css */

/* ---- Catalog grid ---- */
.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ==== Product Card ==== */
.product-catalog-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1.5px solid transparent;
}

.product-catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(10, 78, 160, 0.15);
  border-color: rgba(10, 78, 160, 0.2);
}

/* Banner topo do card */
.product-catalog-card-banner {
  height: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}

.product-catalog-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}

/* Gradients */
.product-grad-0 { background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 100%); }
.product-grad-1 { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }
.product-grad-2 { background: linear-gradient(135deg, #059669 0%, #34d399 100%); }
.product-grad-3 { background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%); }
.product-grad-4 { background: linear-gradient(135deg, #dc2626 0%, #f87171 100%); }
.product-grad-5 { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }

/* Body */
.product-catalog-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
}

.product-catalog-card-body h5 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.25rem;
}

.product-catalog-card-body .product-category {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.product-catalog-card-body .product-desc {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.55;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stat pills */
.product-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5fb;
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  color: #4b5563;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.product-stat-pill i { color: #0A4EA0; font-size: 0.7rem; }

/* Version badge */
.product-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  background: rgba(10, 78, 160, 0.08);
  color: #0A4EA0;
  border: 1px solid rgba(10, 78, 160, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Footer */
.product-catalog-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #f0f4f8;
  background: #fafafa;
}

.product-open-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.product-open-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.btn-card-action {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action--edit {
  background: #f0f9ff;
  color: #0891b2;
}

.btn-card-action--edit:hover {
  background: #0891b2;
  color: white;
}

.btn-card-action--delete {
  background: #fff1f2;
  color: #dc2626;
}

.btn-card-action--delete:hover {
  background: #dc2626;
  color: white;
}

/* ---- Empty state ---- */
.products-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: #8a9ab8;
}

.products-empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.25;
}

/* ---- Modal ---- */
.products-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(3px);
  animation: prodModalFadeIn 0.2s ease;
}

@keyframes prodModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.products-modal {
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: prodModalSlideUp 0.3s ease;
}

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

.products-modal__header {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.products-modal__header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.products-modal__close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.products-modal__close:hover { background: rgba(255,255,255,0.35); }

.products-modal__body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.products-modal__body::-webkit-scrollbar { width: 6px; }
.products-modal__body::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.products-modal__body::-webkit-scrollbar-thumb { background: #0A4EA0; border-radius: 3px; }

.products-modal__footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid #e8edf5;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8f9fa;
  flex-shrink: 0;
}

/* Form fields */
.prod-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.prod-form-group {
  margin-bottom: 1.25rem;
}

.prod-form-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.45rem;
}

.prod-form-group label i { color: #0A4EA0; font-size: 0.8rem; }

.prod-form-control {
  width: 100%;
  padding: 0.575rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.prod-form-control:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  background: white;
}

.prod-form-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* Buttons */
.btn-prod-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  padding: 0.65rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-prod-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-prod-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-prod-secondary {
  background: white;
  color: #374151;
  border: 1.5px solid #d1d5db;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-prod-secondary:hover { background: #f3f4f6; border-color: #9ca3af; }

/* Responsive */
@media (max-width: 768px) {
  .products-page { padding: 1rem; }
  .products-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .prod-form-row { grid-template-columns: 1fr; }
  .products-catalog-grid { grid-template-columns: 1fr; }
}
/* ================================================================
   PRODUCT DETAIL — Premium Management Center v2
   Padrão visual Phobos Intranet
   ================================================================ */

/* === HERO HEADER === */
.pd-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: 0 12px 40px rgba(10, 78, 160, 0.45);
}

.pd-hero::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.pd-hero::after {
  content: "";
  position: absolute;
  bottom: -120px; left: 25%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.pd-hero-icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative; z-index: 2;
}

.pd-hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem; font-weight: 600; color: #fff;
}

.pd-hero-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  text-align: center;
  min-width: 96px;
  position: relative; z-index: 2;
  transition: background 0.2s;
}
.pd-hero-stat:hover { background: rgba(255,255,255,0.2); }

.pd-hero-stat-value {
  font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1;
}
.pd-hero-stat-label {
  font-size: 0.68rem; color: rgba(255,255,255,0.72); margin-top: 5px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Hero buttons — must be above pseudo-elements */
.pd-hero .d-flex.gap-2 {
  position: relative; z-index: 10;
}
.pd-hero-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  font-size: 0.84rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  position: relative; z-index: 10;
}
.pd-hero-btn:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* === BREADCRUMB === */
.pd-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: #64748b;
  margin-bottom: 1.25rem;
}
.pd-breadcrumb-link {
  color: #0A4EA0; text-decoration: none; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 0.35rem;
  transition: color 0.15s;
  background: none; border: none; padding: 0; font-size: 0.82rem;
}
.pd-breadcrumb-link:hover { color: #002b5e; text-decoration: underline; }

/* === TABS === */
.pd-tabs-bar {
  display: flex; gap: 0;
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pd-tabs-bar::-webkit-scrollbar { display: none; }

.pd-tab-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: none; border: none;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-size: 0.84rem; font-weight: 500;
  color: #64748b;
  cursor: pointer; white-space: nowrap;
  transition: all 0.18s;
}
.pd-tab-btn:hover:not(.active) {
  background: #f1f5fb;
  color: #0A4EA0;
}
.pd-tab-btn.active {
  background: linear-gradient(135deg, #0A4EA0, #1a6fd4);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(10,78,160,0.32);
}
.pd-tab-badge {
  background: rgba(255,255,255,0.28);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.68rem; font-weight: 700;
}
.pd-tab-btn:not(.active) .pd-tab-badge {
  background: #e8edf5;
  color: #64748b;
}

/* === CONTENT CARDS === */
.pd-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.pd-card-header {
  padding: 1.4rem 1.75rem;
  border-bottom: 1.5px solid #f0f4f8;
  display: flex; align-items: center; justify-content: space-between;
  background: #fafbff;
}
.pd-card-header h6 {
  font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.pd-card-header h6 i { color: #0A4EA0; }

.pd-card-body { padding: 1.75rem; }

/* === INFO GRID === */
.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pd-info-tile {
  background: linear-gradient(135deg, #f8faff 0%, #f1f5fb 100%);
  border: 2px solid #e8edf5;
  border-radius: 14px;
  padding: 1.1rem 1rem;
  transition: all 0.2s;
}
.pd-info-tile:hover {
  border-color: #c7d9f5;
  box-shadow: 0 4px 12px rgba(10,78,160,0.08);
  transform: translateY(-2px);
}
.pd-info-tile-label {
  font-size: 0.7rem; color: #64748b;
  text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 600; margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.pd-info-tile-label i { color: #0A4EA0; }
.pd-info-tile-value {
  font-size: 1.05rem; font-weight: 700; color: #1e293b;
}

/* === VERSION TIMELINE === */
.pd-timeline {
  position: relative;
  padding-left: 2.75rem;
}
.pd-timeline::before {
  content: "";
  position: absolute; left: 12px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, #0A4EA0 0%, #e2e8f0 100%);
}

.pd-timeline-entry {
  position: relative; margin-bottom: 2rem;
}
.pd-timeline-entry:last-child { margin-bottom: 0; }

.pd-timeline-dot {
  position: absolute; left: -2.75rem; top: 20px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  z-index: 1;
}
.pd-timeline-dot.feature     { background: linear-gradient(135deg,#0A4EA0,#1a6fd4); }
.pd-timeline-dot.bugfix      { background: linear-gradient(135deg,#ef4444,#dc2626); }
.pd-timeline-dot.improvement { background: linear-gradient(135deg,#059669,#10b981); }
.pd-timeline-dot.breaking    { background: linear-gradient(135deg,#d97706,#f59e0b); }

.pd-version-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.22s;
}
.pd-version-card:hover {
  border-color: #c7d9f5;
  box-shadow: 0 8px 28px rgba(10,78,160,0.1);
  transform: translateY(-2px);
}

.pd-version-head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1.5px solid #f0f4f8;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  background: #fafbff;
}
.pd-version-body {
  padding: 1.1rem 1.5rem;
  font-size: 0.875rem; line-height: 1.75;
  color: #4b5563;
  background: #fff;
}

/* === TYPE BADGES === */
.pd-type-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.pd-type-badge.feature     { background: rgba(10,78,160,0.1);   color: #0A4EA0; border: 1px solid rgba(10,78,160,0.2); }
.pd-type-badge.bugfix      { background: rgba(239,68,68,0.1);   color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.pd-type-badge.improvement { background: rgba(5,150,105,0.1);   color: #059669; border: 1px solid rgba(5,150,105,0.2); }
.pd-type-badge.breaking    { background: rgba(217,119,6,0.1);   color: #d97706; border: 1px solid rgba(217,119,6,0.2); }

/* === HOMOLOGATION TABLE === */
.pd-homolog-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.75rem;
  border-bottom: 1.5px solid #f0f4f8;
  transition: background 0.15s;
}
.pd-homolog-row:last-child { border-bottom: none; }
.pd-homolog-row:hover { background: #f8fbff; }

.pd-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
  border: 1px solid transparent;
}
.pd-status-badge.pending     { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.pd-status-badge.in_progress { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.pd-status-badge.completed   { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.pd-status-badge.cancelled   { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.pd-priority-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.pd-priority-dot.low    { background: #94a3b8; }
.pd-priority-dot.medium { background: #f59e0b; }
.pd-priority-dot.high   { background: #ef4444; }
.pd-priority-dot.urgent { background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }

/* === FEATURES === */
.pd-feature-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: 0.875rem; color: #374151;
}
.pd-feature-item:last-child { border-bottom: none; }
.pd-feature-item i { color: #059669; width: 16px; flex-shrink: 0; margin-top: 3px; }

/* === CHECKLIST === */
.pd-checklist-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: background 0.15s;
}
.pd-checklist-item:hover { background: #f1f5fb; }
.pd-checklist-cat {
  font-size: 0.7rem; color: #64748b; text-transform: uppercase;
  letter-spacing: 0.07em; font-weight: 700;
  padding: 0.85rem 0 0.35rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.pd-checklist-cat i { color: #0A4EA0; }

/* === EMPTY STATE === */
.pd-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 4rem 2rem; text-align: center;
}
.pd-empty-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg,#f1f5fb,#e8edf5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #94a3b8;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

/* ================================================================
   MODAL — Custom overlay, padrão igual ao Pages.tsx
   ================================================================ */

.pd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: pdModalFadeIn 0.2s ease;
}

@keyframes pdModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pd-modal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pdModalSlideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes pdModalSlideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pd-modal-header {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 60%, #1a6fd4 100%);
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.pd-modal-header::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.pd-modal-header h5 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative; z-index: 1;
}
.pd-modal-header h5 i { color: rgba(255,255,255,0.85); }
.pd-modal-header h5 span { color: rgba(255,255,255,0.65); font-weight: 400; font-size: 0.9rem; }

.pd-modal-close {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  position: relative; z-index: 1;
}
.pd-modal-close:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.55);
  transform: rotate(90deg);
}

.pd-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.pd-modal-body::-webkit-scrollbar { width: 6px; }
.pd-modal-body::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.pd-modal-body::-webkit-scrollbar-thumb { background: #0A4EA0; border-radius: 3px; }

/* Keep TipTap editor toolbar visible at top, content scrolls inside its wrapper */
.pd-modal-body .ProseMirror {
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.75rem;
}

.pd-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 2px solid #f0f4f8;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8faff;
  flex-shrink: 0;
}

/* === FORM IN MODAL === */
.pd-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.pd-form-group { margin-bottom: 1.1rem; }
.pd-form-group:last-child { margin-bottom: 0; }

.pd-form-group label {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; color: #374151;
  margin-bottom: 0.45rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.pd-form-group label i { color: #0A4EA0; font-size: 0.75rem; }

.pd-form-control {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #1e293b;
  background: #f8faff;
  transition: all 0.2s;
  outline: none;
}
.pd-form-control:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 4px rgba(10,78,160,0.1);
  background: #fff;
}
.pd-form-control::placeholder { color: #94a3b8; }

.pd-form-hint {
  font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem;
}

/* === BUTTONS === */
.pd-btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: #fff;
  border: none;
  padding: 0.65rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(10,78,160,0.3);
}
.pd-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,78,160,0.4); }
.pd-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.pd-btn-secondary {
  background: #fff;
  color: #374151;
  border: 2px solid #e2e8f0;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.2s;
}
.pd-btn-secondary:hover { background: #f1f5fb; border-color: #c7d9f5; }

.pd-btn-outline {
  background: rgba(10,78,160,0.06);
  color: #0A4EA0;
  border: 1.5px solid rgba(10,78,160,0.25);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s;
}
.pd-btn-outline:hover { background: rgba(10,78,160,0.12); border-color: #0A4EA0; }

.pd-btn-icon {
  width: 34px; height: 34px;
  border-radius: 8px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; cursor: pointer; transition: all 0.2s;
}
.pd-btn-icon.edit   { background: #e0f2fe; color: #0284c7; }
.pd-btn-icon.edit:hover   { background: #0284c7; color: #fff; }
.pd-btn-icon.delete { background: #fee2e2; color: #dc2626; }
.pd-btn-icon.delete:hover { background: #dc2626; color: #fff; }

/* === STAT SUMMARY BAR === */
.pd-summary-bar {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  padding: 1.25rem 1.75rem;
  border-bottom: 1.5px solid #f0f4f8;
  background: #fafbff;
}

/* === SECTION LABEL (changelog textarea) === */
.pd-changelog-area {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.82rem; line-height: 1.8;
  min-height: 200px;
  resize: vertical;
}

/* === TOGGLE SWITCH === */
.pd-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  user-select: none;
  margin-right: auto;
}
.pd-toggle-label i { color: #0A4EA0; font-size: 0.8rem; }

.pd-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.pd-toggle input { opacity: 0; width: 0; height: 0; }
.pd-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 24px;
  transition: background 0.25s;
  cursor: pointer;
}
.pd-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.pd-toggle input:checked + .pd-toggle-slider { background: #0A4EA0; }
.pd-toggle input:checked + .pd-toggle-slider::before { transform: translateX(18px); }

/* Responsive */
@media (max-width: 768px) {
  .pd-hero { padding: 1.75rem 1.25rem; }
  .pd-modal { border-radius: 14px; }
  .pd-modal-body { padding: 1.25rem; }
  .pd-modal-footer { padding: 1rem 1.25rem; }
  .pd-form-row { grid-template-columns: 1fr; }
}
/* ============================================
   BLOG EDITOR - Premium Full-Page Editor
   ============================================ */

.blog-editor {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    background: #f8fafc;
    overflow: hidden;
}

/* ============ TOP BAR ============ */
.be-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 20;
    gap: 1rem;
    flex-shrink: 0;
}

.be-topbar__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.be-topbar__back {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    flex-shrink: 0;
}

.be-topbar__back:hover {
    background: #f1f5f9;
    color: #0a4ea0;
    border-color: #cbd5e1;
}

.be-topbar__title {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.be-topbar__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.be-topbar__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.be-topbar__center {
    flex-shrink: 0;
}

.be-mode-switch {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.be-mode-switch__btn {
    padding: 0.4rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.be-mode-switch__btn.active {
    background: #fff;
    color: #0a4ea0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.be-topbar__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.be-topbar__unsaved {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 500;
    margin-right: 0.25rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============ BUTTONS ============ */
.be-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.be-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.be-btn--ghost {
    background: #f1f5f9;
    color: #475569;
}

.be-btn--ghost:hover:not(:disabled) {
    background: #e2e8f0;
}

.be-btn--primary {
    background: linear-gradient(135deg, #0a4ea0, #1e73d0);
    color: #fff;
    box-shadow: 0 2px 8px rgba(10, 78, 160, 0.3);
}

.be-btn--primary:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(10, 78, 160, 0.4);
    transform: translateY(-1px);
}

/* ============ LAYOUT ============ */
.be-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.be-editor-col {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.be-sidebar {
    width: 320px;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    overflow-y: auto;
    flex-shrink: 0;
}

/* ============ TITLE INPUT ============ */
.be-title-input {
    font-size: 2rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #0f172a;
    padding: 0;
    outline: none;
    width: 100%;
    letter-spacing: -0.02em;
}

.be-title-input::placeholder {
    color: #cbd5e1;
}

/* ============ MARKDOWN EDITOR ============ */
.be-markdown-editor {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    flex: 1;
}

.be-markdown-editor .w-md-editor {
    border: none !important;
    box-shadow: none !important;
}

/* ============ BLOCKS EDITOR ============ */
.be-blocks-editor {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.be-blocks-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    color: #94a3b8;
}

.be-blocks-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.be-blocks-empty h3 {
    color: #475569;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.be-blocks-empty p {
    font-size: 0.9rem;
}

/* ============ SINGLE BLOCK ============ */
.be-block {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s;
}

.be-block:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.be-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.be-block__type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.be-block__actions {
    display: flex;
    gap: 2px;
}

.be-block__actions button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.15s;
}

.be-block__actions button:hover:not(:disabled) {
    background: #e2e8f0;
    color: #475569;
}

.be-block__actions button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.be-block__delete:hover:not(:disabled) {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.be-block__body {
    padding: 1rem;
}

/* ============ BLOCK EDITOR FIELDS ============ */
.block-editor-fields {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.be-input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.be-input:focus {
    border-color: #0a4ea0;
    box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.08);
}

.be-input--lg {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 0.85rem;
}

.be-select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
}

.be-select:focus {
    border-color: #0a4ea0;
}

.be-textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e293b;
    background: #fff;
    resize: vertical;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.be-textarea:focus {
    border-color: #0a4ea0;
}

.be-textarea--code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
    border-radius: 10px;
}

.be-textarea--code:focus {
    border-color: #6366f1;
}

.be-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

/* Block previews */
.block-preview-img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-height: 200px;
}

.block-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.block-preview-video {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.block-preview-video iframe {
    width: 100%;
    height: 100%;
}

.divider-preview {
    height: 3px;
    border-radius: 2px;
    margin: 0.5rem 0;
}

.divider-preview--line {
    background: #e2e8f0;
}

.divider-preview--dots {
    background: transparent;
    border-bottom: 3px dotted #cbd5e1;
    height: 0;
}

.divider-preview--gradient {
    background: linear-gradient(90deg, transparent, #0a4ea0, transparent);
}

/* ============ ADD BLOCK ============ */
.be-add-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.be-add-block__trigger {
    padding: 0.6rem 1.5rem;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.be-add-block__trigger:hover {
    border-color: #0a4ea0;
    color: #0a4ea0;
    background: #f0f7ff;
}

.be-block-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 0.2s ease;
}

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

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

.be-block-picker__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.72rem;
    font-weight: 500;
    color: #475569;
}

.be-block-picker__item:hover {
    border-color: #e2e8f0;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.be-block-picker__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

/* ============ SIDEBAR ============ */
.be-sidebar-section {
    border-bottom: 1px solid #f1f5f9;
}

.be-sidebar-section__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    transition: background 0.15s;
}

.be-sidebar-section__toggle:hover {
    background: #f8fafc;
}

.be-sidebar-section__toggle span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.be-sidebar-section__toggle i:first-child {
    color: #0a4ea0;
}

.be-sidebar-section__body {
    padding: 0 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.be-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.be-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Slug preview */
.be-slug-preview {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.be-slug-prefix {
    padding: 0.6rem 0.5rem 0.6rem 0.75rem;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.8rem;
    white-space: nowrap;
    border-right: 1px solid #e2e8f0;
}

.be-slug-preview .be-input {
    border: none;
    border-radius: 0;
}

.be-slug-preview .be-input:focus {
    box-shadow: none;
}

/* Toggle */
.be-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.be-toggle input[type="checkbox"] {
    appearance: none;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    flex-shrink: 0;
}

.be-toggle input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.be-toggle input[type="checkbox"]:checked {
    background: #10b981;
}

.be-toggle input[type="checkbox"]:checked::after {
    transform: translateX(20px);
}

.be-toggle__label {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

/* Image preview */
.be-image-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.be-image-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.be-image-preview__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.be-image-preview__remove:hover {
    background: #dc2626;
}

/* Upload area */
.be-upload-area {
    position: relative;
    padding: 1.5rem;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    text-align: center;
    color: #94a3b8;
    transition: all 0.2s;
    cursor: pointer;
}

.be-upload-area:hover {
    border-color: #0a4ea0;
    background: #f0f7ff;
}

.be-upload-area i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.be-upload-area p {
    font-size: 0.8rem;
    margin: 0;
}

.be-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .be-sidebar {
        width: 280px;
    }

    .be-block-picker {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .be-layout {
        flex-direction: column;
    }

    .be-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .be-editor-col {
        padding: 1rem;
    }

    .be-title-input {
        font-size: 1.5rem;
    }

    .be-topbar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .be-topbar__center {
        order: 3;
        width: 100%;
    }

    .be-mode-switch {
        width: 100%;
        justify-content: center;
    }

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

/* ============ UPLOAD FIELD ============ */
.be-upload-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.be-upload-field__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.be-upload-field__row {
    display: flex;
    gap: 0.4rem;
}

.be-upload-field__row .be-input {
    flex: 1;
}

.be-btn--upload {
    padding: 0.6rem 0.85rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.be-btn--upload:hover:not(:disabled) {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.be-upload-field__preview {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-height: 180px;
}

.be-upload-field__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ GALLERY GRID ============ */
.be-gallery-grid {
    display: grid;
    gap: 0.5rem;
}

.be-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #e2e8f0;
}

.be-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.be-gallery-item__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.15s;
}

.be-gallery-item:hover .be-gallery-item__remove {
    opacity: 1;
}

.be-gallery-item__remove:hover {
    background: #dc2626;
}

/* ============ TOPBAR META ============ */
.be-topbar__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0.5rem;
}

.be-topbar__words {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.be-topbar__saved {
    font-size: 0.72rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.be-topbar__saving {
    font-size: 0.72rem;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

/* ============ COLLAPSIBLE BLOCKS ============ */
.be-block__header {
    cursor: pointer;
    user-select: none;
}

.be-block__preview-text {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    margin-left: 0.5rem;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.be-block--expanded .be-block__body {
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============ RANGE INPUT ============ */
.be-range-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
}

.be-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.be-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0a4ea0;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============ EMBED PREVIEW ============ */
.be-embed-preview {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    background: #f8fafc;
}

.be-embed-preview iframe {
    width: 100%;
    max-height: 400px;
}

/* ============ BLOCK PICKER V2 ============ */
.be-block-picker {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
}

.be-block-picker__item {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.be-block-picker__info {
    display: flex;
    flex-direction: column;
}

.be-block-picker__name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

.be-block-picker__desc {
    font-size: 0.65rem;
    color: #94a3b8;
}

.be-block-picker__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
}

/* ============ RICHTEXT EDITOR ============ */
.be-richtext-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============ TIPTAP EDITOR ============ */
.tiptap-editor-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tte-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tte-toolbar__group {
    display: flex;
    align-items: center;
    gap: 1px;
}

.tte-toolbar__divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
    margin: 0 4px;
}

.tte-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.15s;
}

.tte-btn:hover:not(:disabled) {
    background: #e2e8f0;
    color: #1e293b;
}

.tte-btn.active {
    background: #0a4ea0;
    color: #fff;
}

.tte-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tte-select {
    padding: 0.35rem 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #334155;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.tte-color-picker {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
    background: transparent;
}

.tte-toolbar__stats {
    margin-left: auto;
    display: flex;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Bubble Menu */
.tte-bubble-menu {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: #1e293b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tte-bubble-menu .tte-btn {
    color: #cbd5e1;
    width: 30px;
    height: 30px;
}

.tte-bubble-menu .tte-btn:hover {
    background: #334155;
    color: #fff;
}

.tte-bubble-menu .tte-btn.active {
    background: #0a4ea0;
    color: #fff;
}

/* Floating Menu */
.tte-floating-menu {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tte-floating-item {
    padding: 0.35rem 0.65rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.15s;
    white-space: nowrap;
}

.tte-floating-item:hover {
    background: #f1f5f9;
    color: #0a4ea0;
}

/* TipTap Content Area */
.tiptap-editor-content {
    flex: 1;
    overflow-y: auto;
}

.tiptap-content {
    padding: 1.5rem 2rem;
    min-height: 500px;
    outline: none;
    font-size: 1rem;
    line-height: 1.75;
    color: #1e293b;
}

.tiptap-content>*+* {
    margin-top: 0.75em;
}

.tiptap-content h1 {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.5em;
    color: #0f172a;
}

.tiptap-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.4em;
    color: #0f172a;
}

.tiptap-content h3 {
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.3em;
    color: #0f172a;
}

.tiptap-content h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: #334155;
}

.tiptap-content p.is-editor-empty:first-child::before {
    color: #cbd5e1;
    content: attr(data-placeholder);
    float: left;
    height: 0;
    pointer-events: none;
}

.tiptap-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.tiptap-content img.ProseMirror-selectednode {
    outline: 3px solid #0a4ea0;
}

.tiptap-content blockquote {
    border-left: 4px solid #0a4ea0;
    padding: 0.75rem 1.25rem;
    margin: 1rem 0;
    background: #f0f7ff;
    border-radius: 0 8px 8px 0;
    color: #334155;
    font-style: italic;
}

.tiptap-content ul,
.tiptap-content ol {
    padding-left: 1.5rem;
}

.tiptap-content ul li,
.tiptap-content ol li {
    margin-bottom: 0.3em;
}

.tiptap-content ul[data-type="taskList"] {
    padding-left: 0;
    list-style: none;
}

.tiptap-content ul[data-type="taskList"] li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tiptap-content ul[data-type="taskList"] li label {
    margin-top: 0.15em;
}

.tiptap-content ul[data-type="taskList"] li[data-checked="true"]>div>p {
    text-decoration: line-through;
    color: #94a3b8;
}

.tiptap-content code {
    background: #f1f5f9;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.88em;
    color: #e11d48;
    font-family: 'JetBrains Mono', monospace;
}

.tiptap-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.tiptap-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.tiptap-content hr {
    border: none;
    background: linear-gradient(90deg, transparent, #0a4ea0, transparent);
    height: 2px;
    margin: 2rem 0;
}

.tiptap-content .tiptap-link {
    color: #0a4ea0;
    text-decoration: underline;
    cursor: pointer;
}

.tiptap-content mark {
    background: #fef08a;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

/* Tables */
.tiptap-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tiptap-content th,
.tiptap-content td {
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    min-width: 80px;
}

.tiptap-content th {
    background: #f1f5f9;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}

.tiptap-content td {
    font-size: 0.9rem;
}

.tiptap-content .selectedCell {
    background: #dbeafe;
}

/* YouTube embed */
.tiptap-content div[data-youtube-video] {
    margin: 1.5rem 0;
}

.tiptap-content div[data-youtube-video] iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
}/* Login Modal Overlay */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 78, 160, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.login-modal-container {
  position: relative;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button */
.login-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(10, 78, 160, 0.1);
  color: #0A4EA0;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal-close:hover {
  background: rgba(10, 78, 160, 0.2);
  transform: rotate(90deg);
}

/* Modal Content */
.login-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.login-modal-content .login-success-screen {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mascot Side */
.login-modal-mascot {
  background: linear-gradient(135deg, #0A4EA0 0%, #0A3F8F 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.login-modal-mascot::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.mascot-content {
  position: relative;
  z-index: 1;
  animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mascot-image {
  width: 280px;
  height: 280px;
  object-fit: contain;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.mascot-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.mascot-subtitle {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 320px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Form Side */
.login-modal-form-wrapper {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 90vh;
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-modal-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-logo {
  height: 60px;
  margin: 0 auto 32px auto;
  display: block;
  animation: fadeInDown 0.5s ease-out;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 8px;
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

.login-subtitle {
  font-size: 15px;
  color: #64748B;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.form-input {
  padding: 14px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
  animation: fadeInUp 0.5s ease-out both;
}

.form-group:nth-child(1) .form-input {
  animation-delay: 0.3s;
}

.form-group:nth-child(2) .form-input {
  animation-delay: 0.4s;
}

.form-input:focus {
  outline: none;
  border-color: #0A4EA0;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.1);
}

.form-input:disabled {
  background: #F8FAFC;
  cursor: not-allowed;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Toggle Switch */
.toggle-switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.toggle-label-text {
  color: #475569;
  font-size: 14px;
  user-select: none;
}

.toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: relative;
  width: 48px;
  height: 26px;
  background: #E2E8F0;
  border-radius: 26px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-checkbox:checked + .toggle-slider {
  background: linear-gradient(135deg, #0A4EA0 0%, #1565C0 100%);
}

.toggle-checkbox:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch-label:hover .toggle-slider {
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.1);
}

.toggle-checkbox:focus + .toggle-slider {
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.2);
}

.forgot-password {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #1565C0;
}

/* Login Button */
.login-error {
  background-color: #FEE2E2;
  border: 1px solid #EF4444;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
  animation: shake 0.5s ease-in-out, fadeInDown 0.3s ease-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

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

.login-button {
  padding: 16px 24px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565C0 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
  animation: fadeInUp 0.5s ease-out 0.5s both;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 78, 160, 0.5);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid white;
  border-right: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Loading State */
.login-button:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565C0 100%);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}



/* Signup Text */
.signup-text {
  text-align: center;
  font-size: 14px;
  color: #64748B;
  margin-top: 24px;
  animation: fadeInUp 0.5s ease-out 0.6s both;
}

.signup-link {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link:hover {
  color: #1565C0;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .login-modal-content {
    grid-template-columns: 1fr;
  }

  .login-modal-mascot {
    display: none;
  }

  .login-modal-form-wrapper {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .login-modal-container {
    border-radius: 16px;
    margin: 10px;
  }

  .login-modal-form-wrapper {
    padding: 30px 20px;
  }

  .login-title {
    font-size: 24px;
  }

  .mascot-image {
    width: 200px;
    height: 200px;
  }

  .mascot-title {
    font-size: 24px;
  }
}


/* ============================================
   LOGIN SUCCESS SCREEN
   ============================================ */

.login-success-screen {
  text-align: center;
  padding: 60px 40px;
  width: 100%;
  animation: fadeInUp 0.5s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-success-container {
  background: white;
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: successSlideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Check Animado */
.success-checkmark-wrapper {
  margin: 0 auto 32px;
  width: 120px;
  height: 120px;
}

.success-checkmark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #0A4EA0;
  animation: successFill 0.4s ease-in-out 0.4s forwards, successScale 0.3s ease-in-out 0.9s both;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #0A4EA0;
  fill: none;
  animation: successStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #fff;
  stroke-width: 3;
  animation: successStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes successStroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes successScale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes successFill {
  100% {
    box-shadow: inset 0 0 0 60px #0A4EA0;
  }
}

/* Avatar do Usuário */
.success-user-avatar {
  margin: 24px auto;
  width: 100px;
  height: 100px;
  animation: successFadeIn 0.5s ease-in-out 1.2s both;
}

.success-user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.success-user-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565C0 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  border: 4px solid #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

/* Textos */
.success-title {
  font-size: 32px;
  font-weight: 700;
  color: #0A4EA0;
  margin: 16px 0 8px;
  animation: successFadeIn 0.5s ease-in-out 0.6s both;
}

.success-username {
  font-size: 24px;
  font-weight: 600;
  color: #0A4EA0;
  margin: 0 0 12px;
  animation: successFadeIn 0.5s ease-in-out 1.6s both;
}

.success-message {
  font-size: 16px;
  color: #64748B;
  margin: 0;
  animation: successFadeIn 0.5s ease-in-out 0.8s both;
}

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

/* Responsividade */
@media (max-width: 600px) {
  .login-success-container {
    padding: 40px 24px;
  }

  .success-checkmark-wrapper {
    width: 100px;
    height: 100px;
  }

  .success-checkmark {
    width: 100px;
    height: 100px;
  }

  .success-user-avatar {
    width: 80px;
    height: 80px;
  }

  .success-user-avatar-placeholder {
    font-size: 36px;
  }

  .success-title {
    font-size: 28px;
  }

  .success-username {
    font-size: 20px;
  }

  .success-message {
    font-size: 14px;
  }
}
/* Public Navbar Styles */
.public-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.public-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(10, 78, 160, 0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-brand {
  flex-shrink: 0;
}

.navbar-logo {
  height: 50px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.menu-item-wrapper {
  position: relative;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.public-navbar.scrolled .menu-item {
  color: #1f2937;
  text-shadow: none;
}

.menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.1), rgba(0, 43, 94, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.menu-item:hover::before {
  opacity: 1;
}

.menu-item:hover {
  transform: translateY(-2px);
  color: #0A4EA0;
}

.public-navbar.scrolled .menu-item:hover {
  color: #0A4EA0;
  background: rgba(10, 78, 160, 0.05);
}

.menu-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-icon {
  transform: scale(1.2);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
  flex-shrink: 0;
}

.public-navbar.scrolled .navbar-cta {
  border-color: rgba(10, 78, 160, 0.2);
}

.navbar-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 78, 160, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-icon {
  font-size: 1.1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.public-navbar.scrolled .mobile-menu-toggle {
  color: #1f2937;
  text-shadow: none;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.98), rgba(0, 43, 94, 0.98));
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-menu-item {
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 0.4s ease forwards;
}

.mobile-menu-overlay.open .mobile-menu-item {
  animation: slideIn 0.4s ease forwards;
}

.mobile-menu-item:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu-item:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu-item:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu-item:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu-item:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu-item:nth-child(7) { animation-delay: 0.35s; }

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

.mobile-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
}

.mobile-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.mobile-icon {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #002b5e, #0A4EA0);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobile-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .desktop-menu {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1rem;
    justify-content: center;
    position: relative;
  }

  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-logo {
    height: 40px;
  }

  .mobile-menu-toggle {
    margin-left: auto;
  }
}


/* Social Links */
.navbar-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.public-navbar.scrolled .social-link {
  background: rgba(10, 78, 160, 0.1);
  color: #0A4EA0;
  border-color: rgba(10, 78, 160, 0.2);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
}

.public-navbar.scrolled .social-link:hover {
  background: rgba(10, 78, 160, 0.15);
  color: #0A4EA0;
}

@media (max-width: 1024px) {
  .navbar-social-links {
    display: none;
  }
}

/* ========================================
   DROPDOWN MENU STYLES
   ======================================== */

.menu-item-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.menu-item-wrapper:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  display: none;
  z-index: 1001;
  overflow: hidden;
  /* Invisible padding area to prevent menu from closing when moving mouse */
  padding-top: 0.5rem;
  margin-top: -0.5rem;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.dropdown-menu.open {
  display: block;
  animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.dropdown-item {
  display: block;
  padding: 0.875rem 1.25rem;
  color: #1f2937;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.08), rgba(0, 43, 94, 0.05));
  color: #0A4EA0;
  padding-left: 1.5rem;
}

/* ========================================
   MOBILE DROPDOWN STYLES
   ======================================== */

.mobile-item-dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-item-dropdown .dropdown-icon {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.mobile-item-dropdown .dropdown-icon.open {
  transform: rotate(180deg);
}

.mobile-submenu {
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-submenu-item {
  display: block;
  padding: 0.875rem 1rem;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}

.mobile-submenu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 1.25rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   NEW HERO BANNER - Complete Rewrite
   ======================================== */

.new-hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

/* ========================================
   BACKGROUNDS LAYER
   ======================================== */

.new-hero-backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.new-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.new-hero-bg.active {
  opacity: 1;
}

.new-hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.new-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.new-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 78, 160, 0.6) 0%,
      rgba(0, 43, 94, 0.6) 100%);
  z-index: 2;
}

/* Image background (shown when no video, or as subtle overlay behind video) */
.new-hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* YouTube iframe full-cover embed */
.new-hero-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  /* 16/9 * 100vh */
  height: 56.25vw;
  /* 9/16 * 100vw */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  z-index: 1;
}

/* ========================================
   CONTENT LAYER
   ======================================== */

.new-hero-content-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.new-hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.new-hero-text-box {
  text-align: center;
  padding: 2rem;
}

/* ========================================
   TEXT STYLES
   ======================================== */

.new-hero-h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  color: #FFFFFF;
  animation: fadeInUp 0.8s ease-out;
}

.new-hero-p {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 3rem 0;
  color: #FFFFFF;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ========================================
   BUTTONS
   ======================================== */

.new-hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.new-hero-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.new-hero-btn-primary {
  background: #FFFFFF;
  color: #0A4EA0;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.new-hero-btn-primary:hover {
  background: #F0F0F0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.new-hero-btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.new-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   NAVIGATION ARROWS
   ======================================== */

.new-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: #FFFFFF;
}

.new-hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.new-hero-nav-left {
  left: 2rem;
}

.new-hero-nav-right {
  right: 2rem;
}

/* ========================================
   DOTS NAVIGATION
   ======================================== */

.new-hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 1rem;
}

.new-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.new-hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.new-hero-dot.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  width: 40px;
  border-radius: 6px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .new-hero-banner {
    min-height: 500px;
    margin-top: 0;
  }

  .new-hero-content-layer {
    padding-top: 0;
  }

  .new-hero-text-box {
    padding: 1rem 2rem;
  }

  .new-hero-h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .new-hero-p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .new-hero-btns {
    flex-direction: column;
    gap: 1rem;
  }

  .new-hero-btn {
    width: 100%;
    max-width: 300px;
  }

  .new-hero-nav {
    width: 50px;
    height: 50px;
  }

  .new-hero-nav-left {
    left: 1rem;
  }

  .new-hero-nav-right {
    right: 1rem;
  }

  .new-hero-dots {
    bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .new-hero-h1 {
    font-size: 2.5rem;
  }

  .new-hero-p {
    font-size: 1.2rem;
  }

  .new-hero-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    max-width: 100%;
  }

  .new-hero-text-box {
    padding: 0.5rem 1rem;
  }
}/* ===================================
   PUBLIC FOOTER
   =================================== */

.public-footer {
  background: #1a1a1a;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Logo e About */
.footer-about {
  max-width: 350px;
}

.footer-logo-wrapper {
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-description {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #0A4EA0;
  color: white;
  transform: translateY(-3px);
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #0A4EA0;
  padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-icon {
  color: #0A4EA0;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.footer-credits {
  margin-top: 0.5rem !important;
  color: #0A4EA0 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-about {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .public-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-wrapper {
    display: flex;
    justify-content: center;
  }

  .footer-description {
    text-align: center;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links li,
  .footer-contact li {
    text-align: center;
    justify-content: center;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-social {
    justify-content: center;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .public-footer {
    padding: 2rem 0 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-contact li {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}

/* Phobinho Chatbot Button */
.phobinho-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(10, 78, 160, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 4px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phobinho-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(10, 78, 160, 0.6);
}

.phobinho-button-hidden {
  display: none;
}

.phobinho-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.phobinho-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 18px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.1);
  }
}

/* Phobinho Chatbot Window */
.phobinho-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Header */
.phobinho-header {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.phobinho-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phobinho-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  padding: 2px;
  object-fit: cover;
}

.phobinho-header-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.phobinho-status {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 0 0;
}

.phobinho-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.phobinho-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 22px;
  line-height: 1;
}

.phobinho-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Messages */
.phobinho-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
  max-height: 450px;
}

.phobinho-messages::-webkit-scrollbar {
  width: 6px;
}

.phobinho-messages::-webkit-scrollbar-track {
  background: transparent;
}

.phobinho-messages::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.phobinho-messages::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.phobinho-message {
  display: flex;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}

.phobinho-message-user {
  flex-direction: row-reverse;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.phobinho-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  padding: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.phobinho-message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.phobinho-message-bot .phobinho-message-bubble {
  background: white;
  color: #1f2937;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.phobinho-message-user .phobinho-message-bubble {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(10, 78, 160, 0.3);
}

.phobinho-message-bubble p {
  margin: 0;
}

.phobinho-message-time {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-top: 4px;
}

/* Typing Indicator */
.phobinho-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: fit-content;
}

.phobinho-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  animation: typing 1.4s infinite;
}

.phobinho-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.phobinho-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }
}

/* Input */
.phobinho-input-container {
  padding: 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
}

.phobinho-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.phobinho-input:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
}

.phobinho-send-btn {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 20px;
}

.phobinho-send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.phobinho-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .phobinho-window {
    width: calc(100vw - 32px);
    max-width: 380px;
    right: 16px;
    bottom: 16px;
  }

  .phobinho-button {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }
}

/* ===== Markdown Rendered Content ===== */
.phobinho-message-bot .phobinho-message-bubble {
  max-width: 85%;
}

.phobinho-md {
  font-size: 13.5px;
  line-height: 1.6;
  color: #1f2937;
}

.phobinho-md strong {
  color: #0A4EA0;
  font-weight: 600;
}

.phobinho-md em {
  font-style: italic;
  color: #374151;
}

.phobinho-md .chat-h2 {
  font-size: 15px;
  font-weight: 700;
  color: #0A4EA0;
  margin: 12px 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #e0e7ff;
}

.phobinho-md .chat-h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 10px 0 4px 0;
}

.phobinho-md .chat-list-item {
  display: block;
  padding: 3px 0;
}

.phobinho-md .chat-step {
  color: #0A4EA0;
  font-weight: 700;
}

.phobinho-md .chat-bullet {
  display: block;
  padding: 2px 0 2px 14px;
  position: relative;
}

.phobinho-md .chat-bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0A4EA0;
  font-weight: 700;
}

.phobinho-md .chat-hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 8px 0;
}/* Phobos Wizard - Design Premium */

.phobos-wizard {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(10, 78, 160, 0.15);
}

.phobos-wizard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.phobos-wizard-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0A4EA0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.phobos-wizard-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Progress Bar */
.phobos-wizard-progress {
  margin-bottom: 3rem;
}

.phobos-progress-bar {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.phobos-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A4EA0 0%, #1e88e5 100%);
  border-radius: 10px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phobos-progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.phobos-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.phobos-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.phobos-progress-step.active .phobos-step-number {
  background: linear-gradient(135deg, #0A4EA0 0%, #1e88e5 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
  transform: scale(1.1);
}

.phobos-step-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
  text-align: center;
}

.phobos-progress-step.active .phobos-step-label {
  color: #0A4EA0;
  font-weight: 600;
}

/* Form */
.phobos-wizard-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.phobos-wizard-step {
  animation: fadeInUp 0.4s ease;
}

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

.phobos-step-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.phobos-step-description {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Form Fields */
.phobos-form-field {
  margin-bottom: 1.75rem;
}

.phobos-form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
}

.phobos-form-input,
.phobos-form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.phobos-form-input:focus,
.phobos-form-textarea:focus {
  outline: none;
  background: white;
  border-color: #0A4EA0;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.1);
}

.phobos-form-input::placeholder,
.phobos-form-textarea::placeholder {
  color: #adb5bd;
}

.phobos-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Buttons */
.phobos-wizard-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.phobos-btn {
  flex: 1;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.phobos-btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #1e88e5 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.phobos-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 78, 160, 0.4);
}

.phobos-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.phobos-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.phobos-btn-secondary {
  background: white;
  color: #0A4EA0;
  border: 2px solid #0A4EA0;
}

.phobos-btn-secondary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

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

/* Responsive */
@media (max-width: 768px) {
  .phobos-wizard {
    padding: 2rem 1.5rem;
  }

  .phobos-wizard-title {
    font-size: 2rem;
  }

  .phobos-wizard-subtitle {
    font-size: 1rem;
  }

  .phobos-wizard-form {
    padding: 2rem 1.5rem;
  }

  .phobos-step-title {
    font-size: 1.5rem;
  }

  .phobos-step-label {
    font-size: 0.75rem;
  }

  .phobos-wizard-buttons {
    flex-direction: column;
  }

  .phobos-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .phobos-wizard {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .phobos-wizard-title {
    font-size: 1.75rem;
  }

  .phobos-wizard-subtitle {
    font-size: 0.9375rem;
  }

  .phobos-wizard-form {
    padding: 1.5rem 1rem;
  }

  .phobos-step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .phobos-form-input,
  .phobos-form-textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }
}

/* Success Screen */
.phobos-success-screen {
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeInUp 0.6s ease;
}

.phobos-success-checkmark {
  margin: 0 auto 2rem;
  width: 120px;
  height: 120px;
}

.phobos-checkmark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #0A4EA0;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #0A4EA0;
  animation: fillCheckmark 0.4s ease-in-out 0.4s forwards, scaleCheckmark 0.3s ease-in-out 0.9s both;
}

.phobos-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #0A4EA0;
  fill: none;
  animation: strokeCheckmark 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.phobos-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #0A4EA0;
  stroke-width: 3;
  animation: strokeCheckmark 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes strokeCheckmark {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scaleCheckmark {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fillCheckmark {
  100% {
    box-shadow: inset 0 0 0 60px #0A4EA0;
  }
}

.phobos-success-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0A4EA0;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.phobos-success-message {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.5s both;
}

/* Responsive adjustments for success screen */
@media (max-width: 768px) {
  .phobos-success-screen {
    padding: 3rem 1.5rem;
  }

  .phobos-success-checkmark {
    width: 100px;
    height: 100px;
  }

  .phobos-checkmark {
    width: 100px;
    height: 100px;
  }

  .phobos-success-title {
    font-size: 2rem;
  }

  .phobos-success-message {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .phobos-success-screen {
    padding: 2rem 1rem;
  }

  .phobos-success-checkmark {
    width: 80px;
    height: 80px;
  }

  .phobos-checkmark {
    width: 80px;
    height: 80px;
  }

  .phobos-success-title {
    font-size: 1.75rem;
  }

  .phobos-success-message {
    font-size: 0.9375rem;
  }
}
/* ========================================
   SOCIAL ACTION SECTION
   ======================================== */

.social-action-section {
  background: #f8f9fa;
  padding: 5rem 0;
  width: 100%;
}

.social-action-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.social-action-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.social-action-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-action-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0A4EA0;
  margin: 0;
  line-height: 1.2;
}

.social-action-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin: 0;
}

.social-action-partner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #212529;
}

.social-action-heart {
  color: #dc3545;
  font-size: 1.5rem;
}

.social-action-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.partner-logo-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 991px) {
  .social-action-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .social-action-text {
    align-items: center;
  }
  
  .social-action-partner {
    justify-content: center;
  }
  
  .social-action-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .social-action-section {
    padding: 3rem 0;
  }
  
  .social-action-title {
    font-size: 1.75rem;
  }
  
  .social-action-description {
    font-size: 1rem;
  }
  
  .logo-wrapper {
    max-width: 300px;
  }
}
[data-aos][data-aos][data-aos-duration="50"],body[data-aos-duration="50"] [data-aos]{transition-duration:50ms}[data-aos][data-aos][data-aos-delay="50"],body[data-aos-delay="50"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="50"].aos-animate,body[data-aos-delay="50"] [data-aos].aos-animate{transition-delay:50ms}[data-aos][data-aos][data-aos-duration="100"],body[data-aos-duration="100"] [data-aos]{transition-duration:.1s}[data-aos][data-aos][data-aos-delay="100"],body[data-aos-delay="100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="100"].aos-animate,body[data-aos-delay="100"] [data-aos].aos-animate{transition-delay:.1s}[data-aos][data-aos][data-aos-duration="150"],body[data-aos-duration="150"] [data-aos]{transition-duration:.15s}[data-aos][data-aos][data-aos-delay="150"],body[data-aos-delay="150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="150"].aos-animate,body[data-aos-delay="150"] [data-aos].aos-animate{transition-delay:.15s}[data-aos][data-aos][data-aos-duration="200"],body[data-aos-duration="200"] [data-aos]{transition-duration:.2s}[data-aos][data-aos][data-aos-delay="200"],body[data-aos-delay="200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="200"].aos-animate,body[data-aos-delay="200"] [data-aos].aos-animate{transition-delay:.2s}[data-aos][data-aos][data-aos-duration="250"],body[data-aos-duration="250"] [data-aos]{transition-duration:.25s}[data-aos][data-aos][data-aos-delay="250"],body[data-aos-delay="250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="250"].aos-animate,body[data-aos-delay="250"] [data-aos].aos-animate{transition-delay:.25s}[data-aos][data-aos][data-aos-duration="300"],body[data-aos-duration="300"] [data-aos]{transition-duration:.3s}[data-aos][data-aos][data-aos-delay="300"],body[data-aos-delay="300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="300"].aos-animate,body[data-aos-delay="300"] [data-aos].aos-animate{transition-delay:.3s}[data-aos][data-aos][data-aos-duration="350"],body[data-aos-duration="350"] [data-aos]{transition-duration:.35s}[data-aos][data-aos][data-aos-delay="350"],body[data-aos-delay="350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="350"].aos-animate,body[data-aos-delay="350"] [data-aos].aos-animate{transition-delay:.35s}[data-aos][data-aos][data-aos-duration="400"],body[data-aos-duration="400"] [data-aos]{transition-duration:.4s}[data-aos][data-aos][data-aos-delay="400"],body[data-aos-delay="400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="400"].aos-animate,body[data-aos-delay="400"] [data-aos].aos-animate{transition-delay:.4s}[data-aos][data-aos][data-aos-duration="450"],body[data-aos-duration="450"] [data-aos]{transition-duration:.45s}[data-aos][data-aos][data-aos-delay="450"],body[data-aos-delay="450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="450"].aos-animate,body[data-aos-delay="450"] [data-aos].aos-animate{transition-delay:.45s}[data-aos][data-aos][data-aos-duration="500"],body[data-aos-duration="500"] [data-aos]{transition-duration:.5s}[data-aos][data-aos][data-aos-delay="500"],body[data-aos-delay="500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="500"].aos-animate,body[data-aos-delay="500"] [data-aos].aos-animate{transition-delay:.5s}[data-aos][data-aos][data-aos-duration="550"],body[data-aos-duration="550"] [data-aos]{transition-duration:.55s}[data-aos][data-aos][data-aos-delay="550"],body[data-aos-delay="550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="550"].aos-animate,body[data-aos-delay="550"] [data-aos].aos-animate{transition-delay:.55s}[data-aos][data-aos][data-aos-duration="600"],body[data-aos-duration="600"] [data-aos]{transition-duration:.6s}[data-aos][data-aos][data-aos-delay="600"],body[data-aos-delay="600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="600"].aos-animate,body[data-aos-delay="600"] [data-aos].aos-animate{transition-delay:.6s}[data-aos][data-aos][data-aos-duration="650"],body[data-aos-duration="650"] [data-aos]{transition-duration:.65s}[data-aos][data-aos][data-aos-delay="650"],body[data-aos-delay="650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="650"].aos-animate,body[data-aos-delay="650"] [data-aos].aos-animate{transition-delay:.65s}[data-aos][data-aos][data-aos-duration="700"],body[data-aos-duration="700"] [data-aos]{transition-duration:.7s}[data-aos][data-aos][data-aos-delay="700"],body[data-aos-delay="700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="700"].aos-animate,body[data-aos-delay="700"] [data-aos].aos-animate{transition-delay:.7s}[data-aos][data-aos][data-aos-duration="750"],body[data-aos-duration="750"] [data-aos]{transition-duration:.75s}[data-aos][data-aos][data-aos-delay="750"],body[data-aos-delay="750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="750"].aos-animate,body[data-aos-delay="750"] [data-aos].aos-animate{transition-delay:.75s}[data-aos][data-aos][data-aos-duration="800"],body[data-aos-duration="800"] [data-aos]{transition-duration:.8s}[data-aos][data-aos][data-aos-delay="800"],body[data-aos-delay="800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="800"].aos-animate,body[data-aos-delay="800"] [data-aos].aos-animate{transition-delay:.8s}[data-aos][data-aos][data-aos-duration="850"],body[data-aos-duration="850"] [data-aos]{transition-duration:.85s}[data-aos][data-aos][data-aos-delay="850"],body[data-aos-delay="850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="850"].aos-animate,body[data-aos-delay="850"] [data-aos].aos-animate{transition-delay:.85s}[data-aos][data-aos][data-aos-duration="900"],body[data-aos-duration="900"] [data-aos]{transition-duration:.9s}[data-aos][data-aos][data-aos-delay="900"],body[data-aos-delay="900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="900"].aos-animate,body[data-aos-delay="900"] [data-aos].aos-animate{transition-delay:.9s}[data-aos][data-aos][data-aos-duration="950"],body[data-aos-duration="950"] [data-aos]{transition-duration:.95s}[data-aos][data-aos][data-aos-delay="950"],body[data-aos-delay="950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="950"].aos-animate,body[data-aos-delay="950"] [data-aos].aos-animate{transition-delay:.95s}[data-aos][data-aos][data-aos-duration="1000"],body[data-aos-duration="1000"] [data-aos]{transition-duration:1s}[data-aos][data-aos][data-aos-delay="1000"],body[data-aos-delay="1000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1000"].aos-animate,body[data-aos-delay="1000"] [data-aos].aos-animate{transition-delay:1s}[data-aos][data-aos][data-aos-duration="1050"],body[data-aos-duration="1050"] [data-aos]{transition-duration:1.05s}[data-aos][data-aos][data-aos-delay="1050"],body[data-aos-delay="1050"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1050"].aos-animate,body[data-aos-delay="1050"] [data-aos].aos-animate{transition-delay:1.05s}[data-aos][data-aos][data-aos-duration="1100"],body[data-aos-duration="1100"] [data-aos]{transition-duration:1.1s}[data-aos][data-aos][data-aos-delay="1100"],body[data-aos-delay="1100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1100"].aos-animate,body[data-aos-delay="1100"] [data-aos].aos-animate{transition-delay:1.1s}[data-aos][data-aos][data-aos-duration="1150"],body[data-aos-duration="1150"] [data-aos]{transition-duration:1.15s}[data-aos][data-aos][data-aos-delay="1150"],body[data-aos-delay="1150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1150"].aos-animate,body[data-aos-delay="1150"] [data-aos].aos-animate{transition-delay:1.15s}[data-aos][data-aos][data-aos-duration="1200"],body[data-aos-duration="1200"] [data-aos]{transition-duration:1.2s}[data-aos][data-aos][data-aos-delay="1200"],body[data-aos-delay="1200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1200"].aos-animate,body[data-aos-delay="1200"] [data-aos].aos-animate{transition-delay:1.2s}[data-aos][data-aos][data-aos-duration="1250"],body[data-aos-duration="1250"] [data-aos]{transition-duration:1.25s}[data-aos][data-aos][data-aos-delay="1250"],body[data-aos-delay="1250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1250"].aos-animate,body[data-aos-delay="1250"] [data-aos].aos-animate{transition-delay:1.25s}[data-aos][data-aos][data-aos-duration="1300"],body[data-aos-duration="1300"] [data-aos]{transition-duration:1.3s}[data-aos][data-aos][data-aos-delay="1300"],body[data-aos-delay="1300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1300"].aos-animate,body[data-aos-delay="1300"] [data-aos].aos-animate{transition-delay:1.3s}[data-aos][data-aos][data-aos-duration="1350"],body[data-aos-duration="1350"] [data-aos]{transition-duration:1.35s}[data-aos][data-aos][data-aos-delay="1350"],body[data-aos-delay="1350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1350"].aos-animate,body[data-aos-delay="1350"] [data-aos].aos-animate{transition-delay:1.35s}[data-aos][data-aos][data-aos-duration="1400"],body[data-aos-duration="1400"] [data-aos]{transition-duration:1.4s}[data-aos][data-aos][data-aos-delay="1400"],body[data-aos-delay="1400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1400"].aos-animate,body[data-aos-delay="1400"] [data-aos].aos-animate{transition-delay:1.4s}[data-aos][data-aos][data-aos-duration="1450"],body[data-aos-duration="1450"] [data-aos]{transition-duration:1.45s}[data-aos][data-aos][data-aos-delay="1450"],body[data-aos-delay="1450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1450"].aos-animate,body[data-aos-delay="1450"] [data-aos].aos-animate{transition-delay:1.45s}[data-aos][data-aos][data-aos-duration="1500"],body[data-aos-duration="1500"] [data-aos]{transition-duration:1.5s}[data-aos][data-aos][data-aos-delay="1500"],body[data-aos-delay="1500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1500"].aos-animate,body[data-aos-delay="1500"] [data-aos].aos-animate{transition-delay:1.5s}[data-aos][data-aos][data-aos-duration="1550"],body[data-aos-duration="1550"] [data-aos]{transition-duration:1.55s}[data-aos][data-aos][data-aos-delay="1550"],body[data-aos-delay="1550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1550"].aos-animate,body[data-aos-delay="1550"] [data-aos].aos-animate{transition-delay:1.55s}[data-aos][data-aos][data-aos-duration="1600"],body[data-aos-duration="1600"] [data-aos]{transition-duration:1.6s}[data-aos][data-aos][data-aos-delay="1600"],body[data-aos-delay="1600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1600"].aos-animate,body[data-aos-delay="1600"] [data-aos].aos-animate{transition-delay:1.6s}[data-aos][data-aos][data-aos-duration="1650"],body[data-aos-duration="1650"] [data-aos]{transition-duration:1.65s}[data-aos][data-aos][data-aos-delay="1650"],body[data-aos-delay="1650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1650"].aos-animate,body[data-aos-delay="1650"] [data-aos].aos-animate{transition-delay:1.65s}[data-aos][data-aos][data-aos-duration="1700"],body[data-aos-duration="1700"] [data-aos]{transition-duration:1.7s}[data-aos][data-aos][data-aos-delay="1700"],body[data-aos-delay="1700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1700"].aos-animate,body[data-aos-delay="1700"] [data-aos].aos-animate{transition-delay:1.7s}[data-aos][data-aos][data-aos-duration="1750"],body[data-aos-duration="1750"] [data-aos]{transition-duration:1.75s}[data-aos][data-aos][data-aos-delay="1750"],body[data-aos-delay="1750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1750"].aos-animate,body[data-aos-delay="1750"] [data-aos].aos-animate{transition-delay:1.75s}[data-aos][data-aos][data-aos-duration="1800"],body[data-aos-duration="1800"] [data-aos]{transition-duration:1.8s}[data-aos][data-aos][data-aos-delay="1800"],body[data-aos-delay="1800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1800"].aos-animate,body[data-aos-delay="1800"] [data-aos].aos-animate{transition-delay:1.8s}[data-aos][data-aos][data-aos-duration="1850"],body[data-aos-duration="1850"] [data-aos]{transition-duration:1.85s}[data-aos][data-aos][data-aos-delay="1850"],body[data-aos-delay="1850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1850"].aos-animate,body[data-aos-delay="1850"] [data-aos].aos-animate{transition-delay:1.85s}[data-aos][data-aos][data-aos-duration="1900"],body[data-aos-duration="1900"] [data-aos]{transition-duration:1.9s}[data-aos][data-aos][data-aos-delay="1900"],body[data-aos-delay="1900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1900"].aos-animate,body[data-aos-delay="1900"] [data-aos].aos-animate{transition-delay:1.9s}[data-aos][data-aos][data-aos-duration="1950"],body[data-aos-duration="1950"] [data-aos]{transition-duration:1.95s}[data-aos][data-aos][data-aos-delay="1950"],body[data-aos-delay="1950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="1950"].aos-animate,body[data-aos-delay="1950"] [data-aos].aos-animate{transition-delay:1.95s}[data-aos][data-aos][data-aos-duration="2000"],body[data-aos-duration="2000"] [data-aos]{transition-duration:2s}[data-aos][data-aos][data-aos-delay="2000"],body[data-aos-delay="2000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2000"].aos-animate,body[data-aos-delay="2000"] [data-aos].aos-animate{transition-delay:2s}[data-aos][data-aos][data-aos-duration="2050"],body[data-aos-duration="2050"] [data-aos]{transition-duration:2.05s}[data-aos][data-aos][data-aos-delay="2050"],body[data-aos-delay="2050"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2050"].aos-animate,body[data-aos-delay="2050"] [data-aos].aos-animate{transition-delay:2.05s}[data-aos][data-aos][data-aos-duration="2100"],body[data-aos-duration="2100"] [data-aos]{transition-duration:2.1s}[data-aos][data-aos][data-aos-delay="2100"],body[data-aos-delay="2100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2100"].aos-animate,body[data-aos-delay="2100"] [data-aos].aos-animate{transition-delay:2.1s}[data-aos][data-aos][data-aos-duration="2150"],body[data-aos-duration="2150"] [data-aos]{transition-duration:2.15s}[data-aos][data-aos][data-aos-delay="2150"],body[data-aos-delay="2150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2150"].aos-animate,body[data-aos-delay="2150"] [data-aos].aos-animate{transition-delay:2.15s}[data-aos][data-aos][data-aos-duration="2200"],body[data-aos-duration="2200"] [data-aos]{transition-duration:2.2s}[data-aos][data-aos][data-aos-delay="2200"],body[data-aos-delay="2200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2200"].aos-animate,body[data-aos-delay="2200"] [data-aos].aos-animate{transition-delay:2.2s}[data-aos][data-aos][data-aos-duration="2250"],body[data-aos-duration="2250"] [data-aos]{transition-duration:2.25s}[data-aos][data-aos][data-aos-delay="2250"],body[data-aos-delay="2250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2250"].aos-animate,body[data-aos-delay="2250"] [data-aos].aos-animate{transition-delay:2.25s}[data-aos][data-aos][data-aos-duration="2300"],body[data-aos-duration="2300"] [data-aos]{transition-duration:2.3s}[data-aos][data-aos][data-aos-delay="2300"],body[data-aos-delay="2300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2300"].aos-animate,body[data-aos-delay="2300"] [data-aos].aos-animate{transition-delay:2.3s}[data-aos][data-aos][data-aos-duration="2350"],body[data-aos-duration="2350"] [data-aos]{transition-duration:2.35s}[data-aos][data-aos][data-aos-delay="2350"],body[data-aos-delay="2350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2350"].aos-animate,body[data-aos-delay="2350"] [data-aos].aos-animate{transition-delay:2.35s}[data-aos][data-aos][data-aos-duration="2400"],body[data-aos-duration="2400"] [data-aos]{transition-duration:2.4s}[data-aos][data-aos][data-aos-delay="2400"],body[data-aos-delay="2400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2400"].aos-animate,body[data-aos-delay="2400"] [data-aos].aos-animate{transition-delay:2.4s}[data-aos][data-aos][data-aos-duration="2450"],body[data-aos-duration="2450"] [data-aos]{transition-duration:2.45s}[data-aos][data-aos][data-aos-delay="2450"],body[data-aos-delay="2450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2450"].aos-animate,body[data-aos-delay="2450"] [data-aos].aos-animate{transition-delay:2.45s}[data-aos][data-aos][data-aos-duration="2500"],body[data-aos-duration="2500"] [data-aos]{transition-duration:2.5s}[data-aos][data-aos][data-aos-delay="2500"],body[data-aos-delay="2500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2500"].aos-animate,body[data-aos-delay="2500"] [data-aos].aos-animate{transition-delay:2.5s}[data-aos][data-aos][data-aos-duration="2550"],body[data-aos-duration="2550"] [data-aos]{transition-duration:2.55s}[data-aos][data-aos][data-aos-delay="2550"],body[data-aos-delay="2550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2550"].aos-animate,body[data-aos-delay="2550"] [data-aos].aos-animate{transition-delay:2.55s}[data-aos][data-aos][data-aos-duration="2600"],body[data-aos-duration="2600"] [data-aos]{transition-duration:2.6s}[data-aos][data-aos][data-aos-delay="2600"],body[data-aos-delay="2600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2600"].aos-animate,body[data-aos-delay="2600"] [data-aos].aos-animate{transition-delay:2.6s}[data-aos][data-aos][data-aos-duration="2650"],body[data-aos-duration="2650"] [data-aos]{transition-duration:2.65s}[data-aos][data-aos][data-aos-delay="2650"],body[data-aos-delay="2650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2650"].aos-animate,body[data-aos-delay="2650"] [data-aos].aos-animate{transition-delay:2.65s}[data-aos][data-aos][data-aos-duration="2700"],body[data-aos-duration="2700"] [data-aos]{transition-duration:2.7s}[data-aos][data-aos][data-aos-delay="2700"],body[data-aos-delay="2700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2700"].aos-animate,body[data-aos-delay="2700"] [data-aos].aos-animate{transition-delay:2.7s}[data-aos][data-aos][data-aos-duration="2750"],body[data-aos-duration="2750"] [data-aos]{transition-duration:2.75s}[data-aos][data-aos][data-aos-delay="2750"],body[data-aos-delay="2750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2750"].aos-animate,body[data-aos-delay="2750"] [data-aos].aos-animate{transition-delay:2.75s}[data-aos][data-aos][data-aos-duration="2800"],body[data-aos-duration="2800"] [data-aos]{transition-duration:2.8s}[data-aos][data-aos][data-aos-delay="2800"],body[data-aos-delay="2800"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2800"].aos-animate,body[data-aos-delay="2800"] [data-aos].aos-animate{transition-delay:2.8s}[data-aos][data-aos][data-aos-duration="2850"],body[data-aos-duration="2850"] [data-aos]{transition-duration:2.85s}[data-aos][data-aos][data-aos-delay="2850"],body[data-aos-delay="2850"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2850"].aos-animate,body[data-aos-delay="2850"] [data-aos].aos-animate{transition-delay:2.85s}[data-aos][data-aos][data-aos-duration="2900"],body[data-aos-duration="2900"] [data-aos]{transition-duration:2.9s}[data-aos][data-aos][data-aos-delay="2900"],body[data-aos-delay="2900"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2900"].aos-animate,body[data-aos-delay="2900"] [data-aos].aos-animate{transition-delay:2.9s}[data-aos][data-aos][data-aos-duration="2950"],body[data-aos-duration="2950"] [data-aos]{transition-duration:2.95s}[data-aos][data-aos][data-aos-delay="2950"],body[data-aos-delay="2950"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="2950"].aos-animate,body[data-aos-delay="2950"] [data-aos].aos-animate{transition-delay:2.95s}[data-aos][data-aos][data-aos-duration="3000"],body[data-aos-duration="3000"] [data-aos]{transition-duration:3s}[data-aos][data-aos][data-aos-delay="3000"],body[data-aos-delay="3000"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="3000"].aos-animate,body[data-aos-delay="3000"] [data-aos].aos-animate{transition-delay:3s}[data-aos][data-aos][data-aos-easing=linear],body[data-aos-easing=linear] [data-aos]{transition-timing-function:cubic-bezier(.25,.25,.75,.75)}[data-aos][data-aos][data-aos-easing=ease],body[data-aos-easing=ease] [data-aos]{transition-timing-function:ease}[data-aos][data-aos][data-aos-easing=ease-in],body[data-aos-easing=ease-in] [data-aos]{transition-timing-function:ease-in}[data-aos][data-aos][data-aos-easing=ease-out],body[data-aos-easing=ease-out] [data-aos]{transition-timing-function:ease-out}[data-aos][data-aos][data-aos-easing=ease-in-out],body[data-aos-easing=ease-in-out] [data-aos]{transition-timing-function:ease-in-out}[data-aos][data-aos][data-aos-easing=ease-in-back],body[data-aos-easing=ease-in-back] [data-aos]{transition-timing-function:cubic-bezier(.6,-.28,.735,.045)}[data-aos][data-aos][data-aos-easing=ease-out-back],body[data-aos-easing=ease-out-back] [data-aos]{transition-timing-function:cubic-bezier(.175,.885,.32,1.275)}[data-aos][data-aos][data-aos-easing=ease-in-out-back],body[data-aos-easing=ease-in-out-back] [data-aos]{transition-timing-function:cubic-bezier(.68,-.55,.265,1.55)}[data-aos][data-aos][data-aos-easing=ease-in-sine],body[data-aos-easing=ease-in-sine] [data-aos]{transition-timing-function:cubic-bezier(.47,0,.745,.715)}[data-aos][data-aos][data-aos-easing=ease-out-sine],body[data-aos-easing=ease-out-sine] [data-aos]{transition-timing-function:cubic-bezier(.39,.575,.565,1)}[data-aos][data-aos][data-aos-easing=ease-in-out-sine],body[data-aos-easing=ease-in-out-sine] [data-aos]{transition-timing-function:cubic-bezier(.445,.05,.55,.95)}[data-aos][data-aos][data-aos-easing=ease-in-quad],body[data-aos-easing=ease-in-quad] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-quad],body[data-aos-easing=ease-out-quad] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-quad],body[data-aos-easing=ease-in-out-quad] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos][data-aos][data-aos-easing=ease-in-cubic],body[data-aos-easing=ease-in-cubic] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-cubic],body[data-aos-easing=ease-out-cubic] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-cubic],body[data-aos-easing=ease-in-out-cubic] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos][data-aos][data-aos-easing=ease-in-quart],body[data-aos-easing=ease-in-quart] [data-aos]{transition-timing-function:cubic-bezier(.55,.085,.68,.53)}[data-aos][data-aos][data-aos-easing=ease-out-quart],body[data-aos-easing=ease-out-quart] [data-aos]{transition-timing-function:cubic-bezier(.25,.46,.45,.94)}[data-aos][data-aos][data-aos-easing=ease-in-out-quart],body[data-aos-easing=ease-in-out-quart] [data-aos]{transition-timing-function:cubic-bezier(.455,.03,.515,.955)}[data-aos^=fade][data-aos^=fade]{opacity:0;transition-property:opacity,transform}[data-aos^=fade][data-aos^=fade].aos-animate{opacity:1;transform:translateZ(0)}[data-aos=fade-up]{transform:translate3d(0,100px,0)}[data-aos=fade-down]{transform:translate3d(0,-100px,0)}[data-aos=fade-right]{transform:translate3d(-100px,0,0)}[data-aos=fade-left]{transform:translate3d(100px,0,0)}[data-aos=fade-up-right]{transform:translate3d(-100px,100px,0)}[data-aos=fade-up-left]{transform:translate3d(100px,100px,0)}[data-aos=fade-down-right]{transform:translate3d(-100px,-100px,0)}[data-aos=fade-down-left]{transform:translate3d(100px,-100px,0)}[data-aos^=zoom][data-aos^=zoom]{opacity:0;transition-property:opacity,transform}[data-aos^=zoom][data-aos^=zoom].aos-animate{opacity:1;transform:translateZ(0) scale(1)}[data-aos=zoom-in]{transform:scale(.6)}[data-aos=zoom-in-up]{transform:translate3d(0,100px,0) scale(.6)}[data-aos=zoom-in-down]{transform:translate3d(0,-100px,0) scale(.6)}[data-aos=zoom-in-right]{transform:translate3d(-100px,0,0) scale(.6)}[data-aos=zoom-in-left]{transform:translate3d(100px,0,0) scale(.6)}[data-aos=zoom-out]{transform:scale(1.2)}[data-aos=zoom-out-up]{transform:translate3d(0,100px,0) scale(1.2)}[data-aos=zoom-out-down]{transform:translate3d(0,-100px,0) scale(1.2)}[data-aos=zoom-out-right]{transform:translate3d(-100px,0,0) scale(1.2)}[data-aos=zoom-out-left]{transform:translate3d(100px,0,0) scale(1.2)}[data-aos^=slide][data-aos^=slide]{transition-property:transform}[data-aos^=slide][data-aos^=slide].aos-animate{transform:translateZ(0)}[data-aos=slide-up]{transform:translate3d(0,100%,0)}[data-aos=slide-down]{transform:translate3d(0,-100%,0)}[data-aos=slide-right]{transform:translate3d(-100%,0,0)}[data-aos=slide-left]{transform:translate3d(100%,0,0)}[data-aos^=flip][data-aos^=flip]{backface-visibility:hidden;transition-property:transform}[data-aos=flip-left]{transform:perspective(2500px) rotateY(-100deg)}[data-aos=flip-left].aos-animate{transform:perspective(2500px) rotateY(0)}[data-aos=flip-right]{transform:perspective(2500px) rotateY(100deg)}[data-aos=flip-right].aos-animate{transform:perspective(2500px) rotateY(0)}[data-aos=flip-up]{transform:perspective(2500px) rotateX(-100deg)}[data-aos=flip-up].aos-animate{transform:perspective(2500px) rotateX(0)}[data-aos=flip-down]{transform:perspective(2500px) rotateX(100deg)}[data-aos=flip-down].aos-animate{transform:perspective(2500px) rotateX(0)}/**
 * Swiper 12.0.3
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: October 21, 2025
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */
.swiper-fade {
  &.swiper-free-mode {
    .swiper-slide {
      transition-timing-function: ease-out;
    }
  }
  .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
    .swiper-slide {
      pointer-events: none;
    }
  }
  .swiper-slide-active {
    pointer-events: auto;
    & .swiper-slide-active {
      pointer-events: auto;
    }
  }
}
:root {
  --swiper-navigation-size: 44px;
  /*
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 4px;
  --swiper-navigation-color: var(--swiper-theme-color);
  */
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;

  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);

  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  &.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
  }
  &.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
  }
  .swiper-navigation-disabled & {
    display: none !important;
  }
  svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
    fill: currentColor;
    pointer-events: none;
  }
}

.swiper-button-lock {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  top: var(--swiper-navigation-top-offset, 50%);
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
}
.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 4px);
  right: auto;
  .swiper-navigation-icon {
    transform: rotate(180deg);
  }
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 4px);
  left: auto;
}
.swiper-horizontal {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 50%);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-left: 0;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 4px);
    right: auto;
  }
  .swiper-button-next,
  & ~ .swiper-button-next,
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 4px);
    left: auto;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    .swiper-navigation-icon {
      transform: rotate(180deg);
    }
  }
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    .swiper-navigation-icon {
      transform: rotate(0deg);
    }
  }
}
.swiper-vertical {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    left: var(--swiper-navigation-top-offset, 50%);
    right: auto;
    margin-left: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-top: 0;
  }
  .swiper-button-prev,
  ~ .swiper-button-prev {
    top: var(--swiper-navigation-sides-offset, 4px);
    bottom: auto;
    .swiper-navigation-icon {
      transform: rotate(-90deg);
    }
  }
  .swiper-button-next,
  ~ .swiper-button-next {
    bottom: var(--swiper-navigation-sides-offset, 4px);
    top: auto;
    .swiper-navigation-icon {
      transform: rotate(90deg);
    }
  }
}
:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-border-radius: 50%;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  &.swiper-pagination-hidden {
    opacity: 0;
  }
  .swiper-pagination-disabled > &,
  &.swiper-pagination-disabled {
    display: none !important;
  }
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 8px);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
  .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
  }
  .swiper-pagination-bullet-active {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-main {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
  }
  .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
  }
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
  button& {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    appearance: none;
  }
  .swiper-pagination-clickable & {
    cursor: pointer;
  }

  &:only-child {
    display: none !important;
  }
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: var(--swiper-pagination-right, 8px);
  left: var(--swiper-pagination-left, auto);
  top: 50%;
  transform: translate3d(0px, -50%, 0);
  .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block;
  }
  &.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    .swiper-pagination-bullet {
      display: inline-block;
      transition:
        200ms transform,
        200ms top;
    }
  }
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
  .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
  }
  &.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    .swiper-pagination-bullet {
      transition:
        200ms transform,
        200ms left;
    }
  }
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition:
    200ms transform,
    200ms right;
}
/* Fraction */
.swiper-pagination-fraction {
  color: var(--swiper-pagination-fraction-color, inherit);
}
/* Progress */
.swiper-pagination-progressbar {
  background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
  position: absolute;
  .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
  }
  .swiper-rtl & .swiper-pagination-progressbar-fill {
    transform-origin: right top;
  }
  .swiper-horizontal > &,
  &.swiper-pagination-horizontal,
  .swiper-vertical > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size, 4px);
    left: 0;
    top: 0;
  }
  .swiper-vertical > &,
  &.swiper-pagination-vertical,
  .swiper-horizontal > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
    width: var(--swiper-pagination-progressbar-size, 4px);
    height: 100%;
    left: 0;
    top: 0;
  }
}
.swiper-pagination-lock {
  display: none;
}
/* Public Site SPA Styles */

.public-site {
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
  padding-top: 0;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-default {
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 78, 160, 0.7);
  z-index: 1;
}

/* Comentado para não conflitar com NewHeroBanner.css */
/*
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.3;
  padding: 0 1rem;
}
*/

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  padding: 0 1rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary {
  background: white;
  color: #0A4EA0;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: #f8f9fa;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: #0A4EA0;
  transform: translateY(-2px);
}

/* Section Padding */
.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0A4EA0;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

/* Background Variants */
.bg-light {
  background: #f8f9fa;
}

.bg-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  color: white;
}

/* About Section */
.about-section {
  background: white;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.05);
}

.play-icon {
  font-size: 4rem;
  color: white;
  opacity: 0.9;
}

.about-content {
  padding: 2rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0A4EA0;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #0A4EA0;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  background: #f8f9fa;
}

.testimonials-swiper {
  padding: 2rem 0;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.quote-icon {
  font-size: 2rem;
  color: #0A4EA0;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #0A4EA0;
  box-shadow: 0 4px 10px rgba(10, 78, 160, 0.2);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.author-company {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  gap: 0.25rem;
}

.star-icon {
  color: #ffc107;
  font-size: 0.875rem;
}

/* Clients Section */
.clients-section {
  background: white;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.client-logo {
  width: 100%;
  max-width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Counters Section */
.counters-section {
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  color: white;
}

.counter-card {
  text-align: center;
  padding: 2rem;
}

.counter-value {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
}

/* Plans Section */
.plans-section {
  background: white;
}

.plan-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e9ecef;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(10, 78, 160, 0.25);
  border-color: #0A4EA0;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.plan-card.featured {
  border-color: #0A4EA0;
  border-width: 3px;
  box-shadow: 0 15px 40px rgba(10, 78, 160, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0A4EA0;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.plan-description {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.plan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.check-icon {
  color: #28a745;
  font-size: 1rem;
  flex-shrink: 0;
}

.plan-button {
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  transition: all 0.3s ease;
}

.plan-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(10, 78, 160, 0.3);
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #0A4EA0 0%, #0d6efd 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-question h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.faq-answer p {
  color: #6c757d;
  line-height: 1.8;
  margin: 0;
  padding-left: 3rem;
}

/* Page Section */
.page-section {
  background: white;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: #0A4EA0;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.page-content ul li {
  line-height: 1.8;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  background: #f8f9fa;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A4EA0;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-icon {
  font-size: 1.5rem;
  color: #0A4EA0;
  margin-top: 0.25rem;
}

.info-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: #6c757d;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .about-content {
    margin-top: 2rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons button {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .counter-value {
    font-size: 3rem;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ========================================
   BOTÃO DEMONSTRAÇÃO GRANDE
   ======================================== */

.btn-demo-large {
  padding: 1.25rem 3rem !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.3) !important;
  transition: all 0.3s ease !important;
}

.btn-demo-large:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(10, 78, 160, 0.4) !important;
}

.btn-demo-large .mr-2 {
  font-size: 1.5rem;
  margin-right: 0.75rem !important;
}

@media (max-width: 768px) {
  .btn-demo-large {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }

  .btn-demo-large .mr-2 {
    font-size: 1.2rem !important;
    margin-right: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .btn-demo-large {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

  .btn-demo-large .mr-2 {
    font-size: 1rem !important;
  }
}

/* ========================================
   COMPROMISSO SOCIAL
   ======================================== */

.social-action-section {
  background: #f8f9fa;
  padding: 5rem 0;
}

.social-action-section .container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  width: 100% !important;
}

.social-action-section .row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.social-action-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0A4EA0;
  margin-bottom: 1.5rem;
}

.social-action-section .section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #212529;
}

.heart-icon {
  color: #dc3545;
  font-size: 1.5rem;
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .social-action-section .row {
    flex-direction: column;
    text-align: center;
  }
  
  .partner-info {
    justify-content: center;
  }
}

/* Fix buttons overflow on mobile */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary,
  button {
    max-width: 100%;
    width: auto;
    white-space: normal;
    word-wrap: break-word;
  }

  .hero-buttons,
  .cta-buttons {
    padding: 0 1rem;
  }

  .about-section .btn-primary {
    width: 100%;
    max-width: 100%;
  }
}

/* ===================================
   PARALLAX SECTIONS
   =================================== */

.parallax-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax-bg {
  display: none;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 78, 160, 0.85);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

/* Parallax para seção Sobre */
.about-parallax {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80');
}

/* Parallax para contador */
.counter-parallax {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920&q=80');
}

.counter-parallax .parallax-overlay {
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.9) 0%, rgba(13, 110, 253, 0.9) 100%);
}

/* Parallax para CTA */
.cta-parallax {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1920&q=80');
}

.cta-parallax .parallax-overlay {
  background: rgba(10, 78, 160, 0.88);
}

/* Ajustes de texto para seções parallax */
.parallax-section h2,
.parallax-section h3,
.parallax-section p,
.parallax-section .counter-number,
.parallax-section .counter-label {
  color: white !important;
}

.parallax-section .benefit-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Exceção para formulário de demonstração */
.parallax-section.cta-parallax .phobos-form-label,
.cta-parallax .phobos-form-label,
.demo-section .phobos-form-label,
.phobos-form-label,
.cta-parallax h3,
.cta-parallax p {
  color: #1f2937 !important;
}

/* Exceção para cards de benefícios */
.parallax-section .feature-card .feature-desc,
.parallax-section .feature-card .feature-title,
.about-parallax .feature-desc,
.about-parallax .feature-title {
  color: #212529 !important;
}

.parallax-section .feature-card .feature-desc,
.about-parallax .feature-desc {
  color: #6c757d !important;
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    transform: none !important;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
  
  .about-parallax,
  .counter-parallax,
  .cta-parallax {
    min-height: auto;
    padding: 4rem 0;
  }
}


/* ===================================
   PUBLIC NOVIDADES - Grid de Posts
   =================================== */

.public-novidades {
  min-height: 100vh;
  background: #f8f9fa;
}

/* Header removido - agora usa PublicPageHeader */

/* Filtros */
.novidades-filters {
  background: #fff;
  padding: 30px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.novidades-filters .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Search Box */
.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 2px solid #e9ecef;
  border-radius: 30px;
  font-size: 15px;
  transition: all 0.3s;
  background: #f8f9fa;
}

.search-box input:focus {
  outline: none;
  border-color: #0A4EA0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.1);
}

/* Category Filters */
.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-filters button {
  background: #fff;
  border: 2px solid #e9ecef;
  color: #666;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.category-filters button:hover {
  border-color: #0A4EA0;
  color: #0A4EA0;
  transform: translateY(-2px);
}

.category-filters button.active {
  background: #0A4EA0;
  border-color: #0A4EA0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

/* Grid de Posts */
.novidades-grid {
  padding: 60px 0 80px;
}

.novidades-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Post Card */
.post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(10, 78, 160, 0.2);
}

.post-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

.post-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-category {
  display: inline-block;
  background: #0A4EA0;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  width: fit-content;
}

.post-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  font-size: 14px;
  color: #999;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta i {
  color: #0A4EA0;
  font-size: 13px;
}

/* Sem resultados */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.no-results i {
  font-size: 70px;
  color: #ccc;
  margin-bottom: 25px;
}

.no-results p {
  font-size: 20px;
  color: #999;
  font-weight: 500;
}

/* Links sem decoração */
.novidades-grid a {
  text-decoration: none;
  color: inherit;
}

/* Responsive */
@media (max-width: 1200px) {
  .novidades-grid .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .novidades-header h1 {
    font-size: 42px;
  }

  .novidades-header p {
    font-size: 18px;
  }

  .novidades-filters .container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .category-filters {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .novidades-header {
    padding: 80px 0 60px;
  }

  .novidades-header h1 {
    font-size: 36px;
  }

  .novidades-header p {
    font-size: 16px;
  }

  .novidades-grid .grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .post-image {
    height: 200px;
  }

  .post-content {
    padding: 22px;
  }

  .post-content h3 {
    font-size: 20px;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .category-filters button {
    font-size: 14px;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
  .novidades-header h1 {
    font-size: 28px;
  }

  .post-content h3 {
    font-size: 18px;
  }
}

/* ===================================
   PUBLIC POST - PREMIUM DESIGN
   =================================== */

.public-post-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Not Found State */
.public-post-not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 20px;
}

.not-found-content {
  text-align: center;
  max-width: 500px;
}

.not-found-icon {
  font-size: 120px;
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.not-found-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.not-found-content p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-back-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
}

.btn-back-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(10, 78, 160, 0.4);
}

/* Main Content */
.post-main-content {
  padding: 60px 0;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: #002b5e;
  text-decoration: underline;
}

.breadcrumb-nav .separator {
  color: #adb5bd;
  font-size: 0.9rem;
}

.breadcrumb-nav .current {
  color: #6c757d;
  font-weight: 400;
}

/* Post Layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  align-items: start;
}

/* Article */
.post-article {
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Post Meta Header */
.post-meta-header {
  border-bottom: 2px solid #f1f3f5;
  padding-bottom: 25px;
  margin-bottom: 35px;
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.category-badge {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-details {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 0.95rem;
}

.meta-item svg {
  color: #0A4EA0;
  font-size: 0.9rem;
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.post-tags svg {
  color: #0A4EA0;
}

.post-tags .tag {
  background: #e9ecef;
  color: #495057;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-tags .tag:hover {
  background: #0A4EA0;
  color: white;
}

/* Featured Image */
.featured-image {
  margin: 35px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.featured-image:hover img {
  transform: scale(1.05);
}

/* Excerpt Box */
.post-excerpt-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 5px solid #0A4EA0;
  padding: 25px 30px;
  margin: 35px 0;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  align-items: start;
}

.excerpt-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.post-excerpt-box p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2c3e50;
  margin: 0;
  font-weight: 500;
}

/* Post Content Body */
.post-content-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #2c3e50;
  margin: 40px 0;
}

.content-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0A4EA0;
  margin: 50px 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #e9ecef;
}

.content-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #002b5e;
  margin: 40px 0 20px 0;
}

.content-paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.content-list,
.content-ordered-list {
  margin: 25px 0;
  padding-left: 30px;
}

.content-list li,
.content-ordered-list li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-quote {
  background: #f8f9fa;
  border-left: 5px solid #0A4EA0;
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  color: #495057;
  border-radius: 4px;
}

.inline-code {
  background: #f1f3f5;
  color: #e83e8c;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.code-block {
  display: block;
  background: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

.content-link {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.content-link:hover {
  border-bottom-color: #0A4EA0;
}

.content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-message {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin-bottom: 25px;
  border-radius: 4px;
}

.info-message p {
  margin: 0;
  color: #856404;
}

/* Share Section */
.post-share-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 35px;
  margin: 50px 0 40px 0;
}

.share-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.share-header svg {
  color: #0A4EA0;
  font-size: 1.3rem;
}

.share-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

/* Navigation */
.post-navigation {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e9ecef;
}

.btn-back-to-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #0A4EA0;
  border: 2px solid #0A4EA0;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-back-to-list:hover {
  background: #0A4EA0;
  color: white;
  transform: translateX(-5px);
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.widget-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.sidebar-widget h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
}

.sidebar-widget p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6c757d;
  text-align: center;
  margin-bottom: 20px;
}

.btn-widget,
.btn-widget-primary {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-widget {
  background: #e9ecef;
  color: #0A4EA0;
}

.btn-widget:hover {
  background: #dee2e6;
  transform: translateY(-2px);
}

.btn-widget-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.btn-widget-primary:hover {
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.4);
  transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #0A4EA0;
}

.btn-subscribe {
  padding: 12px 20px;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-sidebar {
    position: static;
  }

  .post-article {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .post-article {
    padding: 25px;
    border-radius: 12px;
  }

  .post-meta-header {
    padding-bottom: 20px;
  }

  .meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .meta-details {
    flex-direction: column;
    gap: 10px;
  }

  .content-heading {
    font-size: 1.6rem;
    margin: 35px 0 20px 0;
  }

  .content-subheading {
    font-size: 1.3rem;
  }

  .post-content-body {
    font-size: 1rem;
  }

  .share-buttons {
    grid-template-columns: 1fr;
  }

  .breadcrumb-nav {
    font-size: 0.85rem;
  }

  .not-found-icon {
    font-size: 80px;
  }

  .not-found-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .post-main-content {
    padding: 30px 0;
  }

  .post-article {
    padding: 20px;
  }

  .sidebar-widget {
    padding: 25px;
  }

  .post-excerpt-box {
    flex-direction: column;
    padding: 20px;
  }

  .excerpt-icon {
    font-size: 1.5rem;
  }
}


/* Post Navigation Cards */
.post-navigation-arrows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid #e9ecef;
}

.nav-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.nav-card:hover:not(.disabled) {
  box-shadow: 0 12px 40px rgba(10, 78, 160, 0.2);
  transform: translateY(-8px);
  border-color: #0A4EA0;
}

.nav-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f8f9fa;
}

.nav-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e9ecef 100%);
}

.nav-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nav-card:hover:not(.disabled) .nav-card-image img {
  transform: scale(1.08);
}

.nav-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 78, 160, 0.3);
  transition: background 0.3s ease;
}

.nav-card:hover:not(.disabled) .nav-card-overlay {
  background: rgba(10, 78, 160, 0.5);
}

.nav-arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: white;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.nav-card:hover:not(.disabled) .nav-arrow-icon {
  opacity: 1;
  font-size: 3rem;
}

.nav-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.nav-label {
  font-size: 0.8rem;
  color: #0A4EA0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* Responsive */
@media (max-width: 768px) {
  .post-navigation-arrows {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
  }

  .nav-card-image {
    height: 160px;
  }

  .nav-card-content {
    padding: 20px;
  }

  .nav-title {
    font-size: 1.1rem;
  }

  .nav-arrow-icon {
    font-size: 2rem;
  }

  .nav-card:hover:not(.disabled) .nav-arrow-icon {
    font-size: 2.5rem;
  }
}
/* ===================================
   PUBLIC CHANGELOG PAGE - MODERN DESIGN
   =================================== */

.public-changelog {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafd 0%, #eef2f7 100%);
}

/* ===================================
   FILTERS SECTION
   =================================== */

.changelog-filters {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 32px 0;
  border-bottom: 1px solid rgba(10, 78, 160, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.changelog-filters .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #aab;
  font-size: 1rem;
}

.search-box input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 2px solid #e4e8ef;
  border-radius: 12px;
  font-size: 1rem;
  background: #f8fafd;
  transition: all 0.3s ease;
  color: #1a1a2e;
}

.search-box input::placeholder {
  color: #999;
}

.search-box input:focus {
  outline: none;
  border-color: #0A4EA0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.08);
}

.filter-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select {
  padding: 10px 14px;
  border: 2px solid #e4e8ef;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f8fafd;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a2e;
}

.filter-group select:focus {
  outline: none;
  border-color: #0A4EA0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.08);
}

/* ===================================
   CHANGELOG TIMELINE SECTION
   =================================== */

.changelog-section {
  padding: 60px 0 80px;
}

.changelog-section .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* Timeline line */
.changelog-list::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #0A4EA0 0%, #4a90d9 50%, rgba(10, 78, 160, 0.15) 100%);
  border-radius: 3px;
}

.changelog-item {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(10, 78, 160, 0.06);
  margin-left: 50px;
}

/* Timeline dot */
.changelog-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0A4EA0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.changelog-item:hover {
  border-color: rgba(10, 78, 160, 0.15);
  box-shadow: 0 8px 32px rgba(10, 78, 160, 0.12);
  transform: translateY(-4px) translateX(4px);
}

.changelog-item:hover::before {
  background: #fff;
  border-color: #0A4EA0;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.3);
  transform: scale(1.2);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  padding: 20px 24px 0;
}

.changelog-version-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565c0 100%);
  color: white;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: 'SF Mono', 'Consolas', monospace;
}

.changelog-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef2f7;
  color: #4a5568;
  transition: all 0.3s ease;
}

.changelog-type-badge[data-type="feature"] {
  background: linear-gradient(135deg, #e8faf0 0%, #dcf5e7 100%);
  color: #15803d;
}

.changelog-type-badge[data-type="improvement"] {
  background: linear-gradient(135deg, #eef0ff 0%, #e2e6ff 100%);
  color: #4338ca;
}

.changelog-type-badge[data-type="bugfix"] {
  background: linear-gradient(135deg, #fff1f0 0%, #ffe4e1 100%);
  color: #dc2626;
}

.changelog-type-badge[data-type="breaking"] {
  background: linear-gradient(135deg, #fff8eb 0%, #ffedd5 100%);
  color: #c2410c;
}

.changelog-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-left: auto;
  font-weight: 500;
}

.changelog-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 10px 24px 8px;
  line-height: 1.3;
  word-break: break-word;
}

.changelog-excerpt {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 24px 12px;
  line-height: 1.6;
  font-weight: 400;
}

/* Content Preview */
.changelog-preview {
  background: #f8fafd;
  padding: 14px 18px;
  border-left: 3px solid #0A4EA0;
  border-radius: 0 8px 8px 0;
  margin: 8px 24px 16px;
}

.changelog-preview p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.changelog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 14px 24px;
  border-top: 1px solid #f1f5f9;
  background: #fcfcfd;
}

.changelog-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.changelog-read-more {
  color: #0A4EA0;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.changelog-item:hover .changelog-read-more {
  gap: 8px;
  color: #083a7a;
}

.changelog-module {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #eef2f7;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #4a5568;
}

.changelog-author {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: #94a3b8;
}

/* Large type badge - hidden since we have inline badges */
.changelog-type-badge-large {
  display: none;
}

/* ===================================
   NO RESULTS
   =================================== */

.no-results {
  text-align: center;
  padding: 80px 20px;
  margin-left: 50px;
}

.no-results i {
  font-size: 3.5rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  display: block;
}

.no-results p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .changelog-filters {
    padding: 20px 0;
  }

  .filter-controls {
    grid-template-columns: 1fr;
  }

  .changelog-section {
    padding: 40px 0 60px;
  }

  .changelog-list::before {
    left: 16px;
  }

  .changelog-item {
    margin-left: 40px;
  }

  .changelog-item::before {
    left: -30px;
    width: 12px;
    height: 12px;
  }

  .changelog-header {
    padding: 16px 18px 0;
    gap: 8px;
  }

  .changelog-date {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }

  .changelog-title {
    font-size: 1.15rem;
    margin: 8px 18px 6px;
  }

  .changelog-excerpt {
    font-size: 0.9rem;
    margin: 0 18px 10px;
  }

  .changelog-preview {
    margin: 8px 18px 12px;
  }

  .changelog-footer {
    padding: 12px 18px;
  }

  .no-results {
    margin-left: 40px;
  }
}

@media (max-width: 480px) {
  .changelog-filters {
    padding: 16px 0;
  }

  .search-box input {
    padding: 12px 14px 12px 42px;
    font-size: 16px;
  }

  .changelog-section {
    padding: 32px 0 48px;
  }

  .changelog-list::before {
    display: none;
  }

  .changelog-item {
    margin-left: 0;
  }

  .changelog-item::before {
    display: none;
  }

  .changelog-version-badge,
  .changelog-type-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .changelog-title {
    font-size: 1.1rem;
  }

  .changelog-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .no-results {
    margin-left: 0;
  }
}
/* ===================================
   CHANGELOG POST - MODERN DESIGN
   =================================== */

.changelog-post-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  min-height: 60vh;
}

/* Loading & Error States */
.loading-state,
.error-state {
  text-align: center;
  padding: 80px 20px;
}

.loading-state i,
.error-state i {
  color: #0A4EA0;
  margin-bottom: 24px;
}

.error-state h2 {
  color: #1a1a2e;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.error-state p {
  color: #64748b;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Post Card */
.changelog-post {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid rgba(10, 78, 160, 0.06);
}

/* Post Header */
.post-header {
  padding: 40px 44px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(135deg, #fdfdff 0%, #f8fafd 100%);
}

.back-button {
  background: transparent;
  border: 2px solid #e4e8ef;
  color: #4a5568;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-button:hover {
  border-color: #0A4EA0;
  color: #0A4EA0;
  background: rgba(10, 78, 160, 0.04);
  gap: 12px;
}

.post-header h1 {
  font-size: 2.2rem;
  color: #1a1a2e;
  margin: 0 0 20px 0;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.post-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565c0 100%);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(10, 78, 160, 0.25);
}

.post-meta .date,
.post-meta .author {
  color: #64748b;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.post-meta i {
  color: #0A4EA0;
  font-size: 0.85rem;
}

.post-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.module-tag {
  background: #eef2f7;
  color: #4a5568;
}

.type-tag {
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Post Content - Rich text from TipTap */
.post-content {
  padding: 44px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  color: #1a1a2e;
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.post-content h1 {
  font-size: 1.85rem;
  border-bottom: 3px solid #0A4EA0;
  padding-bottom: 12px;
}

.post-content h2 {
  font-size: 1.55rem;
  color: #0A4EA0;
}

.post-content h3 {
  font-size: 1.3rem;
}

.post-content h4 {
  font-size: 1.15rem;
}

.post-content p {
  margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
  margin: 18px 0;
  padding-left: 28px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content li::marker {
  color: #0A4EA0;
}

.post-content code {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
  font-size: 0.9em;
  color: #0A4EA0;
  border: 1px solid #e2e8f0;
}

.post-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  border: none;
}

.post-content blockquote {
  border-left: 4px solid #0A4EA0;
  padding: 16px 20px;
  margin: 24px 0;
  color: #4a5568;
  font-style: italic;
  background: #f8fafd;
  border-radius: 0 10px 10px 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.post-content a {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(10, 78, 160, 0.2);
  transition: border-color 0.3s;
}

.post-content a:hover {
  border-bottom-color: #0A4EA0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.post-content th,
.post-content td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.post-content th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0A4EA0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.post-content hr {
  border: none;
  border-top: 2px solid #f1f5f9;
  margin: 40px 0;
}

/* Post Footer */
.post-footer {
  padding: 28px 44px;
  border-top: 1px solid #f1f5f9;
  background: #fcfcfd;
  display: flex;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #1565c0 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(10, 78, 160, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.35);
}

/* Changelog Navigation */
.changelog-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  border: 2px solid #e4e8ef;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.nav-item:not(.disabled):hover {
  border-color: #0A4EA0;
  background: #f8fafd;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.1);
}

.nav-item.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  border-style: dashed;
}

.nav-previous {
  text-align: right;
}

.nav-previous .nav-arrow {
  order: -1;
}

.nav-next {
  text-align: left;
}

.nav-arrow {
  font-size: 1.3rem;
  color: #0A4EA0;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nav-item:not(.disabled):hover .nav-arrow {
  transform: translateX(4px);
}

.nav-previous:not(.disabled):hover .nav-arrow {
  transform: translateX(-4px);
}

.nav-content {
  flex: 1;
  min-width: 0;
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-item h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a1a2e;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nav-version {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1565c0 100%);
  color: white;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Consolas', monospace;
}

/* Responsive */
@media (max-width: 768px) {
  .changelog-post-container {
    padding: 32px 16px 60px;
  }

  .post-header {
    padding: 28px 24px;
  }

  .post-content {
    padding: 28px 24px;
  }

  .post-footer {
    padding: 24px;
  }

  .post-header h1 {
    font-size: 1.75rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content h1 {
    font-size: 1.5rem;
  }

  .post-content h2 {
    font-size: 1.35rem;
  }

  .post-content h3 {
    font-size: 1.15rem;
  }

  .changelog-navigation {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-item {
    padding: 18px;
    gap: 14px;
  }

  .nav-item h3 {
    font-size: 1rem;
  }

  .nav-arrow {
    font-size: 1.1rem;
  }
}/* Public Page Styles */
.public-page {
  min-height: 100vh;
  background: #ffffff;
}

/* Loading State */
.page-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* Not Found */
.page-not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  text-align: center;
  padding: 2rem;
}

.not-found-content h1 {
  font-size: 8rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.not-found-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.not-found-content p {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  opacity: 0.9;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: white;
  color: #0A4EA0;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-back-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 100px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  opacity: 1;
}

.hero-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Content Section */
.page-content-section {
  padding: 80px 0;
  background: white;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.markdown-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.content-h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #0A4EA0;
  margin: 3rem 0 1.5rem;
  line-height: 1.3;
  position: relative;
  padding-bottom: 1rem;
}

.content-h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0A4EA0, #002b5e);
  border-radius: 2px;
}

.content-h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #002b5e;
  margin: 2.5rem 0 1.25rem;
  line-height: 1.4;
}

.content-h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0A4EA0;
  margin: 2rem 0 1rem;
  line-height: 1.4;
}

.content-paragraph {
  margin: 1.5rem 0;
  color: #444;
}

.content-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-list.ordered {
  list-style: decimal;
}

.content-list-item {
  margin: 0.75rem 0;
  color: #444;
  line-height: 1.8;
}

.content-list-item::marker {
  color: #0A4EA0;
  font-weight: 600;
}

.content-blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.05), rgba(0, 43, 94, 0.05));
  border-left: 4px solid #0A4EA0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #555;
}

.content-link {
  color: #0A4EA0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.content-link:hover {
  border-bottom-color: #0A4EA0;
}

.content-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.page-footer {
  position: relative;
  background: #1a1a1a;
  color: white;
  padding: 80px 0 40px;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(10, 78, 160, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 43, 94, 0.1) 0%, transparent 50%);
}

.footer-content {
  position: relative;
  z-index: 1;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0A4EA0;
  border-color: #0A4EA0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 78, 160, 0.3);
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #0A4EA0;
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #aaa;
  line-height: 1.6;
}

.footer-contact li svg {
  color: #0A4EA0;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .content-h1 {
    font-size: 2.25rem;
  }

  .content-h2 {
    font-size: 1.875rem;
  }

  .content-h3 {
    font-size: 1.5rem;
  }

  .markdown-content {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Public Technology Page */
.public-technology {
  min-height: 100vh;
  background: #ffffff;
}

/* Tech Sections */
.tech-section {
  padding: 60px 0;
}

.tech-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-icon {
  font-size: 48px;
  color: #0A4EA0;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 18px;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Intro Section */
.intro-section {
  background: #f8f9fa;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.intro-text strong {
  color: #0A4EA0;
  font-weight: 700;
}

.intro-cta {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.intro-cta a {
  color: #0A4EA0;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.intro-cta a:hover {
  color: #002b5e;
}

/* Phobos IA Section */
.phobos-ia-section {
  background: #ffffff;
}

.frequency-management h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  text-align: center;
}

.frequency-management > p {
  font-size: 17px;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.frequency-management h4 {
  font-size: 22px;
  font-weight: 700;
  color: #0A4EA0;
  margin: 40px 0 30px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.1);
  transform: translateY(-5px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.benefit-card h5 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.phobos-tagline {
  text-align: center;
  font-size: 20px;
  color: #0A4EA0;
  font-weight: 700;
  margin-top: 30px;
}

/* Alien Tech Section */
.alien-tech-section {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
}

.alien-tech-section .section-header h2 {
  color: #fff;
}

.alien-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.alien-tech-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.alien-tech-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.alien-tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
}

.alien-tech-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.alien-tech-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* Alerts and Support Section */
.alerts-support-section {
  background: #f8f9fa;
}

.alerts-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.alert-support-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 35px;
  transition: all 0.3s ease;
}

.alert-support-card:hover {
  border-color: #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.1);
  transform: translateY(-5px);
}

.alert-support-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.alert-support-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.alert-support-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Training Section */
.training-section {
  background: #fff;
}

.training-content {
  margin-top: 40px;
}

.training-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.training-feature {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.training-feature:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.training-feature svg {
  font-size: 48px;
  color: #0A4EA0;
  margin-bottom: 15px;
}

.training-feature h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.training-feature p {
  font-size: 15px;
  color: #666;
}

/* AI Transformation Section */
.ai-transformation-section {
  background: linear-gradient(135deg, #002b5e, #0A4EA0);
  color: #fff;
  text-align: center;
}

.ai-transformation-section .section-icon {
  color: #fff;
}

.ai-transformation-section .section-header h2 {
  color: #fff;
}

.ai-transformation-section .section-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 19px;
}

/* Pointing Methods Section */
.pointing-methods-section {
  background: #f8f9fa;
}

.pointing-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.pointing-method {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.pointing-method:hover {
  border-color: #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.15);
  transform: translateY(-5px);
}

.pointing-method svg {
  font-size: 48px;
  color: #0A4EA0;
  margin-bottom: 15px;
}

.pointing-method h4 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.pointing-method p {
  font-size: 14px;
  color: #666;
}

/* Admission Section */
.admission-section {
  background: #fff;
}

.admission-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.admission-feature {
  background: #f8f9fa;
  border-left: 4px solid #0A4EA0;
  padding: 35px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admission-feature:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.admission-feature svg {
  font-size: 42px;
  color: #0A4EA0;
  margin-bottom: 15px;
}

.admission-feature h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.admission-feature p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Quick Management Section */
.quick-management-section {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  text-align: center;
}

.quick-management-section .section-icon {
  color: #fff;
}

.quick-management-section .section-header h2 {
  color: #fff;
}

.quick-management-section .section-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
}

/* ERP Section */
.erp-section {
  background: #f8f9fa;
}

.erp-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.erp-logo-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.erp-logo-card:hover {
  border-color: #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.1);
  transform: translateY(-5px);
}

.erp-logo-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #0A4EA0;
}

.erp-logo-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Growth Section */
.growth-section {
  background: #fff;
}

.growth-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.growth-feature-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 35px;
  transition: all 0.3s ease;
}

.growth-feature-card:hover {
  background: #fff;
  border-color: #0A4EA0;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.1);
  transform: translateY(-5px);
}

.growth-feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.growth-feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.growth-feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Experience Section */
.experience-section {
  background: linear-gradient(135deg, #002b5e, #0A4EA0);
  color: #fff;
}

.experience-section .section-icon {
  color: #fff;
}

.experience-section .section-header h2 {
  color: #fff;
}

.experience-content {
  text-align: center;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.stat-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.experience-description {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Demo Section */
.demo-section {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.demo-section .section-header h2 {
  color: #fff;
}

.demo-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 16px 40px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: #fff;
  color: #0A4EA0;
}

.cta-button.primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .tech-section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-description {
    font-size: 16px;
  }

  .section-icon {
    font-size: 38px;
  }

  .benefits-grid,
  .alien-tech-grid,
  .alerts-support-grid,
  .training-features,
  .pointing-methods-grid,
  .admission-features,
  .erp-logos-grid,
  .growth-features-grid,
  .experience-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-text,
  .intro-cta {
    font-size: 16px;
  }

  .frequency-management h3 {
    font-size: 22px;
  }

  .frequency-management > p {
    font-size: 15px;
  }

  .stat-number {
    font-size: 42px;
  }

  .stat-label {
    font-size: 16px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 16px;
  }
}
/* ==================== PUBLIC JOURNEY PAGE ==================== */

.public-journey-page {
  min-height: 100vh;
  background: #f8f9fa;
}

/* ==================== JOURNEY SECTIONS ==================== */

.journey-section {
  padding: 60px 0;
}

.journey-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.journey-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.journey-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.journey-section .section-header p {
  font-size: 16px;
  color: #6c757d;
}

/* ==================== VIDEO SECTION ==================== */

.video-section {
  background: #fff;
  padding: 50px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.video-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.video-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.video-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.highlight-item svg {
  font-size: 20px;
  color: #0A4EA0;
}

.highlight-item span {
  font-weight: 500;
}

.video-player {
  position: relative;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  padding: 40px 20px;
}

.video-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.video-placeholder p {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* ==================== STORY SECTION ==================== */

.story-section {
  background: #fff;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story-paragraph {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
  text-align: justify;
}

.story-highlight {
  font-size: 20px;
  font-weight: 700;
  color: #0A4EA0;
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.1), rgba(0, 43, 94, 0.05));
  border-radius: 12px;
  border-left: 4px solid #0A4EA0;
}

/* ==================== MVV SECTIONS (Mission, Vision, Values) ==================== */

.mission-section,
.vision-section {
  background: #f8f9fa;
}

.mvv-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.mvv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
}

.mvv-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.mvv-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* ==================== VALUES SECTION ==================== */

.values-section {
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 78, 160, 0.15);
  border-color: #0A4EA0;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  text-align: justify;
}

/* ==================== EXPERIENCE SECTION ==================== */

.experience-section {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  text-align: center;
}

.experience-section .section-header h2 {
  color: #fff;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.experience-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

/* ==================== DEMO SECTION ==================== */

.demo-section {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 78, 160, 0.95), rgba(0, 43, 94, 0.95));
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

.demo-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Exceção para textos do formulário não ficarem brancos */
.parallax-section.cta-parallax .phobos-form-label,
.cta-parallax .phobos-form-label,
.demo-section .phobos-form-label,
.phobos-form-label,
.cta-parallax h3,
.cta-parallax p,
.demo-section .wizard-step h3,
.demo-section .wizard-step p {
  color: #1f2937 !important;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .video-text h2 {
    font-size: 24px;
  }

  .video-text p {
    font-size: 14px;
  }


  .journey-section {
    padding: 40px 0;
  }

  .journey-section .section-header h2 {
    font-size: 26px;
  }

  .journey-section .section-header p {
    font-size: 14px;
  }

  .video-icon {
    font-size: 48px;
  }

  .video-placeholder p {
    font-size: 18px;
  }

  .story-paragraph {
    font-size: 15px;
    text-align: left;
  }

  .story-highlight {
    font-size: 18px;
    padding: 20px;
  }

  .mvv-card {
    padding: 30px 20px;
  }

  .mvv-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .mvv-card h2 {
    font-size: 24px;
  }

  .mvv-card p {
    font-size: 15px;
    text-align: left;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    padding: 25px;
  }

  .value-card p {
    text-align: left;
  }

  .experience-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 14px;
  }

  .experience-description {
    font-size: 15px;
  }

  .demo-section {
    padding: 60px 0;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .journey-section .section-header h2 {
    font-size: 22px;
  }

  .stat-number {
    font-size: 32px;
  }

  .value-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .value-card h3 {
    font-size: 18px;
  }
}
/* ==================== PUBLIC CONTACT PAGE ==================== */

.public-contact {
  min-height: 100vh;
  background: #f8f9fa;
}

/* ==================== CONTACT SECTION ==================== */

.contact-section {
  padding: 60px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

/* ==================== FORM ==================== */

.contact-form-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
  text-align: center;
  margin-bottom: 35px;
}

.form-icon {
  font-size: 48px;
  color: #0A4EA0;
  margin-bottom: 15px;
}

.form-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 15px;
  color: #666;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label svg {
  font-size: 14px;
  color: #0A4EA0;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==================== INFO ==================== */

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.info-icon svg {
  font-size: 22px;
  color: #fff;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.info-card a {
  color: #0A4EA0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #002b5e;
  text-decoration: underline;
}

.social-card {
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  color: #fff;
}

.social-card h3 {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ==================== MAP SECTION ==================== */

.map-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 16px;
  color: #666;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
  display: block;
}

/* ==================== DEMO CTA ==================== */

.demo-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A4EA0, #002b5e);
  position: relative;
  overflow: hidden;
}

.demo-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.demo-cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-header {
  text-align: center;
  margin-bottom: 50px;
}

.cta-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.cta-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* Fix for demo form inside CTA */
.demo-cta-section .phobos-form-label,
.demo-cta-section .wizard-step h3,
.demo-cta-section .wizard-step p {
  color: #1f2937 !important;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .map-section {
    padding: 40px 0;
  }

  .demo-cta-section {
    padding: 60px 0;
  }

  .form-header h2 {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .cta-header h2 {
    font-size: 28px;
  }

  .cta-header p {
    font-size: 16px;
  }

  .map-container iframe {
    height: 350px;
  }
}
.public-plans-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

/* Override PublicPageHeader padding for plans page */
.public-plans-page .public-page-header {
  padding: 100px 20px;
}

/* Intro Section */
.plans-intro-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.intro-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.intro-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #f59e0b 100%);
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #475569;
  text-align: center;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .intro-box {
    padding: 32px 24px;
  }
  
  .intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
  }
}

/* Benefits Section */
.benefits-section {
  padding: 80px 20px;
  background: white;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Plans Section */
.plans-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.plans-container {
  max-width: 1400px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Plan Card */
.plan-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--plan-color);
}

.plan-highlighted {
  border-color: var(--plan-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: scale(1.02);
}

.plan-highlighted:hover {
  transform: scale(1.02) translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Plan Header */
.plan-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.plan-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* Video Section */
.plan-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #f1f5f9;
}

.plan-video-iframe {
  width: 100%;
  height: 100%;
}

.plan-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.plan-video-placeholder:hover {
  transform: scale(1.02);
}

.plan-video-placeholder:hover .video-play-button {
  transform: scale(1.1);
  background: rgba(59, 130, 246, 0.95);
}

.video-play-button {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 24px;
}

.video-text {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Features */
.plan-features {
  flex: 1;
  margin-bottom: 32px;
}

.features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* CTA Button */
.plan-cta-button {
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.plan-cta-button:active {
  transform: translateY(0);
}

/* CTA Section */
.plans-cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 80px 20px;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-demo-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: white;
  color: #1e3a8a;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-demo-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-demo-button:active {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plan-highlighted {
    transform: scale(1);
  }

  .plan-highlighted:hover {
    transform: translateY(-8px);
  }

  .plan-name {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.125rem;
  }

  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-play-button svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .plans-section {
    padding: 60px 20px;
  }

  .plan-card {
    padding: 32px 24px;
  }

  .plan-icon {
    width: 56px;
    height: 56px;
  }

  .plan-name {
    font-size: 1.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}

/* Comparison Section */
.comparison-section {
  padding: 80px 20px;
  background: white;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 800px;
}

.comparison-table thead {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
}

.comparison-table th {
  padding: 24px 16px;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
}

.comparison-table th.feature-column {
  text-align: left;
  min-width: 250px;
}

.comparison-table th.highlighted {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  position: relative;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
  background-color: #f8fafc;
}

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

.comparison-table td {
  padding: 20px 16px;
  text-align: center;
  color: #475569;
  font-size: 0.95rem;
}

.comparison-table td.feature-name {
  text-align: left;
  font-weight: 600;
  color: #1e293b;
}

.comparison-table .check-icon {
  width: 24px;
  height: 24px;
  color: #10b981;
  margin: 0 auto;
  display: block;
}

.comparison-table td.highlighted {
  background-color: #fef3c7;
}

/* Responsive Design for Comparison Table */
@media (max-width: 768px) {
  .comparison-table-wrapper {
    margin-top: 32px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 16px 12px;
    font-size: 0.875rem;
  }

  .comparison-table th.feature-column {
    min-width: 200px;
  }
}
/* ===================================
   PHOBOS FAQ PAGE
   =================================== */

.public-faq-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.faq-page-content {
  padding: 80px 0;
}

/* ===================================
   SEARCH SECTION
   =================================== */

.faq-search-section {
  margin-bottom: 48px;
}

.faq-search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  z-index: 1;
}

.faq-search-input {
  width: 100%;
  height: 60px;
  padding: 0 24px 0 56px;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  transition: all 0.3s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: #0A4EA0;
  box-shadow: 0 0 0 4px rgba(10, 78, 160, 0.1);
}

.faq-search-input::placeholder {
  color: #94a3b8;
}

/* ===================================
   CATEGORIES
   =================================== */

.faq-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

.category-btn:hover {
  border-color: #0A4EA0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.15);
}

.category-btn.active {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border-color: #0A4EA0;
  color: white;
}

.category-icon {
  font-size: 1.25rem;
}

.category-name {
  font-weight: 600;
}

.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: rgba(10, 78, 160, 0.1);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

/* ===================================
   FAQ CATEGORIES LIST
   =================================== */

.faq-categories-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.faq-category-section {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 2rem;
  font-weight: 700;
  color: #0A4EA0;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
}

.category-icon-large {
  font-size: 2.5rem;
}

/* ===================================
   FAQ ITEMS
   =================================== */

.faq-items-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-accordion-item.open {
  border-color: #0A4EA0;
  box-shadow: 0 4px 20px rgba(10, 78, 160, 0.15);
}

.faq-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-accordion-header:hover {
  background: #f8f9fa;
}

.faq-accordion-item.open .faq-accordion-header {
  background: #f0f7ff;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.3s ease;
}

.faq-accordion-item.open .faq-toggle-icon {
  background: #0A4EA0;
  color: white;
  transform: rotate(180deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-accordion-item.open .faq-accordion-content {
  max-height: 500px;
}

.faq-answer-text {
  padding: 0 32px 32px;
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ===================================
   NO RESULTS
   =================================== */

.faq-no-results {
  text-align: center;
  padding: 80px 24px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.no-results-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 24px;
}

.faq-no-results h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.faq-no-results p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
}

/* ===================================
   CONTACT CTA
   =================================== */

.faq-contact-cta {
  margin-top: 80px;
  padding: 64px;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(10, 78, 160, 0.3);
}

.faq-cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.faq-cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.faq-contact-btn {
  padding: 16px 48px;
  font-size: 1.125rem;
  font-weight: 600;
  background: white;
  color: #0A4EA0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .faq-page-content {
    padding: 48px 0;
  }

  .faq-search-section {
    margin-bottom: 32px;
  }

  .faq-search-input {
    height: 52px;
    font-size: 0.95rem;
  }

  .faq-categories {
    gap: 8px;
    margin-bottom: 48px;
  }

  .category-btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .category-icon {
    font-size: 1.125rem;
  }

  .faq-categories-list {
    gap: 48px;
  }

  .faq-category-section {
    padding: 32px 24px;
  }

  .faq-category-title {
    font-size: 1.5rem;
    gap: 12px;
    margin-bottom: 24px;
  }

  .category-icon-large {
    font-size: 2rem;
  }

  .faq-accordion-header {
    padding: 20px 24px;
    gap: 16px;
  }

  .faq-question-text {
    font-size: 1rem;
  }

  .faq-toggle-icon {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }

  .faq-answer-text {
    padding: 0 24px 24px;
    font-size: 0.95rem;
  }

  .faq-contact-cta {
    margin-top: 48px;
    padding: 40px 24px;
  }

  .faq-cta-content h3 {
    font-size: 1.5rem;
  }

  .faq-cta-content p {
    font-size: 1rem;
  }

  .faq-contact-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-categories {
    flex-direction: column;
  }

  .category-btn {
    width: 100%;
    justify-content: space-between;
  }

  .faq-category-title {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================
   FAQ TOTAL INFO
   =================================== */

.faq-total-info {
  text-align: center;
  margin-bottom: 48px;
}

.faq-total-info p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
}

.faq-total-info strong {
  color: #0A4EA0;
  font-size: 1.25rem;
}

/* ===================================
   TOP PERGUNTAS SECTION
   =================================== */

.faq-top-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
  margin-bottom: 60px;
  border-radius: 16px;
  border: 1px solid #e9ecef;
}

.faq-top-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  text-align: center;
}

.faq-top-subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin: 0 0 40px 0;
  font-weight: 500;
}

.faq-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

.faq-top-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.faq-top-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0A4EA0 0%, #002b5e 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.faq-top-card:hover {
  border-color: #0A4EA0;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.2);
  transform: translateY(-8px);
}

.faq-top-card:hover::before {
  transform: scaleX(1);
}

.faq-top-rank {
  display: inline-block;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(10, 78, 160, 0.3);
}

.faq-top-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.5;
  word-break: break-word;
}

.faq-top-views {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

.views-icon {
  font-size: 1.2rem;
}

.views-count {
  color: #0A4EA0;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-top-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }

  .faq-top-title {
    font-size: 1.6rem;
  }

  .faq-top-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .faq-top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .faq-top-card {
    padding: 20px;
  }

  .faq-top-question {
    font-size: 1rem;
  }
}
/* ===================================
   PHOBOS CASES PAGE - COMPLETE REWRITE
   =================================== */

.phobos-cases-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

.phobos-cases-main {
  width: 100%;
}

.phobos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===================================
   CLIENTS SHOWCASE SECTION
   =================================== */

.phobos-clients-showcase {
  width: 100%;
  padding: 80px 0;
  background: #f5f7fa;
}

.phobos-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  width: 100%;
}

.phobos-client-item {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.phobos-client-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.15);
}

.phobos-client-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phobos-client-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ===================================
   METRICS SECTION
   =================================== */

.phobos-metrics-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  overflow: hidden;
}

.phobos-metrics-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A4EA0 0%, #003d82 100%);
  z-index: 1;
}

.phobos-metrics-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.phobos-metrics-content {
  position: relative;
  z-index: 3;
}

.phobos-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  width: 100%;
}

.phobos-metric-box {
  text-align: center;
  color: white;
}

.phobos-metric-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.phobos-metric-text {
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.95;
  display: block;
}

/* ===================================
   CTA SECTION
   =================================== */

.phobos-cta-section {
  width: 100%;
  padding: 80px 0;
  background: #ffffff;
}

.phobos-cta-box {
  background: linear-gradient(135deg, #0A4EA0 0%, #003d82 100%);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(10, 78, 160, 0.2);
}

.phobos-cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px 0;
  padding: 0;
}

.phobos-cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  padding: 0;
  line-height: 1.6;
}

.phobos-cta-button {
  display: inline-block;
  padding: 16px 48px;
  font-size: 1.125rem;
  font-weight: 600;
  background: white;
  color: #0A4EA0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.phobos-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #0A4EA0;
}

.phobos-cta-button:active {
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .phobos-clients-showcase {
    padding: 60px 0;
  }

  .phobos-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }

  .phobos-client-item {
    height: 100px;
    padding: 15px;
  }

  .phobos-metrics-section {
    padding: 60px 0;
  }

  .phobos-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
  }

  .phobos-metric-number {
    font-size: 2.5rem;
  }

  .phobos-metric-text {
    font-size: 1rem;
  }

  .phobos-cta-section {
    padding: 60px 0;
  }

  .phobos-cta-box {
    padding: 40px 24px;
  }

  .phobos-cta-title {
    font-size: 1.75rem;
  }

  .phobos-cta-subtitle {
    font-size: 1rem;
  }

  .phobos-cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .phobos-clients-showcase {
    padding: 40px 0;
  }

  .phobos-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
  }

  .phobos-client-item {
    height: 80px;
    padding: 10px;
  }

  .phobos-metrics-section {
    padding: 40px 0;
  }

  .phobos-metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .phobos-metric-number {
    font-size: 2rem;
  }

  .phobos-metric-text {
    font-size: 0.95rem;
  }

  .phobos-cta-section {
    padding: 40px 0;
  }

  .phobos-cta-box {
    padding: 30px 16px;
  }

  .phobos-cta-title {
    font-size: 1.5rem;
  }

  .phobos-cta-subtitle {
    font-size: 0.95rem;
  }

  .phobos-cta-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
/* ===================================
   PHOBOS PARTNER PAGE
   =================================== */

.phobos-partner-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

.phobos-partner-section {
  width: 100%;
  padding: 80px 0;
  background: #f8f9fa;
}

.phobos-partner-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===================================
   PARTNER GRID LAYOUT
   =================================== */

.phobos-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===================================
   FORM WRAPPER
   =================================== */

.phobos-partner-form-wrapper {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.phobos-partner-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.phobos-partner-form-icon {
  font-size: 3rem;
  color: #0A4EA0;
  margin-bottom: 16px;
  display: block;
}

.phobos-partner-form-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.phobos-partner-form-header p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* ===================================
   PROGRESS BAR
   =================================== */

.phobos-partner-progress {
  margin-bottom: 40px;
}

.phobos-partner-progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.phobos-partner-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A4EA0 0%, #003d82 100%);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.phobos-partner-progress-text {
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  font-weight: 500;
}

/* ===================================
   FORM STYLES
   =================================== */

.phobos-partner-form {
  width: 100%;
}

.phobos-partner-step {
  animation: fadeIn 0.3s ease;
}

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

.phobos-partner-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
}

.phobos-partner-form-group {
  margin-bottom: 24px;
}

.phobos-partner-form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.phobos-partner-form-group input,
.phobos-partner-form-group select,
.phobos-partner-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.phobos-partner-form-group input:focus,
.phobos-partner-form-group select:focus,
.phobos-partner-form-group textarea:focus {
  outline: none;
  border-color: #0A4EA0;
  background: white;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
}

.phobos-partner-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===================================
   BUTTONS
   =================================== */

.phobos-partner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.phobos-partner-btn {
  flex: 1;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phobos-partner-btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #003d82 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(10, 78, 160, 0.3);
}

.phobos-partner-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 78, 160, 0.4);
}

.phobos-partner-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.phobos-partner-btn-secondary {
  background: white;
  color: #0A4EA0;
  border: 2px solid #0A4EA0;
}

.phobos-partner-btn-secondary:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

/* ===================================
   SUCCESS SCREEN
   =================================== */

.phobos-partner-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.phobos-partner-success-checkmark {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.phobos-partner-checkmark {
  width: 100%;
  height: 100%;
}

.phobos-partner-checkmark-circle {
  stroke: #0A4EA0;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.phobos-partner-checkmark-check {
  stroke: #0A4EA0;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.phobos-partner-success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.phobos-partner-success-message {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ===================================
   BENEFITS WRAPPER
   =================================== */

.phobos-partner-benefits-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.phobos-partner-benefits-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
}

/* ===================================
   BENEFITS LIST
   =================================== */

.phobos-partner-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.phobos-partner-benefit-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid #0A4EA0;
  transition: all 0.3s ease;
}

.phobos-partner-benefit-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.15);
}

.phobos-partner-benefit-icon {
  font-size: 2.5rem;
  color: #0A4EA0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(10, 78, 160, 0.1);
  border-radius: 12px;
}

.phobos-partner-benefit-content {
  flex: 1;
}

.phobos-partner-benefit-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.phobos-partner-benefit-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ===================================
   HIGHLIGHT BOX
   =================================== */

.phobos-partner-highlight {
  padding: 32px;
  background: linear-gradient(135deg, #0A4EA0 0%, #003d82 100%);
  border-radius: 12px;
  color: white;
  text-align: center;
}

.phobos-partner-highlight h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.phobos-partner-highlight p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .phobos-partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phobos-partner-form-wrapper {
    padding: 32px;
  }

  .phobos-partner-benefits-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .phobos-partner-section {
    padding: 60px 0;
  }

  .phobos-partner-form-wrapper {
    padding: 24px;
  }

  .phobos-partner-form-header h2 {
    font-size: 1.5rem;
  }

  .phobos-partner-form-icon {
    font-size: 2.5rem;
  }

  .phobos-partner-step h3 {
    font-size: 1.125rem;
  }

  .phobos-partner-buttons {
    flex-direction: column;
  }

  .phobos-partner-btn {
    width: 100%;
  }

  .phobos-partner-benefit-item {
    padding: 20px;
  }

  .phobos-partner-benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .phobos-partner-highlight {
    padding: 24px;
  }

  .phobos-partner-highlight h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .phobos-partner-container {
    padding: 0 16px;
  }

  .phobos-partner-form-wrapper {
    padding: 20px;
  }

  .phobos-partner-form-header h2 {
    font-size: 1.25rem;
  }

  .phobos-partner-form-icon {
    font-size: 2rem;
  }

  .phobos-partner-form-group input,
  .phobos-partner-form-group select,
  .phobos-partner-form-group textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  .phobos-partner-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .phobos-partner-benefits-title {
    font-size: 1.5rem;
  }

  .phobos-partner-benefit-item {
    padding: 16px;
    gap: 16px;
  }

  .phobos-partner-benefit-content h4 {
    font-size: 1rem;
  }

  .phobos-partner-benefit-content p {
    font-size: 0.9rem;
  }
}
/* ===================================
   USERS PAGE - PREMIUM REDESIGN
   =================================== */

.users-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Header Section */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.page-header h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: #64748b;
  font-size: 0.9375rem;
}

.page-header .btn-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.2);
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-header .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 78, 160, 0.3);
}

/* =========================================
   PREMIUM FILTER BAR
   ========================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.08);
}

/* -- Search Row (gradient top) -- */
.filter-bar__search {
  display: flex;
  align-items: center;
  flex: 1 1 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  gap: 0.875rem;
  position: relative;
}

.filter-bar__search-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  flex-shrink: 0;
}

.filter-bar__search-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9375rem;
  height: 44px;
  padding: 0 1rem;
  outline: none;
  transition: all 0.25s ease;
}

.filter-bar__search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filter-bar__search-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.filter-bar__search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.filter-bar__search-clear:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* -- Bottom Row (white) -- */
.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  flex: 1;
}

.filter-bar__group:not(:last-child) {
  border-right: 1px solid #f1f5f9;
}

.filter-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Role pill tabs */
.filter-bar__tabs {
  display: flex;
  gap: 4px;
}

.filter-bar__tab {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.filter-bar__tab:hover {
  border-color: #0A4EA0;
  color: #0A4EA0;
  background: #eff6ff;
}

.filter-bar__tab--active {
  background: linear-gradient(135deg, #0A4EA0, #002b5e) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(10, 78, 160, 0.25);
}

/* Status chips */
.filter-bar__chips {
  display: flex;
  gap: 4px;
}

.filter-bar__chip {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-bar__chip--all {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

.filter-bar__chip--all.filter-bar__chip--active {
  background: #0f172a;
  color: #fff;
  border-color: transparent;
}

.filter-bar__chip--active_item,
.filter-bar__chip--active[class*="active"] {
  background: #ecfdf5;
  color: #059669;
  border-color: #10b981;
}

.filter-bar__chip--active:not(.filter-bar__chip--inactive):not(.filter-bar__chip--all) {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #10b981 !important;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2);
}

.filter-bar__chip--inactive {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.filter-bar__chip--inactive.filter-bar__chip--active {
  background: #e11d48 !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.25);
}

/* Result counter */
.filter-bar__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  border-left: 1px solid #f1f5f9;
  min-width: 90px;
  flex-shrink: 0;
}

.filter-bar__count-num {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0A4EA0, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.filter-bar__count-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Mobile filter bar */
@media (max-width: 768px) {
  .filter-bar__group {
    flex: 1 1 50%;
    border-right: none;
    border-top: 1px solid #f1f5f9;
  }

  .filter-bar__count {
    flex: 1 1 100%;
    flex-direction: row;
    gap: 0.5rem;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    justify-content: center;
  }
}

/* Table Container */
.table-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.users-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.users-table thead {
  background: #f8fafc;
}

.users-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f1f5f9;
}

.users-table tbody tr {
  transition: all 0.2s ease;
}

.users-table tbody tr:hover {
  background: #f1f5f9/50;
}

.users-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

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

/* User Identity Cell */
.user-name {
  font-weight: 600;
  color: #0f172a;
}

.no-data {
  text-align: center;
  padding: 4rem 2rem !important;
  color: #94a3b8;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #10b98120;
}

.status-badge.inactive {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #f43f5e20;
}

/* Role Badges */
.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  gap: 0.4rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Action Buttons Grid */
.action-buttons {
  display: flex;
  gap: 0.625rem;
}

.btn-action {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-edit:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.btn-password:hover {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
  transform: translateY(-1px);
}

.btn-toggle:hover {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
  transform: translateY(-1px);
}

.btn-delete:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .filters-section {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .users-page {
    padding: 1.25rem;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .page-header button {
    width: 100%;
  }

  .filters-section {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box,
  .filter-select {
    width: 100% !important;
  }

  .action-buttons {
    flex-wrap: wrap;
  }
}/* ===================================
   DEPARTMENTS PAGE
   =================================== */

.departments-page {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #6c757d;
  font-size: 1rem;
}

/* Filtros */
.filters-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.search-input {
  padding-left: 40px !important;
}

/* Grid de Departamentos */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #6c757d;
  font-style: italic;
}

/* Card de Departamento */
.department-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.department-card:hover {
  box-shadow: 0 4px 20px rgba(10, 78, 160, 0.15);
  border-color: #0A4EA0;
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-icon {
  color: #0A4EA0;
  font-size: 1.5rem;
}

.card-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.inactive {
  background: #f8d7da;
  color: #721c24;
}

.card-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.card-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.stat svg {
  color: #0A4EA0;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-edit {
  background: #e3f2fd;
  color: #0A4EA0;
}

.btn-edit:hover {
  background: #0A4EA0;
  color: white;
  transform: translateY(-2px);
}

.btn-toggle {
  background: #d1ecf1;
  color: #0c5460;
}

.btn-toggle:hover {
  background: #17a2b8;
  color: white;
  transform: translateY(-2px);
}

.btn-delete {
  background: #f8d7da;
  color: #721c24;
}

.btn-delete:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-2px);
}

/* Modal */
.department-modal {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group input,
.form-group textarea {
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
}

/* Permissões */
.permissions-section {
  margin-top: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.permissions-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.permissions-hint {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.permissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.permission-module {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.module-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #0A4EA0;
}

.module-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
}

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

.module-permissions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.permission-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.permission-item:hover {
  background: #f8f9fa;
}

.permission-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.permission-item span {
  font-size: 0.9rem;
  color: #495057;
}

/* Responsive */
@media (max-width: 1200px) {
  .departments-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

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

@media (max-width: 768px) {
  .departments-page {
    padding: 1rem;
  }

  .page-header {
    flex-direction: column;
    gap: 1rem;
  }

  .page-header button {
    width: 100%;
  }

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

  .search-box {
    max-width: 100%;
  }

  .card-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .department-modal {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }

  .card-title h3 {
    font-size: 1.1rem;
  }

  .card-actions {
    flex-wrap: wrap;
  }

  .btn-action {
    flex: 1 1 calc(50% - 0.25rem);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   Servers Page — Light Theme + Server Cards
   ══════════════════════════════════════════════════════════════════════════ */

.servers-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: calc(100vh - 160px);
}

/* ── Header ── */
.servers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(10, 78, 160, 0.2);
}

.servers-header__title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.servers-header__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 1.35rem;
  color: #fff;
}

.servers-header__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.servers-header__subtitle {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 0;
}

/* ── VPN Badge ── */
.vpn-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.vpn-badge--connected {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.vpn-badge--disconnected {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.vpn-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.vpn-badge__dot--green {
  background: #10b981;
}

.vpn-badge__dot--red {
  background: #f87171;
}

.vpn-badge__dot--pulse {
  animation: vpn-pulse 1.8s ease-in-out infinite;
}

@keyframes vpn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.vpn-badge__label {
  white-space: nowrap;
}

.vpn-badge__time {
  font-size: 0.73rem;
  opacity: 0.65;
  font-weight: 400;
  white-space: nowrap;
}

.vpn-badge__refresh {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.75;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 0.83rem;
  transition: opacity 0.2s, background 0.2s;
}

.vpn-badge__refresh:hover:not(:disabled) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.vpn-badge__refresh:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

/* ── Checking ── */
.servers-checking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  color: #6c757d;
}

.servers-checking__icon {
  font-size: 2.5rem;
  color: #0A4EA0;
  opacity: 0.4;
}

/* ── Blocked ── */
.servers-blocked {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 360px;
}

.servers-blocked__card {
  max-width: 500px;
  width: 100%;
  padding: 44px 36px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.servers-blocked__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: #dc3545;
  background: #fff5f5;
  border-radius: 50%;
  border: 2px solid #fecdd3;
}

.servers-blocked__icon-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px dashed #fca5a5;
  animation: rotate-ring 8s linear infinite;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.servers-blocked__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
}

.servers-blocked__desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.servers-blocked__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}

.servers-blocked__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #475569;
}

.servers-blocked__step-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A4EA0;
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.servers-blocked__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

.servers-blocked__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 78, 160, 0.4);
}

.servers-blocked__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Servers Grid ── */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 20px;
}

/* ── Server Card ── */
.server-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.server-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.server-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.server-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.server-card__icon--linux {
  background: #fef3c7;
  color: #d97706;
}

.server-card__icon--windows {
  background: #dbeafe;
  color: #1d4ed8;
}

.server-card__info {
  flex: 1;
  min-width: 0;
}

.server-card__info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
}

.server-card__host {
  font-size: 0.8rem;
  color: #94a3b8;
}

.server-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.server-card__status.online {
  background: #dcfce7;
  color: #16a34a;
}

.server-card__status.offline {
  background: #fee2e2;
  color: #dc2626;
}

.server-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.server-card__status.online .server-card__status-dot {
  animation: vpn-pulse 1.8s ease-in-out infinite;
}

.server-card__refresh {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.server-card__refresh:hover {
  color: #0A4EA0;
  background: #f0f7ff;
}

.server-card__metrics {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.server-card__loading {
  padding: 28px 24px;
  color: #94a3b8;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.server-card__error {
  padding: 20px 24px;
  color: #dc2626;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.server-card__offline-msg {
  color: #dc2626;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ── Metric Block (progress) ── */
.metric-block__label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #475569;
}

.metric-block__label i {
  color: #94a3b8;
  width: 14px;
}

.metric-block__value {
  margin-left: auto;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.8rem;
}

.server-progress {
  width: 100%;
  height: 7px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}

.server-progress__bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.server-progress__bar.warning {
  background: #f59e0b !important;
}

.server-progress__bar.danger {
  background: #ef4444 !important;
}

/* ── Pills ── */
.metric-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.metric-pill i {
  color: #94a3b8;
}

.metric-pill--refresh {
  color: #94a3b8;
  font-weight: 400;
}

.metric-pill--green {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #16a34a;
}

.metric-pill--cache {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #94a3b8;
  font-size: 0.72rem;
}

/* ── Ports Grid (Windows) ── */
.ports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.port-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid;
  transition: all 0.2s;
}

.port-chip--up {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.port-chip--down {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.port-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.port-chip__port {
  font-weight: 400;
  opacity: 0.6;
}

.port-chip__latency {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-left: 2px;
}

/* Agent notice */
.agent-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #92400e;
  margin-bottom: 12px;
}

.agent-notice i {
  color: #d97706;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .servers-grid {
    grid-template-columns: 1fr;
  }

  .servers-header {
    padding: 18px 20px;
  }

  .vpn-badge__time {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   RDP Modal — Connect Button + Fullscreen Overlay
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Connect Button (card header) ── */
.server-card__connect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #0A4EA0 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(10, 78, 160, 0.3);
}

.server-card__connect:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 78, 160, 0.4);
}

/* ── Fullscreen Overlay ── */
.rdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
}

/* ── Toolbar ── */
.rdp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px;
  background: #111827;
  border-bottom: 1px solid #1f2937;
  flex-shrink: 0;
  z-index: 10;
}

.rdp-toolbar__info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  font-size: 0.88rem;
  font-weight: 600;
}

.rdp-toolbar__info>i {
  color: #60a5fa;
  font-size: 1.1rem;
}

.rdp-toolbar__host {
  color: #6b7280;
  font-weight: 400;
  font-size: 0.8rem;
}

.rdp-toolbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.rdp-toolbar__badge--live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.rdp-toolbar__badge--connecting {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.rdp-toolbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: vpn-pulse 1.8s ease-in-out infinite;
}

.rdp-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rdp-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #374151;
  border-radius: 6px;
  background: #1f2937;
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.rdp-toolbar__btn:hover {
  background: #374151;
  color: #fff;
}

.rdp-toolbar__btn--disconnect {
  border-color: #7f1d1d;
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
}

.rdp-toolbar__btn--disconnect:hover {
  background: rgba(220, 38, 38, 0.3);
  color: #fff;
}

/* ── Display Canvas ── */
.rdp-display {
  flex: 1;
  overflow: hidden;
  background: #000;
}

.rdp-display canvas {
  max-width: 100%;
  max-height: 100%;
}

/* ── Login Form ── */
.rdp-login {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 70%);
}

.rdp-login__card {
  width: 380px;
  max-width: 90vw;
  padding: 40px 32px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rdp-login__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border-radius: 16px;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.rdp-login__icon--error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.rdp-login__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0 0 6px;
}

.rdp-login__sub {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0 0 24px;
}

.rdp-login__field {
  text-align: left;
  margin-bottom: 14px;
}

.rdp-login__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rdp-login__field input {
  width: 100%;
  padding: 10px 14px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #f3f4f6;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.rdp-login__field input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.rdp-login__field input::placeholder {
  color: #4b5563;
}

.rdp-login__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  margin-top: 8px;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.rdp-login__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.rdp-login__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.rdp-login__cancel {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s;
}

.rdp-login__cancel:hover {
  color: #d1d5db;
}/* QAFlow.css — Fluxo de Homologação */
.qa-page { padding: 1.75rem; min-height: 100vh; background: #f1f5fb; }

/* HERO */
.qa-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px; padding: 2.5rem; color: #fff;
  margin-bottom: 1.75rem; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
}
.qa-hero::before { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; background:rgba(255,255,255,0.05); border-radius:50%; pointer-events:none; }
.qa-hero-icon { width:72px; height:72px; border-radius:18px; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:2rem; flex-shrink:0; border:2px solid rgba(255,255,255,0.2); }
.qa-hero-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.2); border-radius:20px; padding:.25rem .75rem; font-size:.75rem; font-weight:600; color:#fff; margin-bottom:.5rem; }
.qa-hero-title { font-size:1.9rem; font-weight:800; color:#fff; margin:0 0 .3rem; }
.qa-hero-sub { font-size:.9rem; color:rgba(255,255,255,0.72); margin:0; }
.qa-hero-stat { background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:.85rem 1.1rem; text-align:center; min-width:88px; }
.qa-hero-stat-value { font-size:1.6rem; font-weight:800; color:#fff; line-height:1; }
.qa-hero-stat-label { font-size:.65rem; color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }

/* LAYOUT */
.qa-layout { display:grid; grid-template-columns:280px 1fr; gap:1.5rem; align-items:start; }

/* PRODUCTS PANEL */
.qa-products-panel { background:#fff; border:2px solid #e8edf5; border-radius:18px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,0.05); }
.qa-panel-header { padding:1rem 1.25rem; border-bottom:1.5px solid #f0f4f8; background:#fafbff; }
.qa-panel-header h6 { margin:0; font-size:.9rem; font-weight:700; color:#1e293b; display:flex; align-items:center; gap:.5rem; }
.qa-panel-header h6 i { color:#0A4EA0; }
.qa-products-list { padding:.5rem; display:flex; flex-direction:column; gap:.25rem; }

.qa-product-item { display:flex; align-items:center; gap:.75rem; padding:.75rem 1rem; border-radius:12px; border:none; background:none; cursor:pointer; width:100%; text-align:left; transition:all .15s; }
.qa-product-item:hover { background:#f1f5fb; }
.qa-product-item.active { background:rgba(10,78,160,0.08); outline:2px solid rgba(10,78,160,0.2); }
.qa-product-icon { width:38px; height:38px; border-radius:10px; background:linear-gradient(135deg,#e8edf5,#d0d8e8); display:flex; align-items:center; justify-content:center; font-size:.9rem; color:#0A4EA0; flex-shrink:0; overflow:hidden; }
.qa-product-icon img { width:100%; height:100%; object-fit:cover; }
.qa-product-info { flex:1; min-width:0; }
.qa-product-name { display:block; font-size:.82rem; font-weight:600; color:#1e293b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.qa-product-count { font-size:.7rem; color:#64748b; }
.qa-product-badge { background:#0A4EA0; color:#fff; border-radius:20px; padding:1px 8px; font-size:.65rem; font-weight:700; flex-shrink:0; }

/* TESTS PANEL */
.qa-tests-panel { display:flex; flex-direction:column; gap:1rem; }
.qa-tests-toolbar { display:flex; gap:.75rem; align-items:center; background:#fff; border:2px solid #e8edf5; border-radius:14px; padding:.75rem 1rem; box-shadow:0 2px 8px rgba(0,0,0,0.04); flex-wrap:wrap; }
.qa-search-bar { display:flex; align-items:center; gap:.5rem; background:#f8faff; border:1.5px solid #e2e8f0; border-radius:10px; padding:.45rem .9rem; flex:1; min-width:180px; }
.qa-search-bar i { color:#94a3b8; font-size:.8rem; }
.qa-search-bar input { border:none; background:none; outline:none; font-size:.85rem; color:#1e293b; width:100%; }
.qa-filter-select { padding:.45rem .9rem; border:1.5px solid #e2e8f0; border-radius:10px; font-size:.82rem; color:#374151; background:#f8faff; outline:none; cursor:pointer; }
.qa-btn-primary { background:linear-gradient(135deg,#0A4EA0,#002b5e); color:#fff; border:none; padding:.5rem 1.1rem; border-radius:10px; font-size:.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:.4rem; transition:all .2s; white-space:nowrap; box-shadow:0 4px 12px rgba(10,78,160,0.25); }
.qa-btn-primary:hover { opacity:.9; transform:translateY(-1px); }

/* TESTS GRID */
.qa-tests-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:1rem; }

.qa-test-card { background:#fff; border:2px solid #e8edf5; border-radius:16px; overflow:hidden; transition:all .2s; }
.qa-test-card:hover { border-color:#c7d9f5; box-shadow:0 8px 28px rgba(10,78,160,0.1); transform:translateY(-2px); }
.qa-test-card-header { padding:.9rem 1.25rem; border-bottom:1.5px solid #f0f4f8; background:#fafbff; display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.qa-test-card-body { padding:1.1rem 1.25rem; }

.qa-category-badge { display:inline-flex; align-items:center; background:#e0f2fe; color:#0369a1; border:1px solid #bae6fd; border-radius:8px; padding:.2rem .6rem; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.qa-priority-badge { display:inline-flex; align-items:center; gap:.3rem; border-radius:8px; border:1px solid; padding:.2rem .6rem; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.qa-priority-dot { width:7px; height:7px; border-radius:50%; }

.qa-test-title { font-size:.95rem; font-weight:700; color:#1e293b; margin:0 0 .35rem; }
.qa-test-product { font-size:.72rem; color:#0A4EA0; display:flex; align-items:center; gap:.3rem; margin:0 0 .35rem; }
.qa-test-desc { font-size:.8rem; color:#64748b; line-height:1.6; margin:0 0 .75rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.qa-steps-preview { background:#f8faff; border:1px solid #e8edf5; border-radius:10px; padding:.75rem 1rem; }
.qa-steps-label { font-size:.7rem; font-weight:700; color:#64748b; text-transform:uppercase; letter-spacing:.06em; margin:0 0 .4rem; display:flex; align-items:center; gap:.35rem; }
.qa-steps-label i { color:#0A4EA0; }
.qa-steps-list { margin:0; padding-left:1.2rem; font-size:.78rem; color:#374151; line-height:1.7; }
.qa-steps-more { color:#94a3b8; font-style:italic; }

/* STEP EDITOR */
.qa-steps-editor { display:flex; flex-direction:column; gap:.5rem; }
.qa-step-input-row { display:flex; align-items:center; gap:.5rem; }
.qa-step-num { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#0A4EA0,#1a6fd4); color:#fff; font-size:.72rem; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* BUTTON ICONS (shared) */
.qa-btn-icon { width:32px; height:32px; border-radius:8px; border:none; display:flex; align-items:center; justify-content:center; font-size:.75rem; cursor:pointer; transition:all .2s; }
.qa-btn-icon.edit   { background:#e0f2fe; color:#0284c7; }
.qa-btn-icon.edit:hover   { background:#0284c7; color:#fff; }
.qa-btn-icon.delete { background:#fee2e2; color:#dc2626; }
.qa-btn-icon.delete:hover { background:#dc2626; color:#fff; }

/* EMPTY */
.qa-empty { display:flex; flex-direction:column; align-items:center; padding:4rem 2rem; text-align:center; background:#fff; border:2px solid #e8edf5; border-radius:18px; }
.qa-empty-icon { width:72px; height:72px; border-radius:50%; background:#f1f5fb; display:flex; align-items:center; justify-content:center; font-size:1.8rem; color:#94a3b8; margin-bottom:1.25rem; }

/* Responsive */
@media (max-width: 900px) {
  .qa-layout { grid-template-columns: 1fr; }
  .qa-products-panel { max-height: 260px; overflow-y: auto; }
}
/* Homologations.css */
.hom-page { padding: 1.75rem; min-height: 100vh; background: #f1f5fb; }

/* HERO */
.hom-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px; padding: 2.5rem; color: #fff;
  margin-bottom: 1.5rem; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
}
.hom-hero::before { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; background:rgba(255,255,255,0.05); border-radius:50%; pointer-events:none; }
.hom-hero-icon { width:72px; height:72px; border-radius:18px; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:2rem; flex-shrink:0; border:2px solid rgba(255,255,255,0.2); }
.hom-hero-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.2); border-radius:20px; padding:.25rem .75rem; font-size:.75rem; font-weight:600; color:#fff; margin-bottom:.5rem; }
.hom-hero-title { font-size:1.9rem; font-weight:800; color:#fff; margin:0 0 .3rem; }
.hom-hero-sub { font-size:.9rem; color:rgba(255,255,255,0.72); margin:0; }
.hom-hero-stat { background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:.85rem 1.1rem; text-align:center; min-width:88px; }
.hom-hero-stat-value { font-size:1.6rem; font-weight:800; color:#fff; line-height:1; }
.hom-hero-stat-label { font-size:.65rem; color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }

/* TOOLBAR */
.hom-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; background:#fff; border:2px solid #e8edf5; border-radius:14px; padding:.75rem 1rem; margin-bottom:1.25rem; box-shadow:0 2px 8px rgba(0,0,0,0.04); flex-wrap:wrap; }
.hom-tabs { display:flex; gap:.35rem; background:#f1f5fb; border-radius:10px; padding:4px; }
.hom-tab { display:flex; align-items:center; gap:.45rem; background:none; border:none; border-radius:8px; padding:.5rem 1rem; font-size:.82rem; font-weight:500; color:#64748b; cursor:pointer; transition:all .18s; }
.hom-tab:hover { background:#e8edf5; color:#0A4EA0; }
.hom-tab.active { background:linear-gradient(135deg,#0A4EA0,#1a6fd4); color:#fff; font-weight:700; box-shadow:0 3px 10px rgba(10,78,160,0.28); }
.hom-tab-badge { background:rgba(255,255,255,0.25); border-radius:10px; padding:1px 7px; font-size:.65rem; font-weight:700; }
.hom-tab:not(.active) .hom-tab-badge { background:#e8edf5; color:#64748b; }
.hom-tab-badge.urgent { background:#ef4444 !important; color:#fff !important; }
.hom-filter { padding:.45rem .9rem; border:1.5px solid #e2e8f0; border-radius:10px; font-size:.82rem; color:#374151; background:#f8faff; outline:none; cursor:pointer; }
.hom-btn-primary { background:linear-gradient(135deg,#0A4EA0,#002b5e); color:#fff; border:none; padding:.5rem 1.1rem; border-radius:10px; font-size:.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:.4rem; transition:all .2s; white-space:nowrap; box-shadow:0 4px 12px rgba(10,78,160,0.25); }
.hom-btn-primary:hover { opacity:.9; transform:translateY(-1px); }

/* LIST */
.hom-list { display:flex; flex-direction:column; gap:.85rem; }

.hom-card { background:#fff; border:2px solid #e8edf5; border-radius:16px; padding:1.25rem 1.5rem; display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem; transition:all .2s; }
.hom-card:hover { border-color:#c7d9f5; box-shadow:0 6px 22px rgba(10,78,160,0.08); }
.hom-card--urgent { border-color:#fde68a; background:#fffbeb; }
.hom-card-left { flex:1; min-width:0; }
.hom-card-right { display:flex; flex-direction:column; align-items:flex-end; gap:.75rem; flex-shrink:0; }

.hom-card-prod { font-size:.7rem; color:#0A4EA0; font-weight:700; text-transform:uppercase; letter-spacing:.06em; display:flex; align-items:center; gap:.3rem; margin-bottom:.35rem; }
.hom-card-title { font-size:.9rem; font-weight:600; color:#1e293b; margin:0 0 .6rem; line-height:1.5; }
.hom-card-meta { display:flex; align-items:center; gap:.85rem; flex-wrap:wrap; }
.hom-assignee { display:flex; align-items:center; gap:.4rem; font-size:.78rem; color:#374151; font-weight:600; }
.hom-avatar { width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,#0A4EA0,#1a6fd4); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.65rem; font-weight:800; flex-shrink:0; }
.hom-by { font-size:.72rem; color:#94a3b8; }
.hom-due, .hom-date { font-size:.72rem; color:#64748b; display:flex; align-items:center; gap:.3rem; }
.hom-due i, .hom-date i { font-size:.65rem; }

.hom-status-badge { display:inline-flex; padding:.3rem .85rem; border-radius:20px; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.hom-result-badge { display:flex; align-items:center; gap:.35rem; font-size:.78rem; font-weight:700; }

.hom-btn-execute { background:linear-gradient(135deg,#0A4EA0,#1a6fd4); color:#fff; border:none; padding:.45rem .9rem; border-radius:9px; font-size:.78rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:.4rem; transition:all .2s; box-shadow:0 3px 10px rgba(10,78,160,0.25); }
.hom-btn-execute:hover { opacity:.9; transform:translateY(-1px); }
.hom-btn-view { background:#f1f5fb; color:#0A4EA0; border:1.5px solid #c7d9f5; padding:.45rem .9rem; border-radius:9px; font-size:.78rem; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:.4rem; transition:all .2s; }
.hom-btn-view:hover { background:#e0f2fe; }
.hom-btn-icon-del { width:34px; height:34px; background:#fee2e2; color:#dc2626; border:none; border-radius:9px; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:.8rem; transition:all .2s; }
.hom-btn-icon-del:hover { background:#dc2626; color:#fff; }

/* EXECUTE MODAL extras */
.hom-expected-preview {
  background: linear-gradient(135deg, #f0f9f0, #e8f5e8);
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: .875rem; line-height: 1.75; color: #065f46;
  white-space: pre-wrap;
}
.hom-steps-ol {
  background: #f8faff;
  border: 1.5px solid #e8edf5;
  border-radius: 12px;
  padding: 1rem 1rem 1rem 2.25rem;
  font-size: .875rem; line-height: 2; color: #374151; margin: 0;
}

.hom-result-row { display:flex; gap:.75rem; flex-wrap:wrap; }
.hom-result-btn { display:flex; align-items:center; gap:.45rem; flex-direction:column; padding:1rem 1.5rem; border:2px solid #e2e8f0; border-radius:14px; background:#f8faff; cursor:pointer; transition:all .2s; font-size:.82rem; font-weight:600; color:#374151; min-width:110px; }
.hom-result-btn:hover:not(:disabled) { border-color:#c7d9f5; transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.08); }
.hom-result-btn.active { background:#f0f9ff; }
.hom-result-btn i { font-size:1.4rem; }
.hom-result-btn:disabled { opacity:.6; cursor:not-allowed; }

.hom-notify-info {
  display:flex; align-items:center; gap:.6rem;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border:1.5px solid #bfdbfe;
  border-radius:10px;
  padding:.75rem 1rem;
  font-size:.8rem; color:#1e40af;
}
.hom-notify-info i { color:#1e40af; }

/* EMPTY */
.hom-empty { display:flex; flex-direction:column; align-items:center; padding:5rem 2rem; text-align:center; background:#fff; border:2px solid #e8edf5; border-radius:18px; }
.hom-empty-icon { width:72px; height:72px; border-radius:50%; background:#f1f5fb; display:flex; align-items:center; justify-content:center; font-size:1.8rem; color:#94a3b8; margin-bottom:1.25rem; }

@media (max-width: 768px) {
  .hom-card { flex-direction:column; }
  .hom-card-right { flex-direction:row; align-items:center; }
}
/* IPsLiberados.css */
.ipl-page { padding: 1.75rem; min-height: 100vh; background: #f1f5fb; }

/* HERO */
.ipl-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px; padding: 2.5rem; color: #fff;
  margin-bottom: 1.5rem; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
}
.ipl-hero::before { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; background:rgba(255,255,255,0.05); border-radius:50%; pointer-events:none; }
.ipl-hero-icon { width:72px; height:72px; border-radius:18px; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:2rem; flex-shrink:0; border:2px solid rgba(255,255,255,0.2); }
.ipl-hero-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.2); border-radius:20px; padding:.25rem .75rem; font-size:.75rem; font-weight:600; color:#fff; margin-bottom:.5rem; }
.ipl-hero-title { font-size:1.9rem; font-weight:800; color:#fff; margin:0 0 .3rem; }
.ipl-hero-sub { font-size:.9rem; color:rgba(255,255,255,0.72); margin:0; }

/* STATS */
.ipl-stat { background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.15); border-radius:14px; padding:.85rem 1.1rem; text-align:center; min-width:80px; }
.ipl-stat--green { background:rgba(5,150,105,0.25); border-color:rgba(5,150,105,0.4); }
.ipl-stat--red   { background:rgba(220,38,38,0.2);  border-color:rgba(220,38,38,0.35); }
.ipl-stat-value { font-size:1.6rem; font-weight:800; color:#fff; line-height:1; }
.ipl-stat-label { font-size:.65rem; color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }

/* TOOLBAR */
.ipl-toolbar { display:flex; gap:.75rem; align-items:center; background:#fff; border:2px solid #e8edf5; border-radius:14px; padding:.75rem 1rem; margin-bottom:1.25rem; box-shadow:0 2px 8px rgba(0,0,0,0.04); flex-wrap:wrap; }
.ipl-search { display:flex; align-items:center; gap:.5rem; background:#f8faff; border:1.5px solid #e2e8f0; border-radius:10px; padding:.45rem .9rem; flex:1; min-width:180px; }
.ipl-search i { color:#94a3b8; font-size:.8rem; }
.ipl-search input { border:none; background:none; outline:none; font-size:.85rem; color:#1e293b; width:100%; }
.ipl-filter-tabs { display:flex; gap:.25rem; background:#f1f5fb; border-radius:10px; padding:4px; }
.ipl-filter-tab { background:none; border:none; border-radius:8px; padding:.4rem .85rem; font-size:.78rem; font-weight:500; color:#64748b; cursor:pointer; transition:all .18s; }
.ipl-filter-tab:hover { background:#e8edf5; color:#0A4EA0; }
.ipl-filter-tab.active { background:linear-gradient(135deg,#0A4EA0,#1a6fd4); color:#fff; font-weight:700; box-shadow:0 3px 10px rgba(10,78,160,0.25); }
.ipl-btn-primary { background:linear-gradient(135deg,#0A4EA0,#002b5e); color:#fff; border:none; padding:.5rem 1.1rem; border-radius:10px; font-size:.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:.4rem; box-shadow:0 4px 12px rgba(10,78,160,0.25); transition:all .2s; white-space:nowrap; }
.ipl-btn-primary:hover { opacity:.9; transform:translateY(-1px); }
.ipl-btn-danger { background:linear-gradient(135deg,#c0392b,#7b241c); color:#fff; border:none; padding:.5rem 1.1rem; border-radius:10px; font-size:.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:.4rem; box-shadow:0 4px 12px rgba(192,57,43,0.3); transition:all .2s; white-space:nowrap; }
.ipl-btn-danger:hover:not(:disabled) { opacity:.9; transform:translateY(-1px); }
.ipl-btn-danger:disabled { opacity:.6; cursor:not-allowed; }

/* TABLE */
.ipl-table-wrap { background:#fff; border:2px solid #e8edf5; border-radius:18px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,0.05); }
.ipl-table { width:100%; border-collapse:collapse; }
.ipl-table thead { background:linear-gradient(135deg,#f8faff,#f1f5fb); }
.ipl-table th { padding:.85rem 1.1rem; font-size:.72rem; font-weight:700; color:#64748b; text-transform:uppercase; letter-spacing:.06em; border-bottom:2px solid #e8edf5; text-align:left; white-space:nowrap; }
.ipl-table th i { margin-right:.35rem; color:#0A4EA0; }
.ipl-table td { padding:.9rem 1.1rem; font-size:.85rem; color:#374151; border-bottom:1px solid #f1f5fb; vertical-align:middle; }
.ipl-table tbody tr:hover { background:#f8faff; }
.ipl-table tbody tr:last-child td { border-bottom:none; }
.ipl-row--expired td { opacity:.6; }

/* STATUS BADGE */
.ipl-status-badge { display:inline-flex; align-items:center; gap:.4rem; border-radius:20px; padding:.25rem .7rem; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.ipl-status-badge.active  { background:#d1fae5; color:#065f46; }
.ipl-status-badge.expired { background:#fee2e2; color:#991b1b; }
.ipl-status-dot { width:7px; height:7px; border-radius:50%; background:currentColor; }

/* CELLS */
.ipl-ip { background:#f1f5fb; border:1px solid #e2e8f0; border-radius:6px; padding:.2rem .5rem; font-size:.82rem; font-family:monospace; color:#0A4EA0; font-weight:700; }
.ipl-liberador { font-size:.78rem; color:#374151; }
.ipl-date { font-size:.78rem; color:#64748b; }
.ipl-date--expired { color:#dc2626; }

/* ACTION BUTTONS */
.ipl-btn-icon { width:32px; height:32px; border-radius:8px; border:none; display:flex; align-items:center; justify-content:center; font-size:.78rem; cursor:pointer; transition:all .2s; }
.ipl-btn-icon.edit   { background:#e0f2fe; color:#0284c7; }
.ipl-btn-icon.edit:hover   { background:#0284c7; color:#fff; }
.ipl-btn-icon.delete { background:#fee2e2; color:#dc2626; }
.ipl-btn-icon.delete:hover { background:#dc2626; color:#fff; }

/* DAYS GRID */
.ipl-days-grid { display:flex; gap:.4rem; flex-wrap:wrap; }
.ipl-days-btn { background:#f8faff; border:1.5px solid #e2e8f0; border-radius:8px; padding:.35rem .7rem; font-size:.75rem; font-weight:600; color:#64748b; cursor:pointer; transition:all .18s; }
.ipl-days-btn:hover { border-color:#c7d9f5; color:#0A4EA0; }
.ipl-days-btn.active { background:linear-gradient(135deg,#0A4EA0,#1a6fd4); border-color:transparent; color:#fff; }

/* NOTIFY INFO */
.ipl-notify-info { display:flex; align-items:center; gap:.6rem; background:linear-gradient(135deg,#eff6ff,#dbeafe); border:1.5px solid #bfdbfe; border-radius:10px; padding:.75rem 1rem; font-size:.8rem; color:#1e40af; margin-top:.5rem; }

/* LOADING / EMPTY */
.ipl-loading { display:flex; align-items:center; gap:.75rem; padding:3rem 2rem; justify-content:center; color:#94a3b8; font-size:.9rem; }
.ipl-empty { display:flex; flex-direction:column; align-items:center; padding:4rem 2rem; text-align:center; }
.ipl-empty-icon { width:64px; height:64px; border-radius:50%; background:#f1f5fb; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:#94a3b8; margin-bottom:1rem; }

@media (max-width: 768px) {
  .ipl-table-wrap { overflow-x: auto; }
}
/* AspErrorsDashboard.css — Premium Phobos Design */

/* ── NUCLEAR FIX: nenhum elemento dentro da página estoura a tela ─────────── */
.aed-page *,
.aed-page *::before,
.aed-page *::after {
  box-sizing: border-box;
}
/* Exceção: tables ignoram max-width, tratamos elas separado */
.aed-page :not(table):not(col):not(colgroup) {
  max-width: 100%;
}

/* ── PAGE ─────────────────────────────────────────────────────────────────── */
.aed-page {
  padding: 1.75rem;
  min-height: 100vh;
  background: #f1f5fb;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.aed-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.aed-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.aed-hero::after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.aed-hero-left { display: flex; align-items: center; gap: 1.25rem; }
.aed-hero-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.aed-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: .25rem .75rem;
  font-size: .72rem; font-weight: 600; color: #fff;
  margin-bottom: .5rem;
}
.aed-hero-title { font-size: 1.85rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; }
.aed-hero-sub { font-size: .88rem; color: rgba(255,255,255,0.72); margin: 0; }
.aed-hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* ── PERIOD TABS ───────────────────────────────────────────────────────────── */
.aed-period-bar {
  display: flex; align-items: center; gap: .75rem;
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 14px;
  padding: .65rem 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.aed-period-label { font-size: .78rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.aed-period-tabs { display: flex; gap: .25rem; background: #f1f5fb; border-radius: 10px; padding: 4px; }
.aed-period-tab {
  background: none; border: none;
  border-radius: 8px; padding: .4rem .9rem;
  font-size: .78rem; font-weight: 600; color: #64748b;
  cursor: pointer; transition: all .18s;
}
.aed-period-tab:hover { background: #e8edf5; color: #0A4EA0; }
.aed-period-tab.active {
  background: linear-gradient(135deg,#0A4EA0,#1a6fd4);
  color: #fff; font-weight: 700;
  box-shadow: 0 3px 10px rgba(10,78,160,0.25);
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.aed-btn-primary {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; padding: .55rem 1.2rem;
  border-radius: 10px; font-size: .82rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: .45rem;
  transition: all .2s; white-space: nowrap;
}
.aed-btn-primary:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.aed-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.aed-btn-ai {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: none; color: #fff; padding: .55rem 1.2rem;
  border-radius: 10px; font-size: .82rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: .45rem;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.aed-btn-ai:hover { opacity: .9; transform: translateY(-1px); }
.aed-btn-ai:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── KPI CARDS ────────────────────────────────────────────────────────────── */
.aed-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 240px));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.aed-kpi {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .18s, box-shadow .18s;
}
.aed-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,78,160,0.1); }
.aed-kpi-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.aed-kpi-icon--red   { background: #fee2e2; color: #dc2626; }
.aed-kpi-icon--blue  { background: #dbeafe; color: #1d4ed8; }
.aed-kpi-icon--green { background: #d1fae5; color: #059669; }
.aed-kpi-icon--orange { background: #ffedd5; color: #ea580c; }
.aed-kpi-value { font-size: 1.8rem; font-weight: 800; color: #1e293b; line-height: 1; }
.aed-kpi-label { font-size: .72rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ── GRID LAYOUT ──────────────────────────────────────────────────────────── */
.aed-charts-grid,
.aed-charts-grid-2,
.aed-recent-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.aed-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.aed-charts-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
/* Cada filho do grid nunca cresce além da célula */
.aed-charts-grid > *,
.aed-charts-grid-2 > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .aed-charts-grid { grid-template-columns: 1fr; }
  .aed-charts-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .aed-charts-grid-2 { grid-template-columns: 1fr; }
}

/* ── CARD ─────────────────────────────────────────────────────────────────── */
.aed-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.aed-card-title {
  font-size: .78rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem;
}
.aed-card-title i { color: #0A4EA0; font-size: .9rem; }

/* ── CHART CANVAS ─────────────────────────────────────────────────────────── */
.aed-chart-wrap {
  position: relative;
  width: 100%;
  height: 240px;
}
.aed-chart-wrap canvas { width: 100% !important; height: 100% !important; }

/* ── BAR LIST ─────────────────────────────────────────────────────────────── */
.aed-bar-list { display: flex; flex-direction: column; gap: .6rem; }
.aed-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .79rem; margin-bottom: .3rem;
}
.aed-bar-name { color: #374151; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.aed-bar-count { font-weight: 700; color: #0A4EA0; font-size: .78rem; }
.aed-bar-track { height: 8px; background: #f1f5fb; border-radius: 99px; overflow: hidden; }
.aed-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A4EA0, #1a6fd4);
  border-radius: 99px;
  transition: width .5s ease;
}
.aed-bar-fill--orange { background: linear-gradient(90deg, #ea580c, #fb923c); }
.aed-bar-fill--green  { background: linear-gradient(90deg, #059669, #34d399); }

/* ── TOP LIST ─────────────────────────────────────────────────────────────── */
.aed-top-list { display: flex; flex-direction: column; gap: .5rem; }
.aed-top-item {
  display: flex; align-items: center; gap: .7rem;
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 10px; padding: .6rem .85rem;
}
.aed-top-rank {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #002b5e, #0A4EA0);
  color: #fff; font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aed-top-name { flex: 1; font-size: .82rem; font-weight: 500; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aed-top-badge {
  background: linear-gradient(135deg, #0A4EA0, #1a6fd4);
  color: #fff; border-radius: 99px;
  padding: .2rem .6rem; font-size: .7rem; font-weight: 700;
  flex-shrink: 0;
}

/* ── SERVER CARDS ─────────────────────────────────────────────────────────── */
.aed-server-list { display: flex; flex-direction: column; gap: .5rem; }
.aed-server-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 10px; padding: .6rem .85rem;
}
.aed-server-name { font-size: .82rem; font-weight: 600; color: #1e293b; }
.aed-server-name i { margin-right: .5rem; color: #0A4EA0; }
.aed-server-count {
  background: #fee2e2; color: #dc2626;
  border-radius: 99px; padding: .2rem .65rem;
  font-size: .72rem; font-weight: 700;
}

/* ── RECENT TABLE ─────────────────────────────────────────────────────────── */
.aed-recent-wrap {
  margin-bottom: 1.25rem;
  overflow: hidden;
  max-width: 100%;
}
.aed-table-scroll {
  overflow-x: auto;
  border-radius: 14px;
  max-width: 100%;
  width: 100%;
}
.aed-table {
  width: 100%;
  min-width: 700px; /* força scroll horizontal no mobile em vez de overflow */
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  border-radius: 14px;
}
.aed-table thead { background: linear-gradient(135deg, #f8faff, #f1f5fb); }
.aed-table th {
  padding: .8rem 1rem; font-size: .7rem; font-weight: 700;
  color: #64748b; text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 2px solid #e8edf5; text-align: left; white-space: nowrap;
}
.aed-table th i { margin-right: .35rem; color: #0A4EA0; }
.aed-table td {
  padding: .75rem 1rem; font-size: .82rem; color: #374151;
  border-bottom: 1px solid #f1f5fb; vertical-align: middle;
}
.aed-table tbody tr:hover { background: #f8faff; }
.aed-table tbody tr:last-child td { border-bottom: none; }

.aed-badge-error {
  display: inline-block; background: #fee2e2; color: #991b1b;
  border-radius: 8px; padding: .15rem .5rem; font-size: .7rem; font-weight: 700;
  white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis;
}
.aed-code { font-family: monospace; font-size: .78rem; color: #0A4EA0; background: #eff6ff; padding: .1rem .4rem; border-radius: 5px; }
.aed-desc { font-size: .77rem; color: #64748b; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── AI MODAL ─────────────────────────────────────────────────────────────── */
.aed-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.52); backdrop-filter: blur(4px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.aed-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 680px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: aedModalIn .25s ease;
  overflow: hidden;
  max-height: 85vh;
  display: flex; flex-direction: column;
}
@keyframes aedModalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.aed-modal-header {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: .75rem; color: #fff;
}
.aed-modal-header h4 { margin: 0; font-size: 1rem; font-weight: 700; flex: 1; }
.aed-modal-close {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: background .18s;
}
.aed-modal-close:hover { background: rgba(255,255,255,0.35); }
.aed-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.aed-ai-text {
  font-size: .88rem; line-height: 1.7; color: #374151;
  white-space: pre-wrap;
}
.aed-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1.5px solid #f1f5fb;
  display: flex; justify-content: flex-end;
}
.aed-btn-close {
  background: #f1f5fb; border: none; color: #64748b;
  padding: .5rem 1.2rem; border-radius: 10px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: all .18s;
}
.aed-btn-close:hover { background: #e2e8f0; color: #374151; }

/* ── EMPTY / LOADING ─────────────────────────────────────────────────────── */
.aed-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 3rem 2rem; text-align: center; color: #94a3b8;
}
.aed-empty i { font-size: 2rem; margin-bottom: .75rem; }
.aed-loading {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 3rem; color: #94a3b8; font-size: .9rem;
}

/* ── SCROLLBAR ───────────────────────────────────────────────────────────── */
.aed-table-scroll::-webkit-scrollbar,
.aed-modal-body::-webkit-scrollbar { width: 6px; height: 6px; }
.aed-table-scroll::-webkit-scrollbar-track,
.aed-modal-body::-webkit-scrollbar-track { background: #f1f5fb; }
.aed-table-scroll::-webkit-scrollbar-thumb,
.aed-modal-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ── LIVE COUNTER ─────────────────────────────────────────────────────────── */
.aed-live-counter {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px; padding: .45rem .9rem;
  white-space: nowrap;
}
.aed-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.5);
  animation: aedPulse 1.5s ease-out infinite;
  flex-shrink: 0;
}
@keyframes aedPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.aed-live-label { font-size: .72rem; font-weight: 800; color: #4ade80; letter-spacing: .08em; }
.aed-live-time { font-size: .7rem; color: rgba(255,255,255,0.65); }
.aed-live-bar { width: 60px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 99px; overflow: hidden; }
.aed-live-bar-fill { height: 100%; background: #4ade80; border-radius: 99px; transition: width 1s linear; }

/* ── LAST UPDATE ─────────────────────────────────────────────────────────── */
.aed-last-update {
  font-size: .72rem; color: #94a3b8; display: flex; align-items: center; margin-left: auto;
}

/* ── NO DATA STATE ───────────────────────────────────────────────────────── */
.aed-no-data {
  background: #fff; border: 2px solid #e8edf5; border-radius: 20px;
  padding: 3rem 2rem; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 1.25rem;
}
.aed-no-data-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #059669; margin: 0 auto 1.25rem;
}
.aed-no-data h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin: 0 0 .5rem; }
.aed-no-data p { font-size: .88rem; color: #64748b; margin: 0; }
.aed-btn-reload {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, #0A4EA0, #1a6fd4);
  color: #fff; border: none; padding: .55rem 1.4rem;
  border-radius: 10px; font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.aed-btn-reload:hover { opacity: .9; transform: translateY(-1px); }

/* AgendadorDashboard.css — Premium Phobos Design */

.ag-page *,
.ag-page *::before,
.ag-page *::after { box-sizing: border-box; }
.ag-page :not(table):not(col):not(colgroup) { max-width: 100%; }

.ag-page {
  padding: 1.75rem;
  min-height: 100vh;
  background: #f1f5fb;
  width: 100%;
  overflow-x: hidden;
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.ag-hero {
  background: linear-gradient(135deg, #1c2a4a 0%, #0f3d8a 50%, #1a6fd4 100%);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.ag-hero::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.ag-hero::after {
  content: "";
  position: absolute; right: 60px; bottom: -80px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.ag-hero-left { display: flex; align-items: center; gap: 1.25rem; z-index: 1; }
.ag-hero-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.ag-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px; padding: .25rem .75rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  margin-bottom: .5rem;
}
.ag-hero-title { font-size: 1.65rem; font-weight: 800; margin: 0 0 .35rem; letter-spacing: -.02em; }
.ag-hero-sub { font-size: .82rem; opacity: .72; margin: 0; }
.ag-hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; z-index: 1; }

/* ── LIVE COUNTER ─────────────────────────────────────────────────────────── */
.ag-live {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px; padding: .45rem .9rem;
  white-space: nowrap;
}
.ag-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.5);
  animation: agPulse 1.5s ease-out infinite;
}
@keyframes agPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.ag-live-label { font-size: .72rem; font-weight: 800; color: #4ade80; letter-spacing: .08em; }
.ag-live-time  { font-size: .7rem; color: rgba(255,255,255,0.65); }
.ag-live-bar { width: 60px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 99px; overflow: hidden; }
.ag-live-fill { height: 100%; background: #4ade80; border-radius: 99px; transition: width 1s linear; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.ag-btn-refresh {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; padding: .55rem 1.2rem;
  border-radius: 10px; font-size: .82rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: .45rem;
  transition: all .2s; white-space: nowrap;
}
.ag-btn-refresh:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.ag-btn-refresh:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── KPI CARDS ────────────────────────────────────────────────────────────── */
.ag-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 240px));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ag-kpi {
  background: #fff; border: 2px solid #e8edf5;
  border-radius: 16px; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .18s, box-shadow .18s;
}
.ag-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,78,160,0.1); }
.ag-kpi-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.ag-kpi-icon--blue   { background: #dbeafe; color: #1d4ed8; }
.ag-kpi-icon--green  { background: #d1fae5; color: #059669; }
.ag-kpi-icon--red    { background: #fee2e2; color: #dc2626; }
.ag-kpi-icon--orange { background: #ffedd5; color: #ea580c; }
.ag-kpi-value { font-size: 1.8rem; font-weight: 800; color: #1e293b; line-height: 1; }
.ag-kpi-label { font-size: .72rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ── CARD ─────────────────────────────────────────────────────────────────── */
.ag-card {
  background: #fff; border: 2px solid #e8edf5;
  border-radius: 18px; padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 1.25rem;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.ag-card-title {
  font-size: .78rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.ag-count-badge {
  background: linear-gradient(135deg, #0A4EA0, #1a6fd4);
  color: #fff; border-radius: 99px;
  padding: .15rem .6rem; font-size: .7rem; font-weight: 700;
  margin-left: auto;
}
.ag-count-badge--purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* ── TOP DEMORADAS ────────────────────────────────────────────────────────── */
.ag-top-demora {
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 12px; padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.ag-top-label {
  font-size: .7rem; font-weight: 700; color: #7c3aed;
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .75rem;
}
.ag-top-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ag-top-chip {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1.5px solid #e8edf5;
  border-radius: 10px; padding: .4rem .75rem;
  font-size: .78rem;
}
.ag-top-chip-rank {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ag-top-chip-name { color: #374151; font-weight: 500; }
.ag-top-chip-dur  { color: #7c3aed; font-weight: 700; font-size: .72rem; }

/* ── TABLE ────────────────────────────────────────────────────────────────── */
.ag-table-scroll {
  overflow-x: auto; border-radius: 12px;
  width: 100%; max-width: 100%;
}
.ag-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: 12px;
  min-width: 700px;
}
.ag-table thead { background: linear-gradient(135deg, #f8faff, #f1f5fb); }
.ag-table th {
  padding: .75rem 1rem; font-size: .68rem;
  font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 2px solid #e8edf5;
  text-align: left; white-space: nowrap;
}
.ag-table td {
  padding: .7rem 1rem; font-size: .81rem;
  color: #374151; border-bottom: 1px solid #f1f5fb;
  vertical-align: middle;
}
.ag-table tbody tr:hover { background: #f8faff; }
.ag-table tbody tr:last-child td { border-bottom: none; }
.ag-row-running { background: linear-gradient(90deg, rgba(220,252,231,0.3), transparent) !important; }
.ag-row-running:hover { background: rgba(220,252,231,0.5) !important; }

/* ── COMPONENTS ───────────────────────────────────────────────────────────── */
.ag-code {
  font-family: monospace; font-size: .75rem;
  color: #0A4EA0; background: #eff6ff;
  padding: .15rem .4rem; border-radius: 5px;
}
.ag-server-badge {
  display: inline-flex; align-items: center;
  background: #f0fdf4; border: 1.5px solid #bbf7d0;
  color: #15803d; border-radius: 8px;
  padding: .15rem .5rem; font-size: .72rem; font-weight: 700;
}
.ag-time-badge {
  display: inline-block;
  background: #faf5ff; border: 1.5px solid #e9d5ff;
  color: #7c3aed; border-radius: 8px;
  padding: .15rem .5rem; font-size: .72rem; font-weight: 700;
  font-family: monospace; white-space: nowrap;
}
.ag-desc-cell {
  max-width: 220px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.ag-progress {
  display: flex; align-items: center; gap: .5rem;
  min-width: 100px;
}
.ag-progress-bar {
  height: 6px; border-radius: 99px;
  transition: width .3s ease; flex: 1;
  background: #0A4EA0;
}
.ag-progress-label { font-size: .72rem; font-weight: 700; color: #374151; white-space: nowrap; }

.ag-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  border-radius: 8px; padding: .2rem .55rem;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
}
.ag-badge--ok      { background: #d1fae5; color: #065f46; }
.ag-badge--error   { background: #fee2e2; color: #991b1b; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.ag-badge--neutral { background: #f1f5f9; color: #94a3b8; }

/* ── STATES ───────────────────────────────────────────────────────────────── */
.ag-loading {
  display: flex; align-items: center; gap: .75rem;
  color: #64748b; font-size: .85rem; padding: 2.5rem;
  justify-content: center;
}
.ag-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem; gap: .4rem; color: #374151; font-size: .88rem;
  text-align: center;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.ag-footer-time {
  font-size: .72rem; color: #94a3b8;
  display: flex; align-items: center; gap: .4rem;
  justify-content: flex-end; margin: 0;
}

/* ── SCROLLBAR ────────────────────────────────────────────────────────────── */
.ag-table-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.ag-table-scroll::-webkit-scrollbar-track { background: #f1f5fb; }
.ag-table-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
/* CobrancaBasesDashboard.css — Premium Phobos Design */

.cb-page *, .cb-page *::before, .cb-page *::after { box-sizing: border-box; }
.cb-page :not(table):not(col):not(colgroup) { max-width: 100%; }

.cb-page {
  padding: 1.75rem;
  min-height: 100vh;
  background: #f1f5fb;
  width: 100%;
  overflow-x: hidden;
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.cb-hero {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 45%, #1a6fd4 100%);
  border-radius: 20px; padding: 2.5rem;
  color: #fff; margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(10,78,160,0.4);
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; position: relative; overflow: hidden;
}
.cb-hero::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,0.05); pointer-events: none;
}
.cb-hero::after {
  content: ""; position: absolute; right: 80px; bottom: -80px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cb-hero-left { display: flex; align-items: center; gap: 1.25rem; z-index: 1; flex: 1; min-width: 0; }
.cb-hero-right { display: flex; flex-direction: column; align-items: flex-end; gap: .85rem; z-index: 1; flex-shrink: 0; }
.cb-hero-stats { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.cb-hstat {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: .75rem 1rem; text-align: center; min-width: 76px;
}
.cb-hstat--green { background: rgba(5,150,105,0.25);  border-color: rgba(5,150,105,0.4); }
.cb-hstat--red   { background: rgba(220,38,38,0.2);   border-color: rgba(220,38,38,0.35); }
.cb-hstat--blue  { background: rgba(10,78,160,0.35);  border-color: rgba(10,78,160,0.5); }
.cb-hstat--slate { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
.cb-hstat-value { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.cb-hstat-label { font-size: .63rem; color: rgba(255,255,255,0.72); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.cb-hero-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
}
.cb-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: .25rem .75rem;
  font-size: .75rem; font-weight: 600; color: #fff; margin-bottom: .5rem;
}
.cb-hero-title { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 0 0 .3rem; }
.cb-hero-sub   { font-size: .9rem; color: rgba(255,255,255,0.72); margin: 0; }
.cb-hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 860px) {
  .cb-hero { flex-direction: column; align-items: flex-start; }
  .cb-hero-right { align-items: flex-start; width: 100%; }
  .cb-hero-stats { justify-content: flex-start; }
  .cb-hero-actions { justify-content: flex-start; }
}

/* ── LIVE ─────────────────────────────────────────────────────────────────── */
.cb-live {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px; padding: .45rem .9rem; white-space: nowrap;
}
.cb-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0;
  animation: cbPulse 1.5s ease-out infinite;
}
@keyframes cbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.cb-live-label { font-size: .72rem; font-weight: 800; color: #4ade80; letter-spacing: .08em; }
.cb-live-time  { font-size: .7rem; color: rgba(255,255,255,0.6); }
.cb-live-bar   { width: 60px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 99px; overflow: hidden; }
.cb-live-fill  { height: 100%; background: #4ade80; border-radius: 99px; transition: width 1s linear; }

/* ── BUTTON ───────────────────────────────────────────────────────────────── */
.cb-btn-refresh {
  background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; padding: .55rem 1.2rem; border-radius: 10px;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: .45rem; transition: all .2s; white-space: nowrap;
}
.cb-btn-refresh:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); }
.cb-btn-refresh:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── GRID ─────────────────────────────────────────────────────────────────── */
.cb-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 1.25rem;
}
@media (max-width: 900px) { .cb-grid-2 { grid-template-columns: 1fr; } }

/* ── CARD ─────────────────────────────────────────────────────────────────── */
.cb-card {
  background: #fff; border: 2px solid #e8edf5; border-radius: 18px;
  padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 1.25rem; min-width: 0; max-width: 100%; overflow: visible;
}
.cb-card-title {
  font-size: .78rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.cb-count-badge {
  border-radius: 99px; padding: .15rem .6rem;
  font-size: .7rem; font-weight: 700; margin-left: auto;
  color: #fff;
}
.cb-count-badge--red   { background: linear-gradient(135deg, #dc2626, #ef4444); }
.cb-count-badge--green { background: linear-gradient(135deg, #059669, #10b981); }

/* ── SERVER LIST ──────────────────────────────────────────────────────────── */
.cb-server-list { display: flex; flex-direction: column; gap: .75rem; }
.cb-server-item {
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 10px; padding: .75rem 1rem;
}
.cb-server-info {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .4rem;
}
.cb-server-name { font-size: .82rem; font-weight: 600; color: #1e293b; }
.cb-server-name i { margin-right: .4rem; color: #0A4EA0; }
.cb-server-count-badge { font-size: .7rem; color: #64748b; font-weight: 600; }
.cb-server-bar-track { height: 6px; background: #e8edf5; border-radius: 99px; overflow: hidden; }
.cb-server-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #0A4EA0, #1a6fd4); transition: width .4s ease; }

/* ── TIPO LIST ────────────────────────────────────────────────────────────── */
.cb-tipo-list { display: flex; flex-direction: column; gap: .65rem; }
.cb-tipo-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 10px; padding: .65rem 1rem;
}
.cb-tipo-badge {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; border-radius: 8px; padding: .2rem .6rem;
  font-size: .72rem; font-weight: 700;
}
.cb-tipo-count { font-size: .82rem; color: #374151; font-weight: 600; }

/* ── SEARCH ───────────────────────────────────────────────────────────────── */
.cb-search-wrap {
  display: flex; align-items: center; gap: .4rem;
  background: #f8faff; border: 1.5px solid #e8edf5;
  border-radius: 8px; padding: .3rem .75rem;
  margin-left: auto;
}
.cb-search-wrap i { color: #94a3b8; font-size: .78rem; }
.cb-search {
  border: none; background: transparent; font-size: .82rem;
  color: #374151; outline: none; width: 180px;
}

/* ── TABLE ────────────────────────────────────────────────────────────────── */
.cb-table-scroll {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  border-radius: 12px;
  border: 1.5px solid #e8edf5;
  width: 100%; max-width: 100%;
}
.cb-table {
  width: 100%; border-collapse: collapse;
  background: #fff; min-width: 600px;
}
.cb-table thead { background: linear-gradient(135deg, #f8faff, #f1f5fb); position: sticky; top: 0; z-index: 1; }
.cb-table th {
  padding: .75rem 1rem; font-size: .68rem; font-weight: 700;
  color: #64748b; text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 2px solid #e8edf5; text-align: left; white-space: nowrap;
}
.cb-table td {
  padding: .7rem 1rem; font-size: .81rem; color: #374151;
  border-bottom: 1px solid #f1f5fb; vertical-align: middle;
}
.cb-table tbody tr:hover { background: #f8faff; }
.cb-table tbody tr:last-child td { border-bottom: none; }

/* ── COMPONENTS ───────────────────────────────────────────────────────────── */
.cb-code {
  font-family: monospace; font-size: .75rem;
  color: #0A4EA0; background: #eff6ff;
  padding: .15rem .4rem; border-radius: 5px;
}
.cb-cnpj {
  font-family: monospace; font-size: .73rem;
  color: #475569; background: #f1f5f9;
  padding: .15rem .4rem; border-radius: 5px;
  white-space: nowrap;
}
.cb-desc-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-date-badge {
  display: inline-block; background: #f0fdf4; border: 1.5px solid #bbf7d0;
  color: #15803d; border-radius: 8px; padding: .15rem .5rem;
  font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.cb-tipo-chip {
  display: inline-block; background: #faf5ff; border: 1.5px solid #e9d5ff;
  color: #7c3aed; border-radius: 8px; padding: .15rem .5rem;
  font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.cb-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  border-radius: 8px; padding: .2rem .55rem;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
}
.cb-badge--blocked { background: #fee2e2; color: #991b1b; }

/* ── STATES ───────────────────────────────────────────────────────────────── */
.cb-loading {
  display: flex; align-items: center; gap: .75rem;
  color: #64748b; font-size: .85rem; padding: 3rem;
  justify-content: center;
}
.cb-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem; gap: .4rem; color: #94a3b8; font-size: .85rem;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.cb-footer-time {
  font-size: .72rem; color: #94a3b8;
  display: flex; align-items: center; gap: .4rem;
  justify-content: flex-end; margin: 0;
}

/* ── SCROLLBAR ────────────────────────────────────────────────────────────── */
.cb-table-scroll::-webkit-scrollbar { height: 6px; width: 6px; }
.cb-table-scroll::-webkit-scrollbar-track { background: #f1f5fb; }
.cb-table-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.cb-table-scroll::-webkit-scrollbar-corner { background: #f1f5fb; }
/* ============================================================
   AceleratoDashboard.css — Design System Phobos
   Primary: #0A4EA0  Dark: #002b5e  Accent: #1a6fd4
   BG: #f1f5fb  Card: #fff  Border: #e8edf5
   ============================================================ */

/* Page */
.ac-page { padding: 1.75rem; min-height: 100vh; background: #f1f5fb; display: flex; flex-direction: column; gap: 1.25rem; }

/* ── HEADER ────────────────────────────────────────────────── */
.ac-header {
  background: linear-gradient(135deg, #002b5e 0%, #0A4EA0 50%, #1a6fd4 100%);
  border-radius: 20px; padding: 1.75rem 2rem; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,78,160,0.35);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ac-header::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.ac-header__left { display: flex; align-items: center; gap: 14px; }
.ac-header__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.ac-header h1 { margin: 0 0 2px; font-size: 1.5rem; font-weight: 800; color: #fff; }
.ac-header p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.72); }
.ac-header__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-equipe-filter { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; padding: 6px 12px; }
.ac-equipe-filter i { color: rgba(255,255,255,0.8); font-size: 0.78rem; }
.ac-equipe-filter select { background: transparent; border: none; color: #fff; font-size: 0.82rem; cursor: pointer; outline: none; font-weight: 600; }
.ac-equipe-filter select option { background: #0A4EA0; color: #fff; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.ac-btn { display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 10px; padding: 8px 16px; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all .2s; white-space: nowrap; text-decoration: none; }
.ac-btn--primary { background: rgba(255,255,255,0.18); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.ac-btn--primary:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.ac-btn--ghost { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.2); }
.ac-btn--ghost:hover { background: rgba(255,255,255,0.2); }
.ac-btn--sm { padding: 6px 12px; font-size: 0.78rem; }
.ac-btn--lg { padding: 13px 30px; font-size: 0.94rem; border-radius: 12px; background: linear-gradient(135deg, #0A4EA0, #002b5e) !important; color: #fff; border: none !important; box-shadow: 0 6px 20px rgba(10,78,160,.35); }
.ac-btn--lg:hover { opacity: .9; transform: translateY(-1px); }

/* ── TABS ─────────────────────────────────────────────────── */
.ac-tabs { display: flex; gap: 4px; background: #fff; border: 2px solid #e8edf5; border-radius: 14px; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); flex-wrap: wrap; }
.ac-tab { display: flex; align-items: center; gap: 6px; background: none; border: none; border-radius: 10px; padding: 8px 16px; font-size: 0.8rem; font-weight: 600; color: #64748b; cursor: pointer; transition: all .18s; }
.ac-tab:hover { background: #f1f5fb; color: #0A4EA0; }
.ac-tab--active { background: linear-gradient(135deg, #0A4EA0, #1a6fd4) !important; color: #fff !important; box-shadow: 0 3px 10px rgba(10,78,160,0.25); }
.ac-tab--active i { color: #fff !important; }
.ac-tab-badge { background: rgba(255,255,255,0.3); color: #fff; font-size: 0.68rem; font-weight: 700; border-radius: 99px; padding: 1px 6px; }
.ac-tab:not(.ac-tab--active) .ac-tab-badge { background: #e8edf5; color: #0A4EA0; }

/* ── CONTENT WRAPPER ───────────────────────────────────────── */
.ac-content { display: flex; flex-direction: column; gap: 16px; }

/* ── SECTION ──────────────────────────────────────────────── */
.ac-section { background: #fff; border: 2px solid #e8edf5; border-radius: 18px; padding: 22px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.ac-section__title { margin: 0 0 18px; font-size: 0.88rem; font-weight: 700; color: #374151; display: flex; align-items: center; gap: 8px; }
.ac-section__title i { color: #0A4EA0; }

/* ── KPIs ─────────────────────────────────────────────────── */
.ac-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media(max-width:768px) { .ac-kpis { grid-template-columns: repeat(2,1fr); } }
.ac-kpi { background: #fff; border: 2px solid #e8edf5; border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all .2s; }
.ac-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.ac-kpi__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.ac-kpi--blue .ac-kpi__icon { background: #dbeafe; color: #1d4ed8; }
.ac-kpi--red .ac-kpi__icon { background: #fee2e2; color: #dc2626; }
.ac-kpi--orange .ac-kpi__icon { background: #ffedd5; color: #ea580c; }
.ac-kpi--green .ac-kpi__icon { background: #dcfce7; color: #16a34a; }
.ac-kpi__val { display: block; font-size: 1.8rem; font-weight: 800; color: #0f172a; line-height: 1; }
.ac-kpi__lbl { display: block; font-size: 0.72rem; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.ac-kpi--shimmer { background: linear-gradient(90deg,#f1f5fb 25%,#e8edf5 50%,#f1f5fb 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-color: transparent; min-height: 90px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── TIPOS ────────────────────────────────────────────────── */
.ac-tipos { display: flex; flex-direction: column; gap: 12px; }
.ac-tipo-row { display: grid; grid-template-columns: 180px 1fr 60px; align-items: center; gap: 12px; }
.ac-tipo-row__label { font-size: 0.82rem; color: #374151; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-tipo-row__bar-wrap { background: #f1f5fb; border-radius: 99px; height: 8px; overflow: hidden; }
.ac-tipo-row__bar { height: 100%; background: linear-gradient(90deg,#0A4EA0,#1a6fd4); border-radius: 99px; transition: width .5s; }
.ac-tipo-row__count { font-size: 0.8rem; font-weight: 700; color: #0A4EA0; text-align: right; }

/* ── EQUIPES GRID ─────────────────────────────────────────── */
.ac-equipes-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 10px; }
.ac-equipe-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #f8faff; border: 1.5px solid #e2e8f0; border-radius: 12px; cursor: pointer; transition: all .18s; }
.ac-equipe-card:hover { border-color: #c7d9f5; background: #eff6ff; transform: translateY(-1px); }
.ac-equipe-card i { color: #0A4EA0; font-size: 1rem; margin-bottom: 4px; }
.ac-equipe-card strong { font-size: 0.83rem; color: #0f172a; }
.ac-equipe-card span { font-size: 0.72rem; color: #64748b; }

/* ── CTA IA ───────────────────────────────────────────────── */
.ac-ia-cta { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 1.5px solid #bfdbfe; border-radius: 14px; padding: 16px 20px; cursor: pointer; transition: all .2s; }
.ac-ia-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,78,160,.12); border-color: #93c5fd; }
.ac-ia-cta > i:first-child { font-size: 1.4rem; color: #0A4EA0; flex-shrink: 0; }
.ac-ia-cta > i:last-child { color: #bfdbfe; margin-left: auto; }
.ac-ia-cta strong { font-size: 0.88rem; color: #1e40af; display: block; }
.ac-ia-cta p { font-size: 0.79rem; color: #3b82f6; margin: 0; }

/* ── FILTERS ──────────────────────────────────────────────── */
.ac-filters { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 2px solid #e8edf5; border-radius: 14px; padding: 10px 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ac-filter-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-filter-chips { display: flex; gap: 4px; background: #f1f5fb; border-radius: 10px; padding: 3px; }
.ac-chip { background: none; border: none; border-radius: 8px; padding: 5px 12px; font-size: 0.77rem; font-weight: 600; color: #64748b; cursor: pointer; transition: all .18s; }
.ac-chip:hover { background: #e8edf5; color: #0A4EA0; }
.ac-chip--active { background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; box-shadow: 0 3px 8px rgba(10,78,160,0.25); }
.ac-search { display: flex; align-items: center; gap: 8px; background: #f8faff; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 6px 12px; }
.ac-search i { color: #94a3b8; font-size: 0.8rem; }
.ac-search input { border: none; background: transparent; font-size: 0.83rem; outline: none; color: #1e293b; width: 180px; }
.ac-btn--primary.ac-btn--sm { background: linear-gradient(135deg,#0A4EA0,#002b5e); color: #fff; border: none; box-shadow: 0 3px 8px rgba(10,78,160,0.25); }
.ac-btn--primary.ac-btn--sm:hover { opacity: .9; transform: translateY(-1px); }

/* ── OPEN FORM ────────────────────────────────────────────── */
.ac-open-form { background: #fff; border: 2px solid #e8edf5; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 10px; }
.ac-open-form__header { display: flex; justify-content: space-between; align-items: center; }
.ac-open-form__header h3 { margin: 0; font-size: 0.9rem; font-weight: 700; color: #0A4EA0; }
.ac-open-form input, .ac-open-form textarea { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 0.84rem; color: #0f172a; outline: none; font-family: inherit; transition: border-color .15s; box-sizing: border-box; }
.ac-open-form input:focus, .ac-open-form textarea:focus { border-color: #0A4EA0; }
.ac-open-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-open-form__row select { flex: 1; min-width: 140px; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 0.84rem; background: #f8faff; outline: none; }
.ac-open-form .ac-btn--primary { background: linear-gradient(135deg,#0A4EA0,#002b5e); color: #fff; border: none; padding: 10px 18px; box-shadow: 0 3px 10px rgba(10,78,160,0.25); }

/* ── TABLE ────────────────────────────────────────────────── */
.ac-table-wrap { overflow-x: auto; }
.ac-table-count { font-size: 0.75rem; color: #94a3b8; padding: 0 0 10px; }
.ac-table { width: 100%; border-collapse: collapse; }
.ac-table thead { background: linear-gradient(135deg,#f8faff,#f1f5fb); }
.ac-table th { padding: 10px 14px; font-size: 0.72rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid #e8edf5; text-align: left; white-space: nowrap; }
.ac-table td { padding: 11px 14px; font-size: 0.84rem; color: #374151; border-bottom: 1px solid #f1f5fb; vertical-align: middle; }
.ac-table tbody tr:last-child td { border-bottom: none; }
.ac-row--clickable { cursor: pointer; }
.ac-row--clickable:hover td { background: #f8faff; }
.ac-td-titulo { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-td-date { font-size: 0.76rem; color: #64748b; white-space: nowrap; }
.ac-ticket-num { color: #0A4EA0; font-weight: 800; font-size: 0.82rem; }
.ac-btn-icon { width: 30px; height: 30px; border-radius: 8px; border: none; display: flex; align-items: center; justify-content: center; font-size: 0.76rem; cursor: pointer; transition: all .18s; background: #e0f2fe; color: #0284c7; }
.ac-btn-icon:hover { background: #0284c7; color: #fff; }

/* ── BADGES ───────────────────────────────────────────────── */
.ac-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 20px; padding: 3px 9px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge-critical { background: #fee2e2; color: #991b1b; }
.badge-high     { background: #ffedd5; color: #9a3412; }
.badge-normal   { background: #dbeafe; color: #1e40af; }
.badge-low      { background: #dcfce7; color: #166534; }
.ac-tag { background: #f1f5fb; border: 1px solid #e2e8f0; color: #374151; border-radius: 6px; padding: 2px 8px; font-size: 0.73rem; font-weight: 500; }

/* ── LOADING / EMPTY / ERROR ──────────────────────────────── */
.ac-loading { display: flex; align-items: center; gap: 10px; padding: 3rem 2rem; justify-content: center; color: #94a3b8; font-size: 0.87rem; }
.ac-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4rem 2rem; text-align: center; color: #94a3b8; }
.ac-empty p, .ac-empty small { margin: 0; }
.ac-error { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2rem; }
.ac-error i { color: #dc2626; font-size: 1.5rem; }
.ac-error p { margin: 0; font-size: 0.84rem; color: #64748b; }
.ac-error-inline { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fee2e2; border-radius: 10px; color: #991b1b; font-size: 0.84rem; }

/* ── KANBAN ───────────────────────────────────────────────── */
.ac-kanban { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px; }
.ac-kanban-col { background: #fff; border: 2px solid #e8edf5; border-radius: 14px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ac-kanban-col__header { display: flex; justify-content: space-between; align-items: center; border-top: 3px solid #0A4EA0; padding-top: 10px; margin-bottom: 10px; }
.ac-kanban-col__title { font-size: 0.8rem; font-weight: 700; color: #374151; }
.ac-kanban-col__count { background: #dbeafe; color: #1e40af; border-radius: 99px; padding: 2px 10px; font-size: 0.8rem; font-weight: 800; }
.ac-kanban-col__bar-wrap { background: #f1f5fb; border-radius: 99px; height: 8px; overflow: hidden; }
.ac-kanban-col__bar { height: 100%; border-radius: 99px; transition: width .5s; }

/* ── WORKLOAD ─────────────────────────────────────────────── */
.ac-workload { display: flex; flex-direction: column; gap: 0; }
.ac-workload-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f1f5fb; }
.ac-workload-item:last-child { border-bottom: none; }
.ac-workload-item__avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; overflow: hidden; }
.ac-workload-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ac-workload-item__info { min-width: 130px; }
.ac-workload-item__info strong { display: block; font-size: 0.84rem; color: #0f172a; }
.ac-workload-item__info span { font-size: 0.73rem; color: #64748b; }
.ac-workload-item__bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ac-workload-item__bar-row { display: grid; grid-template-columns: 80px 1fr 28px; align-items: center; gap: 8px; }
.lbl-exec, .lbl-wait { font-size: 0.72rem; color: #64748b; }
.bar-wrap { background: #f1f5fb; border-radius: 99px; height: 7px; overflow: hidden; }
.bar-exec { height: 100%; background: linear-gradient(90deg,#0A4EA0,#1a6fd4); border-radius: 99px; }
.bar-wait { height: 100%; background: linear-gradient(90deg,#94a3b8,#64748b); border-radius: 99px; }
.cnt { font-size: 0.72rem; font-weight: 700; color: #374151; text-align: right; }
.ac-workload-item__total { font-size: 0.84rem; font-weight: 800; color: #0A4EA0; min-width: 50px; text-align: right; }
.ac-workload-item__total small { font-size: 0.65rem; color: #94a3b8; font-weight: 400; }

/* ── CONFIG ───────────────────────────────────────────────── */
.ac-links-table-wrap { overflow-x: auto; }
.ac-user-cell { display: flex; align-items: center; gap: 10px; }
.ac-user-cell__avatar { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.ac-user-cell > div > strong { display: block; font-size: 0.83rem; color: #0f172a; }
.ac-user-cell > div > span { font-size: 0.72rem; color: #64748b; }
.ac-agent-select { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 7px 10px; font-size: 0.82rem; background: #f8faff; outline: none; cursor: pointer; }
.ac-agent-select:focus { border-color: #0A4EA0; }

/* ── MODAL ────────────────────────────────────────────────── */
.ac-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.ac-modal { background: #fff; border-radius: 18px; width: 100%; max-width: 860px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.15); animation: slideUp .2s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.ac-modal__header { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 14px; border-bottom: 2px solid #f1f5fb; flex-wrap: wrap; }
.ac-modal__title { flex: 1; font-size: 0.95rem; font-weight: 700; color: #0f172a; display: flex; gap: 8px; align-items: flex-start; }
.ac-modal__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.ac-modal__actions { display: flex; gap: 8px; align-items: center; }
.ac-modal__close { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid #e2e8f0; background: #f8faff; color: #64748b; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.ac-modal__close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.ac-btn--ghost.ac-btn--sm { background: #f8faff; color: #0A4EA0; border: 1.5px solid #e2e8f0; }
.ac-btn--ghost.ac-btn--sm:hover { background: #dbeafe; border-color: #93c5fd; }
.ac-modal__body { flex: 1; overflow-y: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }
.ac-modal__info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; background: #f8faff; border: 1.5px solid #e8edf5; border-radius: 12px; padding: 16px 18px; }
@media(max-width:600px) { .ac-modal__info-grid { grid-template-columns: repeat(2,1fr); } }
.ac-modal__info-grid > div { display: flex; flex-direction: column; gap: 3px; }
.ac-modal__info-grid label { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }
.ac-modal__info-grid span { font-size: 0.83rem; color: #0f172a; font-weight: 600; }
.ac-modal__descricao label { font-size: 0.78rem; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.ac-modal__descricao-text { background: #f8faff; border: 1.5px solid #e8edf5; border-radius: 10px; padding: 14px 16px; font-size: 0.82rem; color: #374151; max-height: 200px; overflow-y: auto; line-height: 1.6; }
.ac-modal__descricao-text * { font-family: inherit !important; font-size: 0.82rem !important; max-width: 100%; }
.ac-modal__timeline label { font-size: 0.78rem; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.ac-comments { display: flex; flex-direction: column; gap: 0; }
.ac-comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f5fb; }
.ac-comment:last-child { border-bottom: none; }
.ac-comment--private { background: #fffbeb; border-radius: 10px; padding: 12px; border: 1px solid #fde68a; }
.ac-comment__avatar { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; }
.ac-comment__content { flex: 1; min-width: 0; }
.ac-comment__header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ac-comment__header strong { font-size: 0.83rem; color: #0f172a; }
.ac-comment__time { font-size: 0.72rem; color: #94a3b8; }
.ac-comment__text { font-size: 0.82rem; color: #374151; line-height: 1.55; }
.ac-comment__text * { font-family: inherit !important; font-size: inherit !important; }
.ac-comment__text p { margin: 0 0 4px; }
.ac-modal__resposta { border-top: 2px solid #f1f5fb; padding: 14px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.ac-toggle { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #64748b; cursor: pointer; }
.ac-toggle input { accent-color: #0A4EA0; }
.ac-modal__resposta-row { display: flex; gap: 10px; align-items: flex-end; }
.ac-modal__textarea { flex: 1; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 0.83rem; color: #0f172a; resize: none; outline: none; font-family: inherit; transition: border-color .15s; }
.ac-modal__textarea:focus { border-color: #0A4EA0; }

/* ═══════════════════════════════════════════════════
   ABA IA — Design Premium
   ═══════════════════════════════════════════════════ */

/* Landing */
.ac-ia-landing { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 32px; min-height: 420px; gap: 20px; }
.ac-ia-landing__icon { position: relative; width: 88px; height: 88px; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); border-radius: 28px; display: grid; place-items: center; margin-bottom: 4px; box-shadow: 0 12px 32px rgba(10,78,160,.35); }
.ac-ia-landing__icon i { font-size: 2.2rem; color: #fff; }
.ac-ia-landing__pulse { position: absolute; inset: -10px; border-radius: 36px; border: 2px solid rgba(10,78,160,.2); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.1); opacity: .15; } }
.ac-ia-landing h2 { font-size: 1.5rem; color: #0f172a; font-weight: 800; margin: 0; }
.ac-ia-landing > p { font-size: 0.88rem; color: #64748b; max-width: 460px; margin: 0; line-height: 1.6; }
.ac-ia-landing__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; background: #f8faff; border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 16px 20px; }
.ac-ia-landing__features li { font-size: 0.84rem; color: #1e40af; display: flex; align-items: center; gap: 10px; }
.ac-ia-landing__features li i { color: #0A4EA0; font-size: 0.75rem; background: #dbeafe; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; }
.ac-ia-landing__hint { font-size: 0.72rem; color: #94a3b8; }

/* Loading */
.ac-ia-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 32px; gap: 20px; text-align: center; min-height: 420px; }
.ac-ia-loading__orb { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); animation: orbPulse 1.5s ease-in-out infinite; box-shadow: 0 0 40px rgba(10,78,160,.45); }
@keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); opacity: .7; } }
.ac-ia-loading h3 { color: #0f172a; font-size: 1.15rem; font-weight: 800; margin: 0; }
.ac-ia-loading > p { color: #64748b; font-size: 0.85rem; margin: 0; }
.ac-ia-loading__steps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.ac-ia-loading__steps span { font-size: 0.74rem; color: #0A4EA0; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 99px; padding: 5px 14px; display: flex; align-items: center; gap: 5px; animation: stepFade 2s ease-in-out infinite; }
.ac-ia-loading__steps span:nth-child(2) { animation-delay: .6s; }
.ac-ia-loading__steps span:nth-child(3) { animation-delay: 1.2s; }
@keyframes stepFade { 0%,100% { opacity: .35 } 50% { opacity: 1 } }

/* Error */
.ac-ia-error { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 80px 32px; text-align: center; }
.ac-ia-error i { font-size: 2.5rem; color: #dc2626; }
.ac-ia-error h3 { margin: 0; color: #0f172a; font-size: 1.15rem; }
.ac-ia-error > p { color: #64748b; font-size: 0.84rem; max-width: 400px; margin: 0; }

/* Content wrapper */
.ac-ia-content { display: flex; flex-direction: column; gap: 20px; padding: 4px 0 8px; }

/* Header da análise */
.ac-ia-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 2px solid #e8edf5; border-radius: 14px; padding: 14px 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.ac-ia-header__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-ia-badge { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; border-radius: 99px; padding: 5px 14px; }
.ac-ia-meta { font-size: 0.76rem; color: #64748b; }
.ac-ia-rag-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 700; color: #1e40af; background: #dbeafe; border: 1px solid #bfdbfe; border-radius: 99px; padding: 3px 10px; }
.ac-ia-tokens { font-size: 0.7rem; color: #94a3b8; background: #f8faff; border: 1px solid #e2e8f0; border-radius: 99px; padding: 3px 9px; }
.ac-ia-header .ac-btn--ghost { background: #f8faff; color: #0A4EA0; border: 1.5px solid #e2e8f0; }
.ac-ia-header .ac-btn--ghost:hover { background: #dbeafe; }

/* Resumo executivo */
.ac-ia-resumo { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 1.5px solid #bfdbfe; border-radius: 16px; padding: 18px 22px; }
.ac-ia-resumo i { font-size: 1.25rem; color: #0A4EA0; flex-shrink: 0; padding-top: 2px; }
.ac-ia-resumo p { margin: 0; font-size: 0.88rem; color: #1e40af; line-height: 1.65; font-weight: 500; }

/* Alertas */
.ac-ia-alertas { display: flex; flex-direction: column; gap: 10px; }
.ac-ia-alerta { display: flex; align-items: flex-start; gap: 14px; border: 1.5px solid; border-radius: 14px; padding: 14px 18px; animation: fadeIn .3s ease; }
.ac-ia-alerta > i { font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; }
.ac-ia-alerta strong { display: block; font-size: 0.85rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.ac-ia-alerta p { margin: 0; font-size: 0.81rem; color: #374151; line-height: 1.55; }

/* Métricas */
.ac-ia-metricas { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 12px; }
.ac-ia-metrica { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 2px solid #e8edf5; border-radius: 16px; padding: 18px 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: all .2s; }
.ac-ia-metrica:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ac-ia-metrica > i { color: #0A4EA0; font-size: 1.1rem; }
.ac-ia-metrica__val { font-size: 1.45rem; font-weight: 900; color: #0f172a; line-height: 1; }
.ac-ia-metrica > span:last-child { font-size: 0.67rem; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.ac-ia-metrica--warn { border-color: #fde68a; background: linear-gradient(135deg,#fffbeb,#fef9c3); }
.ac-ia-metrica--warn > i, .ac-ia-metrica--warn .ac-ia-metrica__val { color: #ca8a04; }
.ac-ia-metrica--danger { border-color: #fca5a5; background: linear-gradient(135deg,#fff5f5,#fee2e2); }
.ac-ia-metrica--danger > i, .ac-ia-metrica--danger .ac-ia-metrica__val { color: #dc2626; }

/* Grid de cards */
.ac-ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:768px) { .ac-ia-grid { grid-template-columns: 1fr; } }

/* Card genérico */
.ac-ia-card { background: #fff; border: 2px solid #e8edf5; border-radius: 18px; padding: 22px 24px; animation: fadeIn .3s ease; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.ac-ia-card--full { grid-column: 1/-1; }
.ac-ia-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid #f1f5fb; }
.ac-ia-card__header > i { font-size: 1rem; color: #0A4EA0; }
.ac-ia-card__header h3 { margin: 0; font-size: 0.9rem; font-weight: 800; color: #0f172a; flex: 1; }

/* Card RAG */
.ac-ia-card--rag { border-color: #c7d9f5; background: linear-gradient(to bottom, #fafcff, #fff); }

/* Soluções RAG */
.ac-ia-solucoes { display: flex; flex-direction: column; gap: 4px; }
.ac-ia-solucao { border-radius: 12px; overflow: hidden; border: 1.5px solid #f1f5fb; transition: border-color .15s; }
.ac-ia-solucao:hover { border-color: #e2e8f0; }
.ac-ia-solucao__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; transition: background .15s; }
.ac-ia-solucao__head:hover { background: #f8faff; }
.ac-ia-solucao--open .ac-ia-solucao__head { background: #f8faff; border-bottom: 1.5px solid #e8edf5; }
.ac-ia-solucao__left { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ac-ia-solucao__titulo { font-size: 0.85rem; font-weight: 700; color: #0f172a; }
.ac-ia-solucao__problema { font-size: 0.78rem; color: #64748b; }
.ac-ia-solucao__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ac-ia-solucao__conf { font-size: 0.74rem; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.ac-ia-solucao__body { padding: 16px 18px 18px; background: #fafcff; animation: fadeIn .2s ease; }
.ac-ia-solucao__texto { font-size: 0.83rem; color: #374151; line-height: 1.65; margin: 0 0 14px; }
.ac-ia-solucao__passos { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.ac-ia-solucao__passos li { font-size: 0.83rem; color: #374151; line-height: 1.55; }
.ac-ia-solucao__fonte { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; color: #64748b; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 6px 12px; }
.ac-ia-solucao__fonte i { color: #0A4EA0; }
.ac-ia-solucao__fonte strong { color: #0A4EA0; }

/* Lacunas */
.ac-ia-lacunas { display: flex; flex-direction: column; gap: 0; }
.ac-ia-lacuna { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1.5px solid #f8faff; }
.ac-ia-lacuna:last-child { border-bottom: none; }
.ac-ia-lacuna__icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,#fef3c7,#fde68a); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(202,138,4,.15); }
.ac-ia-lacuna__icon i { color: #92400e; font-size: 0.9rem; }
.ac-ia-lacuna__info { flex: 1; min-width: 0; }
.ac-ia-lacuna__info strong { display: block; font-size: 0.85rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.ac-ia-lacuna__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ac-ia-lacuna__info p { margin: 0; font-size: 0.8rem; color: #64748b; line-height: 1.55; }

/* Tópicos */
.ac-ia-topicos { display: flex; flex-direction: column; gap: 16px; }
.ac-ia-topico__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ac-ia-topico__nome { font-size: 0.84rem; font-weight: 600; color: #0f172a; }
.ac-ia-topico__count { font-size: 0.78rem; color: #64748b; font-weight: 700; }
.ac-ia-bar-wrap { background: #f1f5fb; border-radius: 99px; height: 9px; overflow: hidden; margin-bottom: 4px; }
.ac-ia-bar { height: 100%; background: linear-gradient(90deg,#0A4EA0,#1a6fd4); border-radius: 99px; transition: width .7s ease; }
.ac-ia-topico__desc { font-size: 0.74rem; color: #94a3b8; }

/* Problemas */
.ac-ia-problemas { display: flex; flex-direction: column; gap: 0; }
.ac-ia-problema { padding: 14px 0; border-bottom: 1.5px solid #f8faff; }
.ac-ia-problema:last-child { border-bottom: none; }
.ac-ia-problema__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 5px; }
.ac-ia-problema__titulo { font-size: 0.85rem; font-weight: 700; color: #0f172a; }
.ac-ia-problema__freq { font-size: 0.71rem; color: #94a3b8; margin-bottom: 5px; display: block; }
.ac-ia-problema__desc { font-size: 0.8rem; color: #64748b; margin: 0; line-height: 1.55; }

/* Dicas */
.ac-ia-dicas { display: flex; flex-direction: column; gap: 0; }
.ac-ia-dica { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1.5px solid #f8faff; }
.ac-ia-dica:last-child { border-bottom: none; }
.ac-ia-dica__icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,#dbeafe,#bfdbfe); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(10,78,160,.1); }
.ac-ia-dica__icon i { color: #0A4EA0; font-size: 0.9rem; }
.ac-ia-dica__content strong { font-size: 0.85rem; color: #0f172a; display: block; margin-bottom: 5px; }
.ac-ia-dica__content p { font-size: 0.8rem; color: #64748b; margin: 0 0 8px; line-height: 1.55; }
.ac-ia-categoria { font-size: 0.67rem; color: #1e40af; background: #dbeafe; border-radius: 99px; padding: 3px 9px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }

/* Padrões */
.ac-ia-padroes { display: flex; flex-direction: column; gap: 0; }
.ac-ia-padrao { padding: 14px 0; border-bottom: 1.5px solid #f8faff; }
.ac-ia-padrao:last-child { border-bottom: none; }
.ac-ia-padrao__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.ac-ia-padrao__top strong { font-size: 0.85rem; color: #0f172a; font-weight: 700; }
.ac-ia-tendencia { font-size: 0.74rem; font-weight: 700; display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.ac-ia-padrao > p { font-size: 0.8rem; color: #64748b; margin: 0 0 6px; line-height: 1.55; }
.ac-ia-padrao__acao { font-size: 0.78rem; color: #0A4EA0; background: #eff6ff; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; font-weight: 600; }

/* Agentes */
.ac-ia-agentes { display: flex; flex-direction: column; gap: 0; }
.ac-ia-agente { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1.5px solid #f8faff; }
.ac-ia-agente:last-child { border-bottom: none; }
.ac-ia-agente__avatar { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(10,78,160,.25); }
.ac-ia-agente__info strong { font-size: 0.85rem; color: #0f172a; display: block; margin-bottom: 2px; }
.ac-ia-agente__info span { font-size: 0.75rem; color: #64748b; display: block; }
.ac-ia-agente__info > p { font-size: 0.78rem; color: #94a3b8; margin: 4px 0 0; }

@media(max-width:768px) { .ac-table-wrap { overflow-x: auto; } }

/* ── HISTÓRICO TIMELINE ───────────────────────────────────────── */
.ac-historico-timeline { display: flex; flex-direction: column; gap: 20px; position: relative; padding-left: 20px; }
.ac-historico-timeline::before { content: ""; position: absolute; left: 24px; top: 10px; bottom: 0; width: 2px; background: #e2e8f0; border-radius: 2px; }

.ac-historico-item { display: flex; gap: 16px; position: relative; animation: fadeIn .3s ease; }
.ac-historico-timeline__line { position: relative; width: 10px; flex-shrink: 0; display: flex; justify-content: center; }
.ac-historico-timeline__dot { position: relative; width: 14px; height: 14px; background: #fff; border: 3px solid #cbd5e1; border-radius: 50%; top: 18px; z-index: 2; transition: all .2s; }
.ac-historico-item:hover .ac-historico-timeline__dot { border-color: #0A4EA0; transform: scale(1.1); }
.ac-historico-item--latest .ac-historico-timeline__dot { border-color: #10b981; background: #10b981; box-shadow: 0 0 0 3px #d1fae5; }

.ac-historico-card { flex: 1; min-width: 0; background: #fff; border: 2px solid #e8edf5; border-radius: 16px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: all .2s; }
.ac-historico-item--latest .ac-historico-card { border-color: #a7f3d0; box-shadow: 0 4px 16px rgba(16,185,129,0.08); }

.ac-historico-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; }
.ac-historico-card__left { display: flex; flex-direction: column; gap: 6px; }
.ac-historico-card__date { font-size: 1rem; color: #0f172a; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ac-historico-card__kpis { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; font-weight: 600; color: #64748b; }
.ac-historico-card__kpis span { display: flex; align-items: center; gap: 4px; }

.ac-historico-card__resumo { margin: 12px 0 0; font-size: 0.85rem; color: #374151; line-height: 1.5; background: #f8faff; padding: 10px 14px; border-radius: 10px; border-left: 3px solid #0A4EA0; }

.ac-historico-comp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f0; }
.ac-ia-comp__tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; border-radius: 6px; padding: 3px 8px; background: #f1f5fb; color: #475569; }
.ac-ia-comp__tag--up { background: #fee2e2; color: #991b1b; } /* Bad delta by default */
.ac-ia-comp__tag--down { background: #dcfce7; color: #166534; } /* Good delta by default */

.ac-historico-card__body { margin-top: 16px; padding-top: 16px; border-top: 2px solid #f1f5fb; display: flex; flex-direction: column; gap: 20px; animation: slideDown 0.2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.ac-historico-section h4 { margin: 0 0 10px; font-size: 0.84rem; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.ac-historico-section h4 i { color: #0A4EA0; }

/* ── COMPARAÇÃO COM ANÁLISE ANTERIOR ────────────────────────── */
.ac-ia-comp { border-color: #c7d9f5; }
.ac-ia-card.ac-ia-comp .ac-ia-card__header { margin-bottom: 16px; }

/* Grid de itens de comparação */
.ac-ia-comp__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.ac-ia-comp__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  flex: 1;
  min-width: 160px;
}

.ac-ia-comp__item > i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ac-ia-comp__val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-right: 4px;
}

.ac-ia-comp__item--up {
  background: #fff5f5;
  border-color: #fca5a5;
  color: #7f1d1d;
}
.ac-ia-comp__item--up > i { color: #dc2626; }
.ac-ia-comp__item--up .ac-ia-comp__val { color: #dc2626; }

.ac-ia-comp__item--down {
  background: #f0fdf4;
  border-color: #86efac;
  color: #14532d;
}
.ac-ia-comp__item--down > i { color: #16a34a; }
.ac-ia-comp__item--down .ac-ia-comp__val { color: #16a34a; }

.ac-ia-comp__item--same {
  background: #f8faff;
  border-color: #e2e8f0;
  color: #64748b;
}
.ac-ia-comp__item--same > i { color: #94a3b8; }
.ac-ia-comp__item--same .ac-ia-comp__val { color: #64748b; }

/* Tags de tópicos que mudaram */
.ac-ia-comp__topicos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed #e2e8f0;
}

/* Métricas alteradas */
.ac-ia-comp__metricas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-ia-comp__metrica {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.ac-ia-comp__metrica > i.fa-arrow-right {
  color: #94a3b8;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.ac-ia-comp__metrica-campo {
  font-weight: 700;
  color: #374151;
  min-width: 130px;
  text-transform: capitalize;
  /* Traduz camelCase para legível */
}

.ac-ia-comp__metrica-ant {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.8rem;
}

.ac-ia-comp__metrica-nov {
  font-weight: 800;
  color: #0A4EA0;
  font-size: 0.88rem;
}



/* ── CI/CD Deploy — Design System Phobos ──────────────────────────────── */
.ci-page {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: #f8fafc;
  display: flex; flex-direction: column; gap: 0;
}
/* ── HERO ──────────────────────────────────────────────────────────────── */
.ci-hero {
  background: linear-gradient(135deg, #0a2540 0%, #0A4EA0 60%, #1a6fd4 100%);
  padding: 32px 32px 24px;
  position: relative; overflow: hidden;
}
.ci-hero__glow {
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
  pointer-events: none;
}
.ci-hero__content {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
}
.ci-hero__title {
  font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 4px;
  display: flex; align-items: center; gap: 12px;
}
.ci-hero__title i { font-size: 1.3rem; opacity: .9; }
.ci-hero__sub { color: rgba(255,255,255,.65); font-size: .85rem; margin: 0; }
/* Stats */
.ci-stats {
  display: flex; gap: 0; margin-top: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; overflow: hidden;
}
.ci-stat {
  flex: 1; padding: 14px 20px; display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background .15s;
}
.ci-stat:last-child { border-right: none; }
.ci-stat--warn { background: rgba(234,179,8,.12); }
.ci-stat__value { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.ci-stat--warn .ci-stat__value { color: #fde68a; }
.ci-stat__label { font-size: .7rem; color: rgba(255,255,255,.55); margin-top: 4px; text-align: center; }
/* ── TOOLBAR ───────────────────────────────────────────────────────────── */
.ci-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 24px; background: #fff;
  border-bottom: 1px solid #e2e8f0; flex-wrap: wrap;
}
.ci-toolbar__left, .ci-toolbar__right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ci-search {
  display: flex; align-items: center; gap: 8px;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 7px 12px; min-width: 220px;
}
.ci-search i { color: #94a3b8; font-size: .85rem; }
.ci-search input {
  border: none; background: transparent; outline: none;
  font-size: .84rem; color: #1e293b; width: 100%;
}
.ci-filter-btns { display: flex; gap: 4px; }
.ci-filter-btn {
  padding: 6px 12px; border-radius: 7px; border: 1px solid #e2e8f0;
  background: #fff; color: #64748b; font-size: .78rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.ci-filter-btn.active { background: #0A4EA0; color: #fff; border-color: #0A4EA0; }
/* ── SERVIDORES BAR ────────────────────────────────────────────────────── */
.ci-srv-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 24px; background: #fff; border-bottom: 1px solid #e2e8f0;
}
.ci-srv-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  font-size: .75rem; font-weight: 600;
  border: 1px solid;
}
.ci-srv-chip.online { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.ci-srv-chip.offline { background: #fff5f5; color: #991b1b; border-color: #fca5a5; }
.ci-srv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; display: inline-block;
}
/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.ci-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; border: none;
  font-size: .83rem; font-weight: 600; cursor: pointer; transition: all .15s;
  white-space: nowrap; text-decoration: none;
}
.ci-btn--primary { background: linear-gradient(135deg,#0A4EA0,#1a6fd4); color: #fff; }
.ci-btn--primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10,78,160,.3); }
.ci-btn--outline { background: #fff; color: #0A4EA0; border: 1.5px solid #0A4EA0; }
.ci-btn--outline:hover { background: #eff6ff; }
.ci-btn--sync { background: #0f172a; color: #fff; }
.ci-btn--sync:hover { background: #1e293b; }
.ci-btn--fix { background: #fff7ed; color: #c2410c; border: 1px solid #fb923c; padding: 5px 10px; }
.ci-btn--fix:hover { background: #ffedd5; }
.ci-btn--sm { padding: 5px 10px; font-size: .77rem; }
.ci-btn--full { width: 100%; justify-content: center; padding: 12px; font-size: .9rem; margin-top: 8px; }
.ci-btn.loading { opacity: .7; cursor: not-allowed; pointer-events: none; }
.ci-btn:disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
/* ── EMPTY STATE ───────────────────────────────────────────────────────── */
.ci-empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  min-height: 320px; justify-content: center; color: #94a3b8;
}
.ci-empty-state i { font-size: 3rem; opacity: .4; }
.ci-empty-state p { font-size: .9rem; }
/* ── TABLE ─────────────────────────────────────────────────────────────── */
.ci-table-wrap {
  overflow-x: auto; padding: 20px 24px;
}
.ci-table {
  width: 100%; border-collapse: collapse; font-size: .82rem;
}
.ci-table thead th {
  padding: 10px 14px; text-align: left;
  background: #f1f5f9; color: #64748b;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 2px solid #e2e8f0;
}
.ci-table tbody tr {
  border-bottom: 1px solid #f1f5f9; transition: background .1s;
}
.ci-table tbody tr:hover { background: #fafafa; }
.ci-row--warn { background: #fffbeb !important; }
.ci-table td { padding: 10px 14px; color: #374151; vertical-align: middle; }
.ci-table__path { font-family: monospace; font-size: .8rem; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-table__size { color: #64748b; white-space: nowrap; }
.ci-table__empty { text-align: center; color: #94a3b8; padding: 36px !important; }
/* Badges */
.ci-badge {
  padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.ci-badge--ok { background: #dcfce7; color: #15803d; }
.ci-badge--warn { background: #fef3c7; color: #b45309; }
/* Server pills */
.ci-srv-pills { display: flex; flex-wrap: wrap; gap: 3px; }
.ci-srv-pill {
  padding: 2px 7px; border-radius: 99px; font-size: .68rem; font-weight: 700;
  border: 1px solid;
}
.ci-srv-pill.ok      { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.ci-srv-pill.warn    { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.ci-srv-pill.offline { background: #f1f5f9; color: #94a3b8; border-color: #e2e8f0; }
/* ── MODAL ─────────────────────────────────────────────────────────────── */
.ci-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.ci-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 620px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  display: flex; flex-direction: column;
  animation: slideUp .25s cubic-bezier(.22,1,.36,1);
}
.ci-modal--wide { max-width: 860px; max-height: 85vh; }
.ci-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px; border-bottom: 1px solid #e2e8f0; flex-shrink: 0;
}
.ci-modal__header h2 {
  font-size: 1.1rem; font-weight: 700; color: #1e293b; margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.ci-modal__header h2 i { color: #0A4EA0; }
.ci-modal__close {
  width: 30px; height: 30px; border-radius: 8px; border: none;
  background: #f1f5f9; cursor: pointer; color: #64748b; font-size: .9rem;
  display: grid; place-items: center; transition: background .15s;
}
.ci-modal__close:hover { background: #e2e8f0; color: #1e293b; }
/* modal body padding */
.ci-modal > *:not(.ci-modal__header) { padding: 0 24px; }
.ci-modal > *:last-child { padding-bottom: 24px; }
/* ── DROPZONE ──────────────────────────────────────────────────────────── */
.ci-dropzone {
  margin-top: 18px; border: 2px dashed #cbd5e1; border-radius: 12px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  transition: all .15s; background: #f8fafc;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ci-dropzone.drag { border-color: #0A4EA0; background: #eff6ff; }
.ci-dropzone:hover { border-color: #0A4EA0; }
.ci-dropzone i { font-size: 2rem; color: #94a3b8; }
.ci-dropzone p { margin: 0; color: #475569; font-size: .85rem; }
.ci-dropzone span { color: #94a3b8; font-size: .75rem; }
/* ── FILE LIST ─────────────────────────────────────────────────────────── */
.ci-filelist {
  margin-top: 12px; display: flex; flex-direction: column; gap: 6px;
  max-height: 180px; overflow-y: auto;
}
.ci-filelist__item {
  display: flex; align-items: center; gap: 10px;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 8px 12px;
}
.ci-filelist__item > i { color: #0A4EA0; font-size: .9rem; flex-shrink: 0; }
.ci-filelist__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ci-filelist__path-input {
  border: none; background: transparent; outline: none;
  font-size: .8rem; font-family: monospace; color: #1e293b; width: 100%;
  border-bottom: 1px dashed #e2e8f0;
}
.ci-filelist__hash { font-size: .68rem; color: #64748b; font-family: monospace; }
.ci-filelist__size { font-size: .68rem; color: #94a3b8; }
.ci-filelist__rm {
  background: none; border: none; color: #f87171; cursor: pointer;
  font-size: .8rem; padding: 2px 6px; border-radius: 4px; transition: background .1s;
}
.ci-filelist__rm:hover { background: #fee2e2; }
/* ── FORM ──────────────────────────────────────────────────────────────── */
.ci-form-group { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.ci-form-label {
  font-size: .78rem; font-weight: 600; color: #374151;
  display: flex; align-items: center; gap: 6px;
}
.ci-form-label i { color: #0A4EA0; }
.ci-textarea {
  border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 10px 12px;
  font-size: .83rem; resize: vertical; color: #1e293b; outline: none;
  font-family: 'Inter', sans-serif; transition: border .15s;
}
.ci-textarea:focus { border-color: #0A4EA0; }
/* Srv toggles */
.ci-srv-toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ci-srv-toggle {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 8px; border: 1.5px solid #e2e8f0;
  background: #fff; font-size: .78rem; font-weight: 600; color: #64748b;
  cursor: pointer; transition: all .15s;
}
.ci-srv-toggle input { display: none; }
.ci-srv-toggle.active { border-color: #0A4EA0; background: #eff6ff; color: #0A4EA0; }
/* ── GERMUD LIST ───────────────────────────────────────────────────────── */
.ci-germud-list { padding: 8px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.ci-germud-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 16px;
  background: #f8fafc;
}
.ci-germud-id { font-weight: 700; font-size: .85rem; color: #1e293b; }
.ci-germud-date { font-size: .73rem; color: #64748b; margin-top: 2px; }
.ci-germud-size { color: #94a3b8; font-size: .75rem; margin-left: auto; white-space: nowrap; }
/* ── PDF VIEWER ────────────────────────────────────────────────────────── */
.ci-pdf-viewer {
  width: 100%; height: 65vh; border: none; border-radius: 8px;
  border: 1px solid #e2e8f0;
}
/* ── ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
/* ── TREE VIEW ─────────────────────────────────────────────────────────── */
.ci-row--folder {
  cursor: pointer;
  background: #f8fafc !important;
  user-select: none;
}
.ci-row--folder:hover { background: #f1f5f9 !important; }
.ci-row--folder td { padding: 8px 14px; }
.ci-tree-cell {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.ci-tree-cell span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .82rem; color: #1e293b;
}
.ci-folder-icon {
  color: #f59e0b; font-size: .9rem; flex-shrink: 0;
}
.ci-file-icon {
  color: #64748b; font-size: .8rem; flex-shrink: 0;
}
.ci-folder-count {
  font-size: .7rem; color: #94a3b8; font-weight: 400;
  margin-left: 4px; white-space: nowrap;
}
.ci-expand-hint {
  font-size: .7rem; color: #0A4EA0; font-weight: 600;
  opacity: .7;
}
/* ============================================================
   ADMIN TEAM — Equipe / Membros
   Padrão visual Phobos Intranet
   ============================================================ */

.team-page {
  padding: 2rem;
  min-height: 100%;
  background: #f4f6f9;
}

/* ---- Header ---- */
.team-header {
  background: linear-gradient(135deg, #0A4EA0 0%, #1a6fd4 40%, #002b5e 100%);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(10, 78, 160, 0.35);
  position: relative;
  overflow: hidden;
}

.team-header::before {
  content: "\f0c0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 2rem;
  bottom: -1rem;
  font-size: 8rem;
  opacity: 0.07;
  color: white;
  pointer-events: none;
  line-height: 1;
}

.team-header-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-header-title p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9375rem;
}

.btn-new-team {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  font-size: 0.9375rem;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.btn-new-team:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ---- Stats ---- */
.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* ---- Filter bar ---- */
.team-filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}

.team-filter-bar__search {
  position: relative;
  flex: 1;
}

.team-filter-bar__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8a9ab8;
  font-size: 0.875rem;
  pointer-events: none;
}

.team-filter-bar__input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #374151;
  background: #f8fafc;
  transition: border-color 0.2s;
  outline: none;
}

.team-filter-bar__input:focus {
  border-color: #0A4EA0;
  background: white;
}

.team-filter-bar__count {
  font-size: 0.875rem;
  color: #64748b;
  white-space: nowrap;
  font-weight: 500;
}

.team-filter-bar__count-num {
  font-weight: 700;
  color: #0A4EA0;
  margin-right: 0.25rem;
}

/* ---- Grid de cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ---- Card de membro ---- */
.team-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-card__photo-area {
  position: relative;
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.team-card__avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: 700;
}

.team-card__status-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
}

.team-card__status-dot--active   { background: #10b981; }
.team-card__status-dot--inactive { background: #94a3b8; }

.team-card__body {
  padding: 1.1rem 1.25rem;
  flex: 1;
  text-align: center;
}

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.2rem;
}

.team-card__position {
  font-size: 0.85rem;
  color: #0A4EA0;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.team-card__department {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.team-card__order {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.team-card__footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f0f4f8;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: #fafbff;
}

/* Empty state */
.team-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #8a9ab8;
}

.team-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
  display: block;
}

/* Action buttons on card */
.btn-card-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action--edit   { background: #f0f9ff; color: #0891b2; }
.btn-card-action--edit:hover   { background: #0891b2; color: white; }
.btn-card-action--toggle { background: #f0fdf4; color: #059669; }
.btn-card-action--toggle:hover { background: #059669; color: white; }
.btn-card-action--toggle-off { background: #f8f8f8; color: #94a3b8; }
.btn-card-action--toggle-off:hover { background: #94a3b8; color: white; }
.btn-card-action--delete { background: #fff1f2; color: #dc2626; }
.btn-card-action--delete:hover { background: #dc2626; color: white; }

/* ============================================================
   MODAL
   ============================================================ */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  backdrop-filter: blur(3px);
  animation: tmFadeIn 0.2s ease;
}

@keyframes tmFadeIn { from { opacity: 0; } to { opacity: 1; } }

.team-modal {
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  animation: tmSlide 0.3s ease;
  overflow: hidden;
}

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

.team-modal__header {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.team-modal__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.team-modal__close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.team-modal__close:hover { background: rgba(255,255,255,0.35); }

.team-modal__body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.team-modal__body::-webkit-scrollbar { width: 5px; }
.team-modal__body::-webkit-scrollbar-thumb { background: #0A4EA0; border-radius: 3px; }

.team-modal__footer {
  padding: 1.1rem 1.75rem;
  border-top: 1px solid #e8edf5;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8f9fa;
  flex-shrink: 0;
}

/* Form */
.team-form-group {
  margin-bottom: 1.1rem;
}

.team-form-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.team-form-group label i { color: #0A4EA0; font-size: 0.78rem; }

.team-form-input,
.team-form-select {
  width: 100%;
  padding: 0.55rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.9375rem;
  color: #1e293b;
  background: #fafbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit;
}

.team-form-input:focus,
.team-form-select:focus {
  border-color: #0A4EA0;
  box-shadow: 0 0 0 3px rgba(10,78,160,0.1);
  background: white;
}

.team-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Modal buttons */
.btn-tm-primary {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.btn-tm-primary:hover { opacity: 0.88; }
.btn-tm-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-tm-secondary {
  background: white;
  color: #374151;
  border: 1.5px solid #d1d5db;
  padding: 0.6rem 1.2rem;
  border-radius: 9px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-tm-secondary:hover { background: #f3f4f6; }

@media (max-width: 768px) {
  .team-page { padding: 1rem; }
  .team-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .team-form-row { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════════════
   WEBMAIL — Premium Light Theme
   ═══════════════════════════════════════════ */

/* ── Drag-over state ── */
.mail-sidebar__folder--drag-over {
    background: rgba(10, 78, 160, 0.12) !important;
    border-left-color: #0A4EA0 !important;
}

/* ── Folder delete btn ── */
.mail-sidebar__folder-del {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.15s;
}

.mail-sidebar__folder:hover .mail-sidebar__folder-del {
    opacity: 1;
}

.mail-sidebar__folder-del:hover {
    color: #dc3545;
}

/* ── Add folder ── */
.mail-sidebar__add-folder {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 20px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s;
}

.mail-sidebar__add-folder:hover {
    color: #0A4EA0;
}

/* ── New folder input ── */
.mail-sidebar__new-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
}

.mail-sidebar__new-folder input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #374151;
    outline: none;
}

.mail-sidebar__new-folder input:focus {
    border-color: #0A4EA0;
}

.mail-sidebar__new-folder button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
}

.mail-sidebar__new-folder button:first-of-type {
    color: #0A4EA0;
}

.mail-sidebar__new-folder button:last-of-type {
    color: #9ca3af;
}

/* ── Move-to select ── */
.mail-reader__move-menu select {
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    background: #fff;
    outline: none;
}

.mail-reader__move-menu select:focus {
    border-color: #0A4EA0;
}

.mail-page {
    display: flex;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 64px);
    background: #f8f9fb;
    overflow: hidden;
    box-sizing: border-box;
}

/* ── Sidebar ── */
.mail-sidebar {
    width: 240px;
    min-width: 240px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.mail-sidebar__compose {
    margin: 0 16px 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0A4EA0, #1a6fd0);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(10, 78, 160, 0.25);
}

.mail-sidebar__compose:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 78, 160, 0.35);
}

.mail-sidebar__folders {
    flex: 1;
    overflow-y: auto;
}

.mail-sidebar__folder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.mail-sidebar__folder:hover {
    background: rgba(10, 78, 160, 0.04);
    color: #374151;
}

.mail-sidebar__folder--active {
    background: rgba(10, 78, 160, 0.08);
    color: #0A4EA0;
    border-left-color: #0A4EA0;
    font-weight: 600;
}

.mail-sidebar__folder i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.mail-sidebar__folder-name {
    flex: 1;
}

.mail-sidebar__badge {
    background: #0A4EA0;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ── Lista de E-mails ── */
.mail-list {
    width: 380px;
    min-width: 380px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.mail-list__header {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}



.mail-list__search {
    position: relative;
}

.mail-list__search input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.mail-list__search input:focus {
    border-color: #0A4EA0;
    background: #fff;
}

.mail-list__search input::placeholder {
    color: #9ca3af;
}

.mail-list__search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 13px;
}

.mail-list__items {
    flex: 1;
    overflow-y: auto;
}

.mail-item {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.15s;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.mail-item:hover {
    background: #f9fafb;
}

.mail-item--active {
    background: rgba(10, 78, 160, 0.06) !important;
    border-left: 3px solid #0A4EA0;
}

.mail-item--unread .mail-item__subject {
    font-weight: 700;
    color: #111827;
}

.mail-item--unread .mail-item__from {
    font-weight: 600;
    color: #111827;
}

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

.mail-item__from {
    font-size: 13px;
    color: #374151;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.mail-item__date {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

.mail-item__subject {
    font-size: 13px;
    color: #374151;
    font-weight: 400;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-item__preview {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-item__attachment {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
    font-size: 11px;
    margin-top: 4px;
}

/* ── Leitura ── */
.mail-reader {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fb;
    overflow: hidden;
}

.mail-reader__empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    gap: 12px;
}

.mail-reader__empty i {
    font-size: 48px;
    color: #d1d5db;
}

.mail-reader__empty p {
    font-size: 14px;
}

.mail-reader__header {
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.mail-reader__subject {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.mail-reader__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mail-reader__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A4EA0, #1a6fd0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

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

.mail-reader__from-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.mail-reader__from-email {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.mail-reader__date {
    font-size: 12px;
    color: #9ca3af;
}

.mail-reader__actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.mail-reader__action {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.mail-reader__action:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.mail-reader__action--danger:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.mail-reader__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.mail-reader__body iframe {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    display: block;
}

/* ── Compose Modal ── */
.compose-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.compose-modal {
    width: 860px;
    max-width: 95vw;
    max-height: 92vh;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.compose-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.compose-modal__header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.compose-modal__close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.compose-modal__close:hover {
    color: #374151;
}

.compose-modal__fields {
    padding: 12px 20px 0;
}

.compose-modal__field {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding: 8px 0;
}

.compose-modal__field label {
    width: 50px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.compose-modal__field input {
    flex: 1;
    background: transparent;
    border: none;
    color: #111827;
    font-size: 13px;
    outline: none;
    padding: 4px 0;
}

.compose-modal__field input::placeholder {
    color: #9ca3af;
}

.compose-modal__editor {
    flex: 1;
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px 20px;
}

.compose-modal__editor textarea {
    width: 100%;
    min-height: 200px;
    background: transparent;
    border: none;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    outline: none;
    font-family: inherit;
}

.compose-modal__editor textarea::placeholder {
    color: #9ca3af;
}

.compose-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.compose-modal__send {
    padding: 10px 24px;
    background: linear-gradient(135deg, #0A4EA0, #1a6fd0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.compose-modal__send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 78, 160, 0.35);
}

.compose-modal__send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ── Signature Preview in Compose ── */
.compose-modal__signature-preview {
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
    flex-shrink: 0;
}

.compose-modal__signature-label {
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compose-modal__signature-label i {
    font-size: 12px;
}

.compose-modal__signature-iframe {
    width: 100%;
    min-height: 60px;
    max-height: 200px;
    border: none;
    background: #fff;
    display: block;
}

/* ── Config / Setup ── */
.mail-setup {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail-setup__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mail-setup__icon {
    font-size: 48px;
    color: #0A4EA0;
    margin-bottom: 16px;
}

.mail-setup__card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.mail-setup__card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 24px;
}

.mail-setup__field {
    text-align: left;
    margin-bottom: 14px;
}

.mail-setup__field label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.mail-setup__field input {
    width: 100%;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    font-size: 13px;
    outline: none;
}

.mail-setup__field input:focus {
    border-color: #0A4EA0;
    background: #fff;
}

.mail-setup__field input::placeholder {
    color: #9ca3af;
}

.mail-setup__btn {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: linear-gradient(135deg, #0A4EA0, #1a6fd0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.mail-setup__btn:hover {
    box-shadow: 0 4px 12px rgba(10, 78, 160, 0.35);
}

/* ── Loading ── */
.mail-loading {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    gap: 10px;
    font-size: 14px;
}

.mail-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e5e7eb;
    border-top-color: #0A4EA0;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ── Sidebar Settings Button ── */
.mail-sidebar__settings {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    margin: 8px 16px 0;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.mail-sidebar__settings:hover {
    background: #e5e7eb;
    color: #374151;
}

.mail-sidebar__settings i {
    font-size: 14px;
}

/* ── Compose Attach Button ── */
.compose-modal__attach {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.compose-modal__attach:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #111827;
}

.compose-modal__attach i {
    font-size: 14px;
    color: #6b7280;
}

.compose-modal__footer-left {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ── Attachment Chips ── */
.compose-modal__attachments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px 12px;
    min-height: 0;
}

.compose-modal__attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f0f4ff, #eef2ff);
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    font-size: 12px;
    color: #374151;
    animation: chipSlideIn 0.2s ease;
}

@keyframes chipSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

.compose-modal__attachment-chip i {
    color: #6366f1;
    font-size: 11px;
}

.compose-modal__attachment-chip span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compose-modal__attachment-chip button {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.compose-modal__attachment-chip button:hover {
    color: #dc3545;
}

/* ── Settings Modal ── */
.mail-settings-modal {
    width: 560px;
    max-width: 95vw;
    max-height: 85vh;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.mail-settings-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc, #f0f4ff);
}

.mail-settings-modal__header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.mail-settings-modal__body {
    padding: 24px;
    overflow-y: auto;
}

.mail-settings-modal__section {
    margin-bottom: 24px;
}

.mail-settings-modal__section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mail-settings-modal__section h4 i {
    color: #0A4EA0;
}

.mail-settings-modal__description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
}

.mail-settings-modal__description code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #0A4EA0;
    font-family: monospace;
}

.mail-settings-modal__sig-preview {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.mail-settings-modal__sig-label {
    padding: 10px 16px;
    background: #f0fdf4;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mail-settings-modal__sig-iframe {
    width: 100%;
    min-height: 120px;
    max-height: 200px;
    border: none;
    background: #fff;
}

.mail-settings-modal__sig-empty {
    padding: 20px;
    background: #fefce8;
    border: 1px dashed #fbbf24;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mail-settings-modal__actions {
    display: flex;
    gap: 10px;
}

.mail-settings-modal__btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
}

.mail-settings-modal__btn--primary {
    background: linear-gradient(135deg, #0A4EA0, #1a6fd0);
    color: #fff;
}

.mail-settings-modal__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 78, 160, 0.35);
}

.mail-settings-modal__btn--danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.mail-settings-modal__btn--danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

/* ── Received Attachments Section ── */
.mail-reader__attachments {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}

.mail-reader__attachments-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mail-reader__attachments-title i {
    color: #6b7280;
}

.mail-reader__attachments-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mail-reader__attachment-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    min-width: 180px;
    cursor: pointer;
}

.mail-reader__attachment-card:hover {
    border-color: #0A4EA0;
    box-shadow: 0 2px 8px rgba(10, 78, 160, 0.12);
    transform: translateY(-1px);
}

.mail-reader__attachment-card>i:first-child {
    font-size: 22px;
    color: #6366f1;
    width: 28px;
    text-align: center;
}

.mail-reader__attachment-card .fa-file-pdf {
    color: #dc2626;
}

.mail-reader__attachment-card .fa-file-image {
    color: #2563eb;
}

.mail-reader__attachment-card .fa-file-word {
    color: #2563eb;
}

.mail-reader__attachment-card .fa-file-excel {
    color: #16a34a;
}

.mail-reader__attachment-card .fa-file-zipper {
    color: #d97706;
}

.mail-reader__attachment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mail-reader__attachment-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.mail-reader__attachment-size {
    font-size: 11px;
    color: #9ca3af;
}

.mail-reader__attachment-card>i:last-child {
    font-size: 13px;
    color: #9ca3af;
    transition: color 0.15s;
}

.mail-reader__attachment-card:hover>i:last-child {
    color: #0A4EA0;
}

/* ── Mobile Sidebar Overlay ── */
.mail-sidebar-overlay {
    display: none;
}

/* ── Hamburger button (hidden on desktop) ── */
.mail-list__menu-btn {
    display: none;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.mail-list__menu-btn:hover {
    color: #111827;
    background: #f3f4f6;
}

.mail-list__header-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mail-list__header-top h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px;
}

/* ── Back button (hidden on desktop) ── */
.mail-reader__back-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    color: #0A4EA0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.mail-reader__back-btn:hover {
    background: #f3f4f6;
}

.mail-reader__back-btn i {
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mail-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 1100;
        transition: left 0.3s ease;
        box-shadow: none;
    }

    .mail-sidebar--open {
        left: 0;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .mail-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
    }

    .mail-list__menu-btn {
        display: flex;
    }

    .mail-list {
        width: 320px;
        min-width: 280px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .mail-page {
        height: calc(100vh - 56px);
        position: relative;
    }

    /* Sidebar — slide-out drawer */
    .mail-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 1100;
        transition: left 0.3s ease;
        box-shadow: none;
    }

    .mail-sidebar--open {
        left: 0;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .mail-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
    }

    .mail-list__menu-btn {
        display: flex;
    }

    /* Mail list — full width */
    .mail-list {
        width: 100%;
        min-width: 0;
        flex: 1;
        border-right: none;
    }

    .mail-list__header-top h2 {
        margin-bottom: 0;
    }

    .mail-list__header {
        padding: 12px 16px;
    }

    .mail-list__header-top {
        margin-bottom: 10px;
    }

    .mail-item {
        padding: 12px 16px;
    }

    .mail-item__from {
        max-width: 160px;
    }

    /* Reader — overlays the list on mobile */
    .mail-reader {
        position: absolute;
        inset: 0;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        background: #f8f9fb;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mail-page--reading .mail-reader {
        transform: translateX(0);
    }

    .mail-reader__back-btn {
        display: flex;
    }

    .mail-reader__empty {
        display: none;
    }

    /* No mobile, o scroll é gerenciado pelo .mail-reader,
       então o body interno NÃO deve ter scroll próprio */
    .mail-reader__body {
        overflow: visible;
        overflow-x: hidden;
        padding: 12px;
        flex: none;
    }

    .mail-reader__header {
        padding: 16px;
    }

    .mail-reader__subject {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .mail-reader__meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .mail-reader__date {
        width: 100%;
        margin-top: 4px;
    }

    .mail-reader__actions {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 10px;
    }

    .mail-reader__action {
        padding: 6px 10px;
        font-size: 11px;
    }

    .mail-reader__body {
        padding: 12px;
    }

    .mail-reader__attachments {
        padding: 12px 16px;
    }

    .mail-reader__attachments-list {
        flex-direction: column;
    }

    .mail-reader__attachment-card {
        min-width: unset;
        width: 100%;
    }

    /* Compose Modal — full screen on mobile */
    .compose-modal {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    .compose-overlay {
        align-items: flex-start;
    }

    .compose-modal__editor {
        min-height: 200px;
    }

    .compose-modal__header {
        padding: 12px 16px;
    }

    .compose-modal__fields {
        padding: 8px 16px 0;
    }

    .compose-modal__footer {
        padding: 10px 16px;
    }

    .compose-modal__attachments {
        padding: 0 16px 8px;
    }

    /* Settings Modal — full screen on mobile */
    .mail-settings-modal {
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        border: none;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .mail-reader__actions {
        gap: 4px;
    }

    .mail-reader__action {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
    }

    .mail-reader__move-menu select {
        padding: 5px 8px;
        font-size: 11px;
    }

    .mail-reader__subject {
        font-size: 15px;
    }

    .mail-reader__avatar {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .compose-modal__field label {
        width: 40px;
        font-size: 11px;
    }

    .compose-modal__field input {
        font-size: 12px;
    }
}/* =============================================
   SPLASH SCREEN — PWA Phobos Intranet
   ============================================= */

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: opacity 0.7s ease;
}

.splash-screen--fade {
    opacity: 0;
    pointer-events: none;
}

/* Logo */
.splash-logo {
    margin-bottom: 8px;
    animation: splashFadeDown 0.6s ease both;
}

.splash-logo-img {
    height: 48px;
    object-fit: contain;
}

/* Mascote */
.splash-mascot {
    animation: splashPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.splash-mascot-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

/* Texto */
.splash-text {
    text-align: center;
    margin-top: 16px;
    animation: splashFadeUp 0.6s ease 0.5s both;
}

.splash-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0A4EA0;
    letter-spacing: -0.5px;
    margin: 0 0 4px;
    font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif;
}

.splash-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Loader */
.splash-loader {
    margin-top: 40px;
    width: 120px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    animation: splashFadeUp 0.6s ease 0.7s both;
}

.splash-loader__bar {
    height: 100%;
    background: linear-gradient(90deg, #0A4EA0, #5b9bd5);
    border-radius: 99px;
    animation: splashLoaderFill 2s ease forwards;
}

/* Animações */
@keyframes splashFadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

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

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

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

@keyframes splashPop {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

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

@keyframes splashLoaderFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}@layer theme, base, components, utilities;

@layer theme {
  @theme default {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;

    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-red-800: oklch(44.4% 0.177 26.899);
    --color-red-900: oklch(39.6% 0.141 25.723);
    --color-red-950: oklch(25.8% 0.092 26.042);

    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-200: oklch(90.1% 0.076 70.697);
    --color-orange-300: oklch(83.7% 0.128 66.29);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-orange-600: oklch(64.6% 0.222 41.116);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-orange-800: oklch(47% 0.157 37.304);
    --color-orange-900: oklch(40.8% 0.123 38.172);
    --color-orange-950: oklch(26.6% 0.079 36.259);

    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-800: oklch(47.3% 0.137 46.201);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-amber-950: oklch(27.9% 0.077 45.635);

    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-300: oklch(90.5% 0.182 98.111);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-yellow-900: oklch(42.1% 0.095 57.708);
    --color-yellow-950: oklch(28.6% 0.066 53.813);

    --color-lime-50: oklch(98.6% 0.031 120.757);
    --color-lime-100: oklch(96.7% 0.067 122.328);
    --color-lime-200: oklch(93.8% 0.127 124.321);
    --color-lime-300: oklch(89.7% 0.196 126.665);
    --color-lime-400: oklch(84.1% 0.238 128.85);
    --color-lime-500: oklch(76.8% 0.233 130.85);
    --color-lime-600: oklch(64.8% 0.2 131.684);
    --color-lime-700: oklch(53.2% 0.157 131.589);
    --color-lime-800: oklch(45.3% 0.124 130.933);
    --color-lime-900: oklch(40.5% 0.101 131.063);
    --color-lime-950: oklch(27.4% 0.072 132.109);

    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-300: oklch(87.1% 0.15 154.449);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-green-800: oklch(44.8% 0.119 151.328);
    --color-green-900: oklch(39.3% 0.095 152.535);
    --color-green-950: oklch(26.6% 0.065 152.934);

    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-800: oklch(43.2% 0.095 166.913);
    --color-emerald-900: oklch(37.8% 0.077 168.94);
    --color-emerald-950: oklch(26.2% 0.051 172.552);

    --color-teal-50: oklch(98.4% 0.014 180.72);
    --color-teal-100: oklch(95.3% 0.051 180.801);
    --color-teal-200: oklch(91% 0.096 180.426);
    --color-teal-300: oklch(85.5% 0.138 181.071);
    --color-teal-400: oklch(77.7% 0.152 181.912);
    --color-teal-500: oklch(70.4% 0.14 182.503);
    --color-teal-600: oklch(60% 0.118 184.704);
    --color-teal-700: oklch(51.1% 0.096 186.391);
    --color-teal-800: oklch(43.7% 0.078 188.216);
    --color-teal-900: oklch(38.6% 0.063 188.416);
    --color-teal-950: oklch(27.7% 0.046 192.524);

    --color-cyan-50: oklch(98.4% 0.019 200.873);
    --color-cyan-100: oklch(95.6% 0.045 203.388);
    --color-cyan-200: oklch(91.7% 0.08 205.041);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-cyan-400: oklch(78.9% 0.154 211.53);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-cyan-600: oklch(60.9% 0.126 221.723);
    --color-cyan-700: oklch(52% 0.105 223.128);
    --color-cyan-800: oklch(45% 0.085 224.283);
    --color-cyan-900: oklch(39.8% 0.07 227.392);
    --color-cyan-950: oklch(30.2% 0.056 229.695);

    --color-sky-50: oklch(97.7% 0.013 236.62);
    --color-sky-100: oklch(95.1% 0.026 236.824);
    --color-sky-200: oklch(90.1% 0.058 230.902);
    --color-sky-300: oklch(82.8% 0.111 230.318);
    --color-sky-400: oklch(74.6% 0.16 232.661);
    --color-sky-500: oklch(68.5% 0.169 237.323);
    --color-sky-600: oklch(58.8% 0.158 241.966);
    --color-sky-700: oklch(50% 0.134 242.749);
    --color-sky-800: oklch(44.3% 0.11 240.79);
    --color-sky-900: oklch(39.1% 0.09 240.876);
    --color-sky-950: oklch(29.3% 0.066 243.157);

    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-200: oklch(88.2% 0.059 254.128);
    --color-blue-300: oklch(80.9% 0.105 251.813);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-blue-950: oklch(28.2% 0.091 267.935);

    --color-indigo-50: oklch(96.2% 0.018 272.314);
    --color-indigo-100: oklch(93% 0.034 272.788);
    --color-indigo-200: oklch(87% 0.065 274.039);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-400: oklch(67.3% 0.182 276.935);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-indigo-600: oklch(51.1% 0.262 276.966);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-indigo-800: oklch(39.8% 0.195 277.366);
    --color-indigo-900: oklch(35.9% 0.144 278.697);
    --color-indigo-950: oklch(25.7% 0.09 281.288);

    --color-violet-50: oklch(96.9% 0.016 293.756);
    --color-violet-100: oklch(94.3% 0.029 294.588);
    --color-violet-200: oklch(89.4% 0.057 293.283);
    --color-violet-300: oklch(81.1% 0.111 293.571);
    --color-violet-400: oklch(70.2% 0.183 293.541);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-violet-600: oklch(54.1% 0.281 293.009);
    --color-violet-700: oklch(49.1% 0.27 292.581);
    --color-violet-800: oklch(43.2% 0.232 292.759);
    --color-violet-900: oklch(38% 0.189 293.745);
    --color-violet-950: oklch(28.3% 0.141 291.089);

    --color-purple-50: oklch(97.7% 0.014 308.299);
    --color-purple-100: oklch(94.6% 0.033 307.174);
    --color-purple-200: oklch(90.2% 0.063 306.703);
    --color-purple-300: oklch(82.7% 0.119 306.383);
    --color-purple-400: oklch(71.4% 0.203 305.504);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-purple-700: oklch(49.6% 0.265 301.924);
    --color-purple-800: oklch(43.8% 0.218 303.724);
    --color-purple-900: oklch(38.1% 0.176 304.987);
    --color-purple-950: oklch(29.1% 0.149 302.717);

    --color-fuchsia-50: oklch(97.7% 0.017 320.058);
    --color-fuchsia-100: oklch(95.2% 0.037 318.852);
    --color-fuchsia-200: oklch(90.3% 0.076 319.62);
    --color-fuchsia-300: oklch(83.3% 0.145 321.434);
    --color-fuchsia-400: oklch(74% 0.238 322.16);
    --color-fuchsia-500: oklch(66.7% 0.295 322.15);
    --color-fuchsia-600: oklch(59.1% 0.293 322.896);
    --color-fuchsia-700: oklch(51.8% 0.253 323.949);
    --color-fuchsia-800: oklch(45.2% 0.211 324.591);
    --color-fuchsia-900: oklch(40.1% 0.17 325.612);
    --color-fuchsia-950: oklch(29.3% 0.136 325.661);

    --color-pink-50: oklch(97.1% 0.014 343.198);
    --color-pink-100: oklch(94.8% 0.028 342.258);
    --color-pink-200: oklch(89.9% 0.061 343.231);
    --color-pink-300: oklch(82.3% 0.12 346.018);
    --color-pink-400: oklch(71.8% 0.202 349.761);
    --color-pink-500: oklch(65.6% 0.241 354.308);
    --color-pink-600: oklch(59.2% 0.249 0.584);
    --color-pink-700: oklch(52.5% 0.223 3.958);
    --color-pink-800: oklch(45.9% 0.187 3.815);
    --color-pink-900: oklch(40.8% 0.153 2.432);
    --color-pink-950: oklch(28.4% 0.109 3.907);

    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-100: oklch(94.1% 0.03 12.58);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-400: oklch(71.2% 0.194 13.428);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --color-rose-600: oklch(58.6% 0.253 17.585);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-rose-800: oklch(45.5% 0.188 13.697);
    --color-rose-900: oklch(41% 0.159 10.272);
    --color-rose-950: oklch(27.1% 0.105 12.094);

    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);

    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-gray-950: oklch(13% 0.028 261.692);

    --color-zinc-50: oklch(98.5% 0 0);
    --color-zinc-100: oklch(96.7% 0.001 286.375);
    --color-zinc-200: oklch(92% 0.004 286.32);
    --color-zinc-300: oklch(87.1% 0.006 286.286);
    --color-zinc-400: oklch(70.5% 0.015 286.067);
    --color-zinc-500: oklch(55.2% 0.016 285.938);
    --color-zinc-600: oklch(44.2% 0.017 285.786);
    --color-zinc-700: oklch(37% 0.013 285.805);
    --color-zinc-800: oklch(27.4% 0.006 286.033);
    --color-zinc-900: oklch(21% 0.006 285.885);
    --color-zinc-950: oklch(14.1% 0.005 285.823);

    --color-neutral-50: oklch(98.5% 0 0);
    --color-neutral-100: oklch(97% 0 0);
    --color-neutral-200: oklch(92.2% 0 0);
    --color-neutral-300: oklch(87% 0 0);
    --color-neutral-400: oklch(70.8% 0 0);
    --color-neutral-500: oklch(55.6% 0 0);
    --color-neutral-600: oklch(43.9% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --color-neutral-800: oklch(26.9% 0 0);
    --color-neutral-900: oklch(20.5% 0 0);
    --color-neutral-950: oklch(14.5% 0 0);

    --color-stone-50: oklch(98.5% 0.001 106.423);
    --color-stone-100: oklch(97% 0.001 106.424);
    --color-stone-200: oklch(92.3% 0.003 48.717);
    --color-stone-300: oklch(86.9% 0.005 56.366);
    --color-stone-400: oklch(70.9% 0.01 56.259);
    --color-stone-500: oklch(55.3% 0.013 58.071);
    --color-stone-600: oklch(44.4% 0.011 73.639);
    --color-stone-700: oklch(37.4% 0.01 67.558);
    --color-stone-800: oklch(26.8% 0.007 34.298);
    --color-stone-900: oklch(21.6% 0.006 56.043);
    --color-stone-950: oklch(14.7% 0.004 49.25);

    --color-black: #000;
    --color-white: #fff;

    --spacing: 0.25rem;

    --breakpoint-sm: 40rem;
    --breakpoint-md: 48rem;
    --breakpoint-lg: 64rem;
    --breakpoint-xl: 80rem;
    --breakpoint-2xl: 96rem;

    --container-3xs: 16rem;
    --container-2xs: 18rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;

    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --text-8xl: 6rem;
    --text-8xl--line-height: 1;
    --text-9xl: 8rem;
    --text-9xl--line-height: 1;

    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;

    --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md:
      0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
      0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
      0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
    --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
    --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);

    --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
    --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
    --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
    --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
    --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
    --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);

    --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
    --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
    --text-shadow-sm:
      0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
      0px 2px 2px rgb(0 0 0 / 0.075);
    --text-shadow-md:
      0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
      0px 2px 4px rgb(0 0 0 / 0.1);
    --text-shadow-lg:
      0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
      0px 4px 8px rgb(0 0 0 / 0.1);

    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --animate-spin: spin 1s linear infinite;
    --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --animate-bounce: bounce 1s infinite;

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

    @keyframes ping {
      75%,
      100% {
        transform: scale(2);
        opacity: 0;
      }
    }

    @keyframes pulse {
      50% {
        opacity: 0.5;
      }
    }

    @keyframes bounce {
      0%,
      100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
      }

      50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
      }
    }

    --blur-xs: 4px;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;

    --perspective-dramatic: 100px;
    --perspective-near: 300px;
    --perspective-normal: 500px;
    --perspective-midrange: 800px;
    --perspective-distant: 1200px;

    --aspect-video: 16 / 9;

    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: --theme(--font-sans, initial);
    --default-font-feature-settings: --theme(
      --font-sans--font-feature-settings,
      initial
    );
    --default-font-variation-settings: --theme(
      --font-sans--font-variation-settings,
      initial
    );
    --default-mono-font-family: --theme(--font-mono, initial);
    --default-mono-font-feature-settings: --theme(
      --font-mono--font-feature-settings,
      initial
    );
    --default-mono-font-variation-settings: --theme(
      --font-mono--font-variation-settings,
      initial
    );
  }

  /* Deprecated */
  @theme default inline reference {
    --blur: 8px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
    --radius: 0.25rem;
    --max-width-prose: 65ch;
  }
}

@layer base {
  /*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 2 */
    border: 0 solid; /* 3 */
  }

  /*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

  html,
  :host {
    line-height: 1.5; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    tab-size: 4; /* 3 */
    font-family: --theme(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    ); /* 4 */
    font-feature-settings: --theme(
      --default-font-feature-settings,
      normal
    ); /* 5 */
    font-variation-settings: --theme(
      --default-font-variation-settings,
      normal
    ); /* 6 */
    -webkit-tap-highlight-color: transparent; /* 7 */
  }

  /*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

  hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
  }

  /*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  /*
  Remove the default font size and weight for headings.
*/

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  /*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  /*
  Add the correct font weight in Edge and Safari.
*/

  b,
  strong {
    font-weight: bolder;
  }

  /*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

  code,
  kbd,
  samp,
  pre {
    font-family: --theme(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    ); /* 1 */
    font-feature-settings: --theme(
      --default-mono-font-feature-settings,
      normal
    ); /* 2 */
    font-variation-settings: --theme(
      --default-mono-font-variation-settings,
      normal
    ); /* 3 */
    font-size: 1em; /* 4 */
  }

  /*
  Add the correct font size in all browsers.
*/

  small {
    font-size: 80%;
  }

  /*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  /*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

  table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
  }

  /*
  Use the modern Firefox focus style for all focusable elements.
*/

  :-moz-focusring {
    outline: auto;
  }

  /*
  Add the correct vertical alignment in Chrome and Firefox.
*/

  progress {
    vertical-align: baseline;
  }

  /*
  Add the correct display in Chrome and Safari.
*/

  summary {
    display: list-item;
  }

  /*
  Make lists unstyled by default.
*/

  ol,
  ul,
  menu {
    list-style: none;
  }

  /*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block; /* 1 */
    vertical-align: middle; /* 2 */
  }

  /*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  /*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit; /* 1 */
    font-feature-settings: inherit; /* 1 */
    font-variation-settings: inherit; /* 1 */
    letter-spacing: inherit; /* 1 */
    color: inherit; /* 1 */
    border-radius: 0; /* 2 */
    background-color: transparent; /* 3 */
    opacity: 1; /* 4 */
  }

  /*
  Restore default font weight.
*/

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  /*
  Restore indentation.
*/

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  /*
  Restore space after button.
*/

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  /*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

  ::placeholder {
    opacity: 1;
  }

  /*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

  @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
    (contain-intrinsic-size: 1px) /* Safari 17+ */ {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }

  /*
  Prevent resizing textareas horizontally by default.
*/

  textarea {
    resize: vertical;
  }

  /*
  Remove the inner padding in Chrome and Safari on macOS.
*/

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  /*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

  ::-webkit-date-and-time-value {
    min-height: 1lh; /* 1 */
    text-align: inherit; /* 2 */
  }

  /*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  /*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  /*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  /*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

  :-moz-ui-invalid {
    box-shadow: none;
  }

  /*
  Correct the inability to style the border radius in iOS Safari.
*/

  button,
  input:where([type="button"], [type="reset"], [type="submit"]),
  ::file-selector-button {
    appearance: button;
  }

  /*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  /*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer utilities {
  @tailwind utilities;
}

@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}

@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}

@property --tw-animation-duration{syntax:"*";inherits:false}

@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}

@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}

@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}

@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}

@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}

@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}

@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}

@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}

@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}

@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}

@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}

@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}

@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}

@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}

@theme inline{--animation-delay-0: 0s; --animation-delay-75: 75ms; --animation-delay-100: .1s; --animation-delay-150: .15s; --animation-delay-200: .2s; --animation-delay-300: .3s; --animation-delay-500: .5s; --animation-delay-700: .7s; --animation-delay-1000: 1s; --animation-repeat-0: 0; --animation-repeat-1: 1; --animation-repeat-infinite: infinite; --animation-direction-normal: normal; --animation-direction-reverse: reverse; --animation-direction-alternate: alternate; --animation-direction-alternate-reverse: alternate-reverse; --animation-fill-mode-none: none; --animation-fill-mode-forwards: forwards; --animation-fill-mode-backwards: backwards; --animation-fill-mode-both: both; --percentage-0: 0; --percentage-5: .05; --percentage-10: .1; --percentage-15: .15; --percentage-20: .2; --percentage-25: .25; --percentage-30: .3; --percentage-35: .35; --percentage-40: .4; --percentage-45: .45; --percentage-50: .5; --percentage-55: .55; --percentage-60: .6; --percentage-65: .65; --percentage-70: .7; --percentage-75: .75; --percentage-80: .8; --percentage-85: .85; --percentage-90: .9; --percentage-95: .95; --percentage-100: 1; --percentage-translate-full: 1; --animate-in: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-out: exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes enter { from { opacity: var(--tw-enter-opacity,1); transform: translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0)); filter: blur(var(--tw-enter-blur,0)); }}@keyframes exit { to { opacity: var(--tw-exit-opacity,1); transform: translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0)); filter: blur(var(--tw-exit-blur,0)); }}--animate-accordion-down: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-accordion-up: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-down: collapsible-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); --animate-collapsible-up: collapsible-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none); @keyframes accordion-down { from { height: 0; }to { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }}@keyframes accordion-up { from { height: var(--radix-accordion-content-height,var(--bits-accordion-content-height,var(--reka-accordion-content-height,var(--kb-accordion-content-height,var(--ngp-accordion-content-height,auto))))); }to { height: 0; }}@keyframes collapsible-down { from { height: 0; }to { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }}@keyframes collapsible-up { from { height: var(--radix-collapsible-content-height,var(--bits-collapsible-content-height,var(--reka-collapsible-content-height,var(--kb-collapsible-content-height,auto)))); }to { height: 0; }}--animate-caret-blink: caret-blink 1.25s ease-out infinite; @keyframes caret-blink { 0%,70%,100% { opacity: 1; }20%,50% { opacity: 0; }}}

@utility animation-duration-*{--tw-animation-duration: calc(--value(number)*1ms); --tw-animation-duration: --value(--animation-duration-*,[duration],"initial",[*]); animation-duration: calc(--value(number)*1ms); animation-duration: --value(--animation-duration-*,[duration],"initial",[*]);}

@utility delay-*{animation-delay: calc(--value(number)*1ms); animation-delay: --value(--animation-delay-*,[duration],"initial",[*]); --tw-animation-delay: calc(--value(number)*1ms); --tw-animation-delay: --value(--animation-delay-*,[duration],"initial",[*]);}

@utility repeat-*{animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]); --tw-animation-iteration-count: --value(--animation-repeat-*,number,"initial",[*]);}

@utility direction-*{animation-direction: --value(--animation-direction-*,"initial",[*]); --tw-animation-direction: --value(--animation-direction-*,"initial",[*]);}

@utility fill-mode-*{animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]); --tw-animation-fill-mode: --value(--animation-fill-mode-*,"initial",[*]);}

@utility running{animation-play-state: running;}

@utility paused{animation-play-state: paused;}

@utility play-state-*{animation-play-state: --value("initial",[*]);}

@utility blur-in{--tw-enter-blur: 20px;}

@utility blur-in-*{--tw-enter-blur: calc(--value(number)*1px); --tw-enter-blur: --value(--blur-*,[*]);}

@utility blur-out{--tw-exit-blur: 20px;}

@utility blur-out-*{--tw-exit-blur: calc(--value(number)*1px); --tw-exit-blur: --value(--blur-*,[*]);}

@utility fade-in{--tw-enter-opacity: 0;}

@utility fade-in-*{--tw-enter-opacity: calc(--value(number)/100); --tw-enter-opacity: --value(--percentage-*,[*]);}

@utility fade-out{--tw-exit-opacity: 0;}

@utility fade-out-*{--tw-exit-opacity: calc(--value(number)/100); --tw-exit-opacity: --value(--percentage-*,[*]);}

@utility zoom-in{--tw-enter-scale: 0;}

@utility zoom-in-*{--tw-enter-scale: calc(--value(number)*1%); --tw-enter-scale: calc(--value(ratio)); --tw-enter-scale: --value(--percentage-*,[*]);}

@utility -zoom-in-*{--tw-enter-scale: calc(--value(number)*-1%); --tw-enter-scale: calc(--value(ratio)*-1); --tw-enter-scale: --value(--percentage-*,[*]);}

@utility zoom-out{--tw-exit-scale: 0;}

@utility zoom-out-*{--tw-exit-scale: calc(--value(number)*1%); --tw-exit-scale: calc(--value(ratio)); --tw-exit-scale: --value(--percentage-*,[*]);}

@utility -zoom-out-*{--tw-exit-scale: calc(--value(number)*-1%); --tw-exit-scale: calc(--value(ratio)*-1); --tw-exit-scale: --value(--percentage-*,[*]);}

@utility spin-in{--tw-enter-rotate: 30deg;}

@utility spin-in-*{--tw-enter-rotate: calc(--value(number)*1deg); --tw-enter-rotate: calc(--value(ratio)*360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}

@utility -spin-in{--tw-enter-rotate: -30deg;}

@utility -spin-in-*{--tw-enter-rotate: calc(--value(number)*-1deg); --tw-enter-rotate: calc(--value(ratio)*-360deg); --tw-enter-rotate: --value(--rotate-*,[*]);}

@utility spin-out{--tw-exit-rotate: 30deg;}

@utility spin-out-*{--tw-exit-rotate: calc(--value(number)*1deg); --tw-exit-rotate: calc(--value(ratio)*360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}

@utility -spin-out{--tw-exit-rotate: -30deg;}

@utility -spin-out-*{--tw-exit-rotate: calc(--value(number)*-1deg); --tw-exit-rotate: calc(--value(ratio)*-360deg); --tw-exit-rotate: --value(--rotate-*,[*]);}

@utility slide-in-from-top{--tw-enter-translate-y: -100%;}

@utility slide-in-from-top-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-y: calc(--value(ratio)*-100%); --tw-enter-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}

@utility slide-in-from-bottom{--tw-enter-translate-y: 100%;}

@utility slide-in-from-bottom-*{--tw-enter-translate-y: calc(--value(integer)*var(--spacing)); --tw-enter-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-y: calc(--value(ratio)*100%); --tw-enter-translate-y: --value(--translate-*,[percentage],[length]);}

@utility slide-in-from-left{--tw-enter-translate-x: -100%;}

@utility slide-in-from-left-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}

@utility slide-in-from-right{--tw-enter-translate-x: 100%;}

@utility slide-in-from-right-*{--tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]);}

@utility slide-in-from-start{&:dir(ltr){ --tw-enter-translate-x: -100%; }&:dir(rtl){ --tw-enter-translate-x: 100%; }}

@utility slide-in-from-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }}

@utility slide-in-from-end{&:dir(ltr){ --tw-enter-translate-x: 100%; }&:dir(rtl){ --tw-enter-translate-x: -100%; }}

@utility slide-in-from-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-enter-translate-x: calc(--value(ratio)*100%); --tw-enter-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-enter-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-enter-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-enter-translate-x: calc(--value(ratio)*-100%); --tw-enter-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}

@utility slide-out-to-top{--tw-exit-translate-y: -100%;}

@utility slide-out-to-top-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-y: calc(--value(ratio)*-100%); --tw-exit-translate-y: calc(--value(--translate-*,[percentage],[length])*-1);}

@utility slide-out-to-bottom{--tw-exit-translate-y: 100%;}

@utility slide-out-to-bottom-*{--tw-exit-translate-y: calc(--value(integer)*var(--spacing)); --tw-exit-translate-y: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-y: calc(--value(ratio)*100%); --tw-exit-translate-y: --value(--translate-*,[percentage],[length]);}

@utility slide-out-to-left{--tw-exit-translate-x: -100%;}

@utility slide-out-to-left-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1);}

@utility slide-out-to-right{--tw-exit-translate-x: 100%;}

@utility slide-out-to-right-*{--tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]);}

@utility slide-out-to-start{&:dir(ltr){ --tw-exit-translate-x: -100%; }&:dir(rtl){ --tw-exit-translate-x: 100%; }}

@utility slide-out-to-start-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }}

@utility slide-out-to-end{&:dir(ltr){ --tw-exit-translate-x: 100%; }&:dir(rtl){ --tw-exit-translate-x: -100%; }}

@utility slide-out-to-end-*{&:where(:dir(ltr),[dir="ltr"],[dir="ltr"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*100%); --tw-exit-translate-x: calc(--value(ratio)*100%); --tw-exit-translate-x: --value(--translate-*,[percentage],[length]); }&:where(:dir(rtl),[dir="rtl"],[dir="rtl"]*){ --tw-exit-translate-x: calc(--value(integer)*var(--spacing)*-1); --tw-exit-translate-x: calc(--value(--percentage-*,--percentage-translate-*)*-100%); --tw-exit-translate-x: calc(--value(ratio)*-100%); --tw-exit-translate-x: calc(--value(--translate-*,[percentage],[length])*-1); }}

@custom-variant dark (&:is(.dark *));

/* Desabilitar zoom */

html,
body {
  touch-action: manipulation;
}

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

:root {
  /* Cores oficiais da Phobos: #0A4EA0 e #002b5e */
  --primary: 210 85% 33%;
  /* #0A4EA0 */
  --primary-foreground: 0 0% 100%;
  --sidebar-primary: 210 100% 18%;
  /* #002b5e */
  --sidebar-primary-foreground: 0 0% 100%;
  --background: 0 0% 100%;
  --foreground: 210 40% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 210 40% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 210 40% 3.9%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 210 40% 3.9%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 210 40% 96%;
  --accent-foreground: 210 40% 3.9%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 210 85% 33%;
  --chart-1: var(--color-blue-500);
  --chart-2: var(--color-blue-600);
  --chart-3: var(--color-blue-600);
  --chart-4: var(--color-blue-700);
  --chart-5: var(--color-blue-800);
  --sidebar: 210 40% 96%;
  --sidebar-foreground: 215 28% 17%;
  --sidebar-primary: 210 85% 33%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 210 40% 96%;
  --sidebar-accent-foreground: 210 40% 3.9%;
  --sidebar-border: 214 32% 91%;
  --sidebar-ring: 210 85% 33%;
}

.dark {
  --background: 210 40% 3.9%;
  --foreground: 0 0% 100%;
  --card: 215 28% 17%;
  --card-foreground: 0 0% 100%;
  --popover: 215 28% 17%;
  --popover-foreground: 0 0% 100%;
  --secondary: 215 28% 17%;
  --secondary-foreground: 210 40% 96%;
  --muted: 215 16% 47%;
  --muted-foreground: 217 33% 77%;
  --accent: 215 28% 17%;
  --accent-foreground: 210 40% 96%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 3.9%;
  --border: 215 28% 17%;
  --input: 215 28% 17%;
  --ring: 212 95% 58%;
  --sidebar: 215 28% 17%;
  --sidebar-foreground: 210 40% 96%;
  --sidebar-primary: 212 95% 58%;
  --sidebar-primary-foreground: 215 28% 17%;
  --sidebar-accent: 215 28% 17%;
  --sidebar-accent-foreground: 210 40% 96%;
  --sidebar-border: 215 28% 17%;
  --sidebar-ring: 212 95% 58%;
}

* {
  @apply border-border;
}

body {
  @apply bg-background text-foreground;
}

/* ============================================
   RADIX DIALOG - PHOBOS PREMIUM
   ============================================ */

[data-slot="dialog-overlay"] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(11, 25, 41, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

[data-slot="dialog-content"] {
  position: fixed !important;
  z-index: 10000 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: calc(100% - 2rem) !important;
  max-width: 560px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow:
    0 0 0 1px rgba(10, 78, 160, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(10, 78, 160, 0.1) !important;
  padding: 0 !important;
}

[data-slot="dialog-header"] {
  background: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px 16px 0 0;
  position: relative;
}

[data-slot="dialog-header"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, #3b82f6, transparent);
}

[data-slot="dialog-title"] {
  color: #fff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

[data-slot="dialog-description"] {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.85rem !important;
  margin-top: 4px;
}

[data-slot="dialog-content"]>div:not([data-slot]) {
  padding: 24px;
}

[data-slot="dialog-footer"] {
  padding: 16px 24px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e8ecf1 !important;
  border-radius: 0 0 16px 16px !important;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

[data-slot="dialog-close"] {
  color: rgba(255, 255, 255, 0.7) !important;
  top: 16px !important;
  right: 16px !important;
  transition: color 0.2s !important;
}

[data-slot="dialog-close"]:hover {
  color: #fff !important;
}/* ============================================
   SweetAlert2 — Phobos Theme
   ============================================ */

/* Popup */
.ph-swal-popup {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    border-radius: 20px !important;
    padding: 2rem 1.75rem 1.5rem !important;
    box-shadow: 0 16px 48px rgba(10, 78, 160, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.ph-swal-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
}

.ph-swal-html {
    font-size: 0.9rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

/* Botões base */
.ph-swal-btn {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 4px !important;
    min-width: 120px !important;
}

/* Confirmar — azul Phobos */
.ph-swal-btn--confirm {
    background: linear-gradient(135deg, #0A4EA0 0%, #1e6ecf 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(10, 78, 160, 0.30) !important;
}

.ph-swal-btn--confirm:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(10, 78, 160, 0.38) !important;
}

.ph-swal-btn--confirm:active {
    transform: translateY(0) !important;
}

/* Deletar — vermelho */
.ph-swal-btn--danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.30) !important;
}

.ph-swal-btn--danger:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.38) !important;
}

/* Cancelar — cinza suave */
.ph-swal-btn--cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

.ph-swal-btn--cancel:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Deny — outline */
.ph-swal-btn--deny {
    background: transparent !important;
    color: #ef4444 !important;
    border: 1.5px solid #ef4444 !important;
}

.ph-swal-btn--deny:hover {
    background: rgba(239, 68, 68, 0.06) !important;
}

/* Ícone success */
.ph-swal-popup .swal2-icon.swal2-success {
    border-color: #0A4EA0 !important;
    color: #0A4EA0 !important;
}

.ph-swal-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(10, 78, 160, 0.3) !important;
}

.ph-swal-popup .swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #0A4EA0 !important;
}

/* Toast */
.ph-swal-toast {
    font-family: 'Inter', system-ui, sans-serif !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Ícone question — azul */
.ph-swal-popup .swal2-icon.swal2-question {
    border-color: #0A4EA0 !important;
    color: #0A4EA0 !important;
}

/* Ícone info — azul */
.ph-swal-popup .swal2-icon.swal2-info {
    border-color: #0A4EA0 !important;
    color: #0A4EA0 !important;
}

/* Timer progress bar */
.ph-swal-toast .swal2-timer-progress-bar {
    background: #0A4EA0 !important;
}

/* Actions container */
.ph-swal-popup .swal2-actions {
    margin-top: 1.25rem !important;
    gap: 8px !important;
}

/* Backdrop */
.swal2-backdrop-show {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
}/* ============================================
   PHOBOS INTRANET - MODERN DESIGN
   Baseado no Vyzor com branding Phobos
   ============================================ */

:root {
  /* Phobos Brand Colors */
  --phobos-primary: #0A4EA0;
  --phobos-primary-dark: #002b5e;
  --phobos-primary-light: #1e5bb8;
  --phobos-secondary: #6c757d;
  --phobos-success: #10b981;
  --phobos-danger: #ef4444;
  --phobos-warning: #f59e0b;
  --phobos-info: #3b82f6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A4EA0 0%, #002b5e 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-info: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6c757d;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
}

/* ============================================
   CARDS & WIDGETS
   ============================================ */

.phobos-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

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

.phobos-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phobos-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phobos-card-body {
  padding: 1.5rem;
}

.phobos-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Stats Cards */
.stats-card-modern {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--phobos-primary);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stats-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.stats-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stats-card-modern.success {
  border-left-color: var(--phobos-success);
}

.stats-card-modern.danger {
  border-left-color: var(--phobos-danger);
}

.stats-card-modern.warning {
  border-left-color: var(--phobos-warning);
}

.stats-card-modern.info {
  border-left-color: var(--phobos-info);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-phobos {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-phobos:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 78, 160, 0.3);
}

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

.btn-phobos-outline {
  background: transparent;
  color: var(--phobos-primary);
  border: 2px solid var(--phobos-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-phobos-outline:hover {
  background: var(--phobos-primary);
  color: white;
}

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge-phobos {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.badge-primary {
  background: rgba(10, 78, 160, 0.1);
  color: var(--phobos-primary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--phobos-success);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--phobos-danger);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--phobos-warning);
}

.badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--phobos-info);
}

/* ============================================
   TABLES
   ============================================ */

.table-phobos {
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-phobos thead {
  background: var(--gradient-primary);
  color: white;
}

.table-phobos thead th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: left;
  border: none;
}

.table-phobos tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.table-phobos tbody tr:hover {
  background: var(--gray-50);
}

.table-phobos tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

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

/* ============================================
   MODALS
   ============================================ */

.modal-phobos .modal-content {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-phobos .modal-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  border: none;
}

.modal-phobos .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-phobos .modal-body {
  padding: 1.5rem;
}

.modal-phobos .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.modal-phobos .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-phobos .btn-close:hover {
  opacity: 1;
}

/* ============================================
   FORMS
   ============================================ */

.form-phobos .form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-phobos .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.form-phobos .form-control:focus {
  border-color: var(--phobos-primary);
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  outline: none;
}

.form-phobos .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.form-phobos .form-select:focus {
  border-color: var(--phobos-primary);
  box-shadow: 0 0 0 3px rgba(10, 78, 160, 0.1);
  outline: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease;
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease;
}

.animate-fadeInDown {
  animation: fadeInDown 0.5s ease;
}

.animate-slideInRight {
  animation: slideInRight 0.4s ease;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.border-gradient-primary {
  border-image: var(--gradient-primary) 1;
}

/* Icon Backgrounds */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-box-primary {
  background: rgba(10, 78, 160, 0.1);
  color: var(--phobos-primary);
}

.icon-box-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--phobos-success);
}

.icon-box-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--phobos-danger);
}

.icon-box-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--phobos-warning);
}

.icon-box-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--phobos-info);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .phobos-card-header {
    padding: 1rem;
  }
  
  .phobos-card-body {
    padding: 1rem;
  }
  
  .stats-card-modern {
    padding: 1rem;
  }
}

