/*
 * style_RedefinirSenha.css - Estilos exclusivos para redefinição de senha
 * GaragemGMC 2026
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.redefinir-body {
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 20px;
}

.reset-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reset-card {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 110, 16, 0.3);
    padding: 40px 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.reset-header {
    margin-bottom: 30px;
}

.reset-logo {
    margin-bottom: 20px;
}

.reset-logo img {
    max-width: 140px;
    height: auto;
}

.reset-title {
    color: #d4a11e;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.reset-subtitle {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Alertas */
.alert-gmc {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-gmc.success {
    background: rgba(40, 167, 69, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
    border-left: 4px solid #2ecc71;
}

.alert-gmc.error {
    background: rgba(220, 53, 69, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-left: 4px solid #e74c3c;
}

.alert-gmc i {
    font-size: 1.2rem;
}

.alert-gmc strong {
    display: block;
    margin-bottom: 5px;
}

/* Formulário */
.reset-form {
    width: 100%;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label i {
    color: #d4a11e;
    margin-right: 8px;
    width: 18px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #0a0a0a;
    border: 1.5px solid #222;
    color: #fff;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #d4a11e;
    outline: none;
    background: #111;
    box-shadow: 0 0 0 3px rgba(212, 161, 30, 0.1);
}

.form-group input::placeholder {
    color: #555;
}

.senha-dica {
    display: block;
    color: #666;
    font-size: 0.7rem;
    margin-top: 5px;
}

/* Força da senha */
.senha-forca {
    margin-top: 5px;
}

.forca-bar {
    height: 4px;
    width: 0%;
    background: #dc3545;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.forca-texto {
    font-size: 0.7rem;
    margin-top: 5px;
    color: #666;
}

/* Botões */
.btn-gmc-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #946e10, #d4a11e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-gmc-primary:hover {
    background: linear-gradient(135deg, #7a5a0e, #b88a1a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(148, 110, 16, 0.3);
}

.btn-gmc-primary:active {
    transform: translateY(0);
}

.btn-gmc-secondary {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: #d4a11e;
    border: 1px solid rgba(148, 110, 16, 0.5);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-gmc-secondary:hover {
    background: #252525;
    border-color: #d4a11e;
}

.btn-gmc-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #888;
    border: 1px solid #333;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-gmc-outline:hover {
    background: #1a1a1a;
    color: #d4a11e;
    border-color: #d4a11e;
}

.reset-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.reset-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.reset-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reset-link:hover {
    color: #d4a11e;
    gap: 12px;
}

/* Footer na página de redefinição */
body.redefinir-body footer {
    background: transparent !important;
    border-top: 1px solid rgba(148, 110, 16, 0.3) !important;
    color: #946e10 !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 12px !important;
    font-size: 0.7rem;
    text-align: center;
    z-index: 10;
}

body.redefinir-body footer span {
    color: #946e10 !important;
}

body.redefinir-body footer span:first-child {
    color: #d4a11e !important;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 550px) {
    body.redefinir-body {
        padding: 15px;
    }
    
    .reset-card {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .reset-title {
        font-size: 1.3rem;
    }
    
    .reset-subtitle {
        font-size: 0.75rem;
    }
    
    .reset-logo img {
        max-width: 110px;
    }
    
    .btn-gmc-primary {
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
    
    body.redefinir-body footer {
        position: relative;
        margin-top: 30px;
        padding: 10px !important;
    }
}

@media (max-width: 380px) {
    .reset-card {
        padding: 20px 15px;
    }
    
    .reset-title {
        font-size: 1.1rem;
    }
    
    .btn-gmc-primary {
        padding: 10px;
    }
}