  /* ============================================ */
  /* TELA DE LOGIN - DESIGN WOW PREMIUM           */
  /* Verde MRA + Dourado · Glassmorphism          */
  /* ============================================ */

  .login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: #050a14;
  }

  /* Aurora gradient animada */
  .login-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.25), transparent),
      radial-gradient(ellipse 60% 40% at 0% 100%, rgba(212, 160, 74, 0.2), transparent),
      radial-gradient(ellipse 60% 40% at 100% 100%, rgba(59, 130, 246, 0.15), transparent);
    pointer-events: none;
    animation: aurora-shift 20s ease-in-out infinite;
  }
  @keyframes aurora-shift {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 1; }
  }

  /* Orbs de luz */
  .login-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: orb-float 20s ease-in-out infinite;
  }
  .orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--mra-green) 0%, transparent 70%);
    top: -150px; left: -150px;
    opacity: 0.5;
  }
  .orb-2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    bottom: -250px; right: -200px;
    opacity: 0.4;
    animation-delay: -7s;
  }
  .orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--mra-green) 0%, transparent 70%);
    top: 60%; left: 30%;
    opacity: 0.25;
    animation-delay: -14s;
  }
  @keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.08); }
    66% { transform: translate(-40px, 50px) scale(0.92); }
  }

  /* Grid tech animada */
  .login-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    animation: grid-drift 30s linear infinite;
  }
  @keyframes grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }

  /* Partículas flutuando */
  .login-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--mra-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--mra-green), 0 0 16px var(--mra-green);
    animation: particle-rise linear infinite;
    opacity: 0;
    bottom: -20px;
  }
  .particle:nth-child(odd) {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold), 0 0 16px var(--gold);
  }
  @keyframes particle-rise {
    0% { transform: translateY(0) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(80px) scale(1.2); opacity: 0; }
  }

  /* Card de login premium */
  .login-card {
    background: rgba(12, 24, 19, 0.65) !important;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    border-radius: 24px !important;
    padding: 0 !important;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.6),
      0 0 100px rgba(59, 130, 246, 0.15),
      0 0 160px rgba(212, 160, 74, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    animation: card-entrance 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes card-entrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Borda gradiente animada */
  .login-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.6) 0%,
      rgba(212, 160, 74, 0.5) 50%,
      rgba(59, 130, 246, 0.6) 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    pointer-events: none;
    animation: border-shimmer 6s ease infinite;
  }
  @keyframes border-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  /* Highlight superior do card (glow) */
  .login-card::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--mra-green), transparent);
    box-shadow: 0 0 12px var(--mra-green-glow);
    pointer-events: none;
  }

  /* Brand area centralizada */
  .login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px 24px;
    position: relative;
    gap: 18px;
  }

  .login-brand-logo {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.2) 0%,
      rgba(212, 160, 74, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 12px 40px rgba(59, 130, 246, 0.35),
      0 0 60px rgba(59, 130, 246, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: logo-pulse 3.5s ease-in-out infinite;
    position: relative;
    flex-shrink: 0;
  }
  .login-brand-logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 32px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: logo-ring-pulse 3.5s ease-in-out infinite;
  }
  .login-brand-logo::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 36px;
    border: 1px solid rgba(212, 160, 74, 0.2);
    animation: logo-ring-pulse 3.5s ease-in-out infinite 0.7s;
  }
  .login-brand-logo img {
    width: 88px !important;
    height: 88px !important;
    object-fit: contain;
    filter:
      drop-shadow(0 0 12px rgba(59, 130, 246, 0.6))
      drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  }
  @keyframes logo-pulse {
    0%, 100% {
      box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35), 0 0 60px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 16px 56px rgba(59, 130, 246, 0.55), 0 0 80px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
      transform: scale(1.03);
    }
  }
  @keyframes logo-ring-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
  }

  .login-brand-title {
    font-size: 56px !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    background: linear-gradient(135deg,
      var(--mra-green) 0%,
      #93c5fd 30%,
      var(--gold) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 5s ease infinite;
    margin: 0 !important;
  }
  @keyframes title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .login-brand-subtitle {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -6px;
  }
  .login-brand-subtitle::before,
  .login-brand-subtitle::after {
    content: '';
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .login-divider {
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(59, 130, 246, 0.4) 50%,
      transparent 100%);
    margin: 0 32px;
  }

  /* Conteúdo do login */
  .login-content {
    padding: 28px 36px 32px;
  }
  .login-content h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text-1);
  }
  .login-content .sub {
    color: var(--text-2);
    margin-bottom: 1.5rem;
    font-size: 13px;
  }

  .login-content select,
  .login-content input {
    background: rgba(8, 17, 13, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    transition: all 0.25s ease !important;
    color: var(--text-1) !important;
  }
  .login-content select:hover,
  .login-content input:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
  }
  .login-content select:focus,
  .login-content input:focus {
    border-color: var(--mra-green) !important;
    box-shadow:
      0 0 0 3px var(--mra-green-soft),
      0 0 24px rgba(59, 130, 246, 0.25) !important;
    outline: none !important;
  }

  .login-content label.fld {
    color: var(--gold);
    font-weight: 600;
  }

  /* Botão WOW PREMIUM */
  .btn-wow {
    background: linear-gradient(135deg, var(--mra-green) 0%, #2563eb 40%, var(--gold) 100%) !important;
    background-size: 200% 200% !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 15px 18px !important;
    font-size: 14px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow:
      0 6px 20px rgba(59, 130, 246, 0.4),
      0 0 32px rgba(59, 130, 246, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    animation: btn-gradient-shift 4s ease infinite;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px !important;
  }
  @keyframes btn-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  .btn-wow:hover {
    transform: translateY(-3px);
    box-shadow:
      0 12px 36px rgba(59, 130, 246, 0.55),
      0 0 48px rgba(212, 160, 74, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    filter: brightness(1.1);
  }
  .btn-wow:active { transform: translateY(-1px); }
  .btn-wow svg { transition: transform 0.25s ease; }
  .btn-wow:hover svg { transform: translateX(6px); }
  .btn-wow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
  }
  .btn-wow:hover::before { left: 100%; }

  .login-help {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.02em;
  }
  .login-help a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
  .login-help a:hover { color: var(--gold-hover); }

  .login-footer-mark {
    text-align: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .login-footer-mark span { color: var(--gold); }

  @media (max-width: 520px) {
    .login-card { max-width: 100%; }
    .login-brand { padding: 36px 24px 20px; }
    .login-content { padding: 20px 28px 24px; }
    .login-brand-logo { width: 110px; height: 110px; }
    .login-brand-logo img { width: 72px !important; height: 72px !important; }
    .login-brand-title { font-size: 44px !important; }
  }
