/* ==========================================================================
   INDEX.CSS
   Estilos da Página de Login - Baseado no design original aprovado.
   ========================================================================== */

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    /* Fundo gerenciado pelo style-global.css (.background) */
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
}

/* Card de Vidro */
.glass-card {
    background: rgba(15, 12, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Faixa Colorida Superior */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #B8860B, #DAA520, #FFBF00); /* Gold Dark -> Gold -> Amber */
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 280px;
    height: auto;
    max-height: 220px;
    margin: 0 auto 15px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.05);
}

.login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fdfaf0; /* --text-primary */
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: rgba(253, 250, 240, 0.4); /* --text-muted */
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #DAA520; /* --gold */
    margin-bottom: 8px;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #DAA520;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(218, 165, 32, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(218, 165, 32, 0.4);
    filter: brightness(1.1);
}

.error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ff8888;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    display: none;
}

.site-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(253, 250, 240, 0.4);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    z-index: 5;
}

/* Animação Shake para erro */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
