﻿/* ==========================================================================
   SpyBug — LOGIN PAGE
   Tema claro + accent preto
   ========================================================================== */

html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.main-content {
    overflow-x: hidden !important;
}

html, body {
    height: 100vh !important;
    min-height: unset !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

body.login-page {
    --login-ink: #0F172A;
    --login-muted: #64748B;
    --login-line: rgba(15, 23, 42, 0.08);
    --login-panel: rgba(255, 255, 255, 0.82);
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0, 0, 0, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(0, 0, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 90%, rgba(0, 0, 0, 0.08) 0%, transparent 45%),
        linear-gradient(165deg, #F8FAFC 0%, #F1F5F9 45%, #F4F4F5 100%) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    color: var(--login-ink) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    position: relative !important;
}

body.login-page .background-overlay {
    display: none;
}

/* Atmosfera */
.login-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: loginOrbFloat 14s ease-in-out infinite;
}

.login-orb-a {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    top: -12%;
    right: -8%;
    background: rgba(0, 0, 0, 0.35);
}

.login-orb-b {
    width: min(42vw, 360px);
    height: min(42vw, 360px);
    bottom: -10%;
    left: -10%;
    background: rgba(94, 196, 0, 0.22);
    animation-delay: -6s;
}

.login-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: 0.7;
}

@keyframes loginOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 18px, 0) scale(1.06); }
}

/* =============
   LOGIN PAGE LAYOUT
   ============= */
.main-content {
    padding: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

.login-container {
    max-width: 440px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: var(--spacing-md);
    max-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* =============
   LOGIN CARD
   ============= */
.login-card {
    animation: fadeInUpSmall 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-sizing: border-box;
    will-change: transform, opacity;
    background: var(--login-panel);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 24px 48px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.08);
    position: relative;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, #111111, #000000, transparent);
    opacity: 0.9;
}

.login-header {
    text-align: center;
    margin-bottom: 1.35rem;
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.65rem;
    animation: loginLogoIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-logo {
    display: block;
    max-width: min(112px, 36vw);
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.login-brand {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: clamp(1.85rem, 5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--login-ink);
    margin: 0 0 0.55rem;
}

.login-header h1 {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: clamp(1.15rem, 3.2vw, 1.35rem);
    font-weight: 600;
    color: var(--login-ink);
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    line-height: 1.25;
    background: none;
    -webkit-text-fill-color: unset;
}

.login-subtitle,
.login-header p.login-subtitle {
    color: var(--login-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
}

.login-header p:not(.login-brand):not(.login-subtitle) {
    color: var(--login-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Alerts */
.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-top: 0.9rem;
    text-align: left;
}

.login-header .login-alert {
    margin-bottom: 0;
}

.login-form + .login-alert,
.login-alert-error {
    margin-top: 0;
    margin-bottom: 1rem;
}

.login-alert i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.login-alert-warn {
    color: #92400E;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.login-alert-error {
    color: #991B1B;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

@keyframes loginLogoIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============
   LOGIN FORM SPECIFIC
   ============= */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form .form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.login-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-form .input-wrapper i:first-child {
    position: absolute;
    left: var(--spacing-md);
    color: #94A3B8;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s ease;
}

.login-form .input-wrapper:focus-within i:first-child {
    color: #000000;
}

.login-form .form-input {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 2.75rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    color: var(--login-ink, #0F172A);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-form .form-input::placeholder {
    color: #94A3B8;
}

.login-form .form-input:focus {
    outline: none;
    border-color: #111111;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}

/* Toggle Password - CORRIGIDO */
.login-form .toggle-password {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 3;
    transition: color var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.login-form .toggle-password:hover {
    color: var(--primary-gold);
    background-color: rgba(0, 0, 0, 0.1);
}

.login-form .toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: var(--spacing-sm) 0;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

@media (max-width: 768px) {
    .form-options {
        flex-wrap: nowrap;
    }
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
    white-space: nowrap;
}

.remember-me input[type="checkbox"] {
    display: none;
}

body.login-page .checkbox-wrapper {
    color: #475569;
    font-weight: 500;
}

body.login-page .checkmark {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
}

body.login-page .checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #111111;
    border-color: #000000;
}

.forgot-password {
    color: #111111;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.forgot-password:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-btn {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border: none;
    padding: 0.95rem 1.5rem;
    border-radius: 14px;
    color: #FFFFFF;
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    min-height: 52px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.login-btn i {
    transition: transform 0.2s ease;
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
    filter: brightness(1.02);
}

.login-btn:hover:not(:disabled) i {
    transform: translateX(3px);
}

.login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =============
   SIGNUP LINK
   ============= */
.signup-link {
    text-align: center;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--login-line, rgba(15, 23, 42, 0.08));
}

.signup-link p {
    color: var(--login-muted, #64748B);
    line-height: 1.5;
    font-size: 0.92rem;
    margin: 0;
}

.signup-link a {
    color: #111111;
    text-decoration: none;
    font-weight: 700;
}

.signup-link a:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =============
   PROMOTIONAL BANNER SPECIFIC
   ============= */
.promo-banner {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* =============
   ENHANCED INPUT EFFECTS
   ============= */
.input-wrapper {
    transition: all var(--transition-normal);
}

.login-form .input-wrapper:focus-within {
    transform: none;
    box-shadow: none;
}

/* =============
   PARTICLES ANIMATION
   ============= */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =============
   TYPEWRITER EFFECT
   ============= */
.typewriter-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-gold);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-cursor 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-gold); }
}

/* =============
   LOADING STATES
   ============= */
.login-btn.loading {
    pointer-events: none;
}

.login-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: var(--spacing-sm);
}

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

/* =============
   FORM VALIDATION STATES
   ============= */
.form-input.error {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-input.success {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* =============
   NOTIFICATIONS
   ============= */
.notification {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--card-dark);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px var(--shadow-dark);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
}

.notification-close {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.notification-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.notification-success {
    border-color: var(--accent-green);
}

.notification-error {
    border-color: var(--accent-red);
}

.notification-info {
    border-color: var(--primary-gold);
}

/* =============
   RESPONSIVE DESIGN - MOBILE FIRST
   ============= */

/* Mobile - Otimizado para remover scroll */
@media (max-width: 768px) {
    html, body {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    .main-content {
        padding: 0 !important; /* REMOVE PADDING COMPLETAMENTE */
        height: 100vh !important; /* ALTURA EXATA DA VIEWPORT NO MOBILE */
        max-height: 100vh !important;
        overflow: hidden !important; /* REMOVE SCROLL DESNECESSÁRIO NO MOBILE */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    .login-container {
        padding: var(--spacing-sm); /* PADDING MÍNIMO */
        max-width: 100%;
        max-height: 100vh; /* ALTURA MÁXIMA DA VIEWPORT */
    }

    .login-card {
        padding: var(--spacing-xl); /* PADDING INTERNO AUMENTADO PARA XL */
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        min-height: 70vh; /* OCUPA 70% DA ALTURA DA VIEWPORT (30% A MAIS) */
        max-height: calc(100vh - 1rem); /* DESCONTAR PADDING DO CONTAINER */
        display: flex;
        flex-direction: column;
        justify-content: center; /* CENTRALIZA VERTICALMENTE O CONTEÚDO */
    }
    
    .login-header {
        margin-bottom: var(--spacing-lg); /* MARGEM AUMENTADA PARA APROVEITAR MAIS ALTURA */
    }
    
    .login-header h1 {
        font-size: calc(var(--font-size-2xl) * 1.8); /* AUMENTADO PARA +80% DO TAMANHO ORIGINAL */
        margin-bottom: var(--spacing-sm); /* MARGEM AJUSTADA */
        line-height: 1.2; /* ALTURA DE LINHA AJUSTADA */
        font-weight: 800; /* PESO DA FONTE MAIS FORTE */
    }
    
    .login-header p {
        font-size: calc(16px * 1.1); /* +10% DO TAMANHO ATUAL */
        margin-bottom: 0; /* REMOVE MARGEM EXTRA */
        line-height: 1.4; /* ALTURA DE LINHA MELHORADA */
    }
    
    .login-form {
        gap: var(--spacing-md); /* GAP AUMENTADO PARA APROVEITAR MAIS ALTURA */
    }
    
    .form-group {
        margin-bottom: 0; /* REMOVE MARGEM EXTRA */
    }
    
    /* ÍCONES INPUTS - MOBILE MELHORADO */
    .login-form .input-wrapper i:first-child {
        left: 16px; /* Mais espaço da borda */
        font-size: 16px; /* Tamanho adequado */
        color: var(--text-muted);
    }
    
    .login-form .form-input {
        padding: 16px 60px 16px 50px !important; /* PADDING AUMENTADO */
        font-size: calc(16px * 1.1) !important; /* +10% DO TAMANHO ATUAL */
        min-height: 52px; /* ALTURA AUMENTADA */
        border-radius: 12px; /* Bordas mais arredondadas */
        margin-bottom: 0; /* REMOVE MARGEM EXTRA */
    }
    
    .login-form .toggle-password {
        right: 16px; /* Mais espaço da borda */
        width: 40px;
        height: 40px;
        font-size: 16px; /* Tamanho adequado */
    }
    
    .form-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-xs); /* GAP REDUZIDO */
        flex-wrap: nowrap;
        margin: var(--spacing-xs) 0; /* MARGEM REDUZIDA */
    }
     
    .checkbox-wrapper {
        flex-shrink: 0;
        font-size: calc(13px * 1.1); /* +10% DO TAMANHO ATUAL */
    }
     
    .forgot-password {
        flex-shrink: 0;
        font-size: calc(13px * 1.1); /* +10% DO TAMANHO ATUAL */
    }
    
    .login-btn {
        padding: 16px var(--spacing-lg); /* PADDING VERTICAL AUMENTADO */
        font-size: calc(var(--font-size-sm) * 1.1); /* +10% DO TAMANHO ATUAL */
        min-height: 52px; /* ALTURA AUMENTADA */
        margin-top: var(--spacing-sm); /* MARGEM SUPERIOR AUMENTADA */
        font-weight: 600; /* PESO DA FONTE ADEQUADO */
    }
    
    .signup-link {
        margin-top: var(--spacing-lg); /* MARGEM AUMENTADA PARA APROVEITAR MAIS ALTURA */
        padding-top: var(--spacing-md); /* PADDING AUMENTADO */
    }
    
    .signup-link p {
        font-size: calc(var(--font-size-sm) * 1.1); /* +10% DO TAMANHO ATUAL */
        margin-bottom: 0; /* REMOVE MARGEM EXTRA */
        line-height: 1.5; /* ALTURA DE LINHA MELHORADA */
    }
}

/* Mobile Small - Ainda mais compacto */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        padding: 1.25rem 1.1rem 1.35rem;
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }
    
    .login-header {
        margin-bottom: 1rem;
    }

    .login-brand {
        font-size: 1.7rem;
    }

    .login-header h1 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
    }
    
    .login-subtitle,
    .login-header p.login-subtitle {
        font-size: 0.875rem;
        line-height: 1.35;
    }
    
    .login-form {
        gap: 12px; /* GAP MÍNIMO */
    }
    
    /* INPUTS AINDA MELHORES PARA TELAS PEQUENAS */
    .login-form .input-wrapper i:first-child {
        left: 12px; /* Ajuste fino */
        font-size: 15px;
    }
    
    .login-form .form-input {
        padding: 12px 50px 12px 40px !important; /* PADDING AINDA MENOR */
        font-size: 16px !important; /* Mantém 16px para evitar zoom */
        min-height: 44px; /* ALTURA AINDA MENOR */
    }
    
    .login-form .toggle-password {
        right: 12px; /* Ajuste fino */
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .form-options {
        gap: 4px; /* GAP MÍNIMO */
        margin: 8px 0; /* MARGEM MÍNIMA */
    }
     
    .checkbox-wrapper {
        font-size: 12px; /* FONTE AINDA MENOR */
        gap: 3px; /* GAP MÍNIMO */
    }
     
    .forgot-password {
        font-size: 12px; /* FONTE AINDA MENOR */
    }
    
    .login-btn {
        padding: 12px var(--spacing-md); /* PADDING AINDA MENOR */
        min-height: 44px; /* ALTURA AINDA MENOR */
        margin-top: 8px; /* MARGEM MÍNIMA */
    }
    
    .signup-link {
        margin-top: var(--spacing-sm); /* MARGEM AINDA MENOR */
        padding-top: 8px; /* PADDING MÍNIMO */
    }
}

/* =============
   HOVER EFFECTS E ANIMAÇÕES
   ============= */
.login-card:hover {
    transform: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 24px 48px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* Logo hover effect */
.logo:hover i {
    transform: rotate(360deg);
    color: var(--secondary-gold);
}

/* Staggered animations */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.login-btn { animation-delay: 0.4s; }
.signup-link { animation-delay: 0.5s; }

.form-group,
.login-btn,
.signup-link {
    animation: fadeInUpSmall 0.4s ease-out both;
    will-change: transform, opacity; /* Otimiza renderização */
}

/* Animação customizada mais suave para login */
@keyframes fadeInUpSmall {
    from {
        opacity: 0;
        transform: translateY(15px); /* REDUZIDO de 30px para 15px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============
   MODAL DE INFORMAÇÕES INICIAIS
   ============= */
.info-modal-content {
    max-width: 450px !important;
    width: 90% !important;
    max-height: 85vh !important;
    height: auto !important;
    overflow-y: auto;
}

.info-modal-content .modal-header {
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--card-dark);
    border-bottom: 1px solid rgba(30, 108, 203, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.info-modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.info-logo-img {
    max-width: min(200px, 70vw);
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.info-modal-content .modal-close {
    position: absolute;
    right: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-base);
    padding: var(--spacing-xs);
}

.info-modal-body {
    padding: var(--spacing-lg);
    text-align: center;
    overflow-y: auto;
}

.info-modal-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-modal-title {
    font-weight: 700;
    font-size: var(--font-size-lg);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    color: var(--text-light);
}

.info-modal-title .text-main {
    color: var(--primary-gold);
    font-weight: 700;
}

.info-modal-divider {
    width: 100%;
    height: 1px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-md) 0;
}

.info-step {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.info-step-content {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-sm);
}

.info-step-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: 4px;
    display: block;
}

.info-step-description {
    max-width: 95%;
    font-size: 13px;
    opacity: 0.5;
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
}

.info-modal-btn {
    width: 100%;
    font-weight: 700;
    margin-top: var(--spacing-sm);
    height: 48px;
    text-transform: uppercase;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--text-on-accent);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.info-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-gold);
    opacity: 0.9;
}

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

.info-alert {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: var(--radius-sm);
    text-align: left;
}

.info-alert-icon {
    flex: none;
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(243, 156, 18, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-alert-icon i {
    color: #f39c12;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-alert-content {
    flex: 1;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
    padding-left: var(--spacing-xs);
}

.info-alert-content p {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.3px;
    color: var(--text-light);
    margin: 0;
    text-align: left;
}

.second-step {
    margin-bottom: 0;
}

/* Responsive para o modal de informações */
@media (max-width: 768px) {
    .info-modal-content {
        width: 95% !important;
        max-width: 420px !important;
        max-height: 90vh !important;
    }
    
    .info-modal-body {
        padding: var(--spacing-md);
    }
    
    .info-modal-title {
        font-size: var(--font-size-base);
        line-height: 1.2;
    }
    
    .info-step-description {
        font-size: 12px;
    }
    
    .info-modal-btn {
        height: 44px;
        font-size: 12px;
    }
    
    .info-alert {
        padding: 8px;
    }
    
    .info-alert-content p {
        font-size: 10px;
        line-height: 13px;
    }
    
    .info-alert-icon {
        width: 24px;
        height: 24px;
    }
    
    .info-alert-icon i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .info-modal-content {
        width: 98% !important;
        max-width: 95% !important;
    }
    
    .info-modal-body {
        padding: var(--spacing-sm);
    }
    
    .info-modal-title {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .info-step-description {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .info-modal-btn {
        height: 42px;
        font-size: 11px;
    }
    
    .info-logo-img {
        max-width: min(160px, 65vw);
    }

    .login-logo {
        max-width: min(120px, 38vw);
    }
    
    .info-modal-divider {
        margin: var(--spacing-sm) 0;
    }
    
    .info-step {
        margin-bottom: var(--spacing-sm);
    }
}

/* ==========================================================================
   MODAL DE CADASTRO (REGISTRO)
   Estilos para o modal de cadastro de usuários
   ========================================================================== */

/* Animações para o modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal de Cadastro */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: var(--card-dark);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 25px 50px var(--shadow-dark),
        0 0 100px var(--shadow-gold);
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.3s ease;
}

.login-modal-header {
    background: linear-gradient(135deg, 
        rgba(30, 108, 203, 0.1) 0%, 
        rgba(59, 155, 237, 0.05) 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.login-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-gold), 
        transparent);
}

.login-modal-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.login-modal-close:hover {
    background: var(--primary-gold);
    color: var(--text-light);
    transform: rotate(90deg);
}

.login-modal-body {
    padding: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-gray);
    z-index: 1;
    pointer-events: none;
}

.form-input {
    width: 100%;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 1rem 1rem 1rem 3rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px var(--shadow-gold);
    background: rgba(0, 0, 0, 0.5);
}

.form-input::placeholder {
    color: var(--text-gray);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-gold);
    background-color: rgba(255, 215, 0, 0.1);
}

.login-status {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 1rem;
}

.status-message {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.login-submit-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.login-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-gold);
    background: linear-gradient(135deg, var(--secondary-gold), var(--primary-gold));
}

.login-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(61, 214, 117, 0.1);
}

.login-info {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.register-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

.btn-text {
    display: inline-block;
}

.btn-icon {
    display: inline-block;
}

/* Responsividade para Modal de Cadastro */
@media (max-width: 768px) {
    .login-modal-content {
        width: 95%;
        margin: 1rem;
        max-width: none;
    }
    
    .login-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .login-modal-title {
        font-size: 1.25rem;
    }
    
    .login-modal-body {
        padding: 1.5rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .login-submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
} 
