:root {
    --primary-color: #b01c1a;
    --primary-dark: ;
    --primary-soft: rgba(215, 34, 31, 0.1);
}
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/login-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}
.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.logo-subtitle {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 2px;
}
.form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}
.form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    transition: all 0.3s;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--primary-soft);
    background-color: #fff;
}
.input-group-text {
    background: transparent;
    border-left: none;
    cursor: pointer;
    border-radius: 0 12px 12px 0;
    padding-right: 15px;
}
.password-input {
    border-right: none;
}
.btn-login {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(215, 34, 31, 0.3);
}
.btn-login:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 34, 31, 0.4);
}
.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}
.forgot-password a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.forgot-password a:hover {
    color: var(--primary-color);
}
/* Responsive */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem;
        margin: 1rem;
    }
}


.recovery-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}
.icon-container {
    text-align: center;
    margin-bottom: 1.5rem;
}
.recovery-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: var(--primary-soft);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}
.card-title {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}
.card-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-recovery {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(215, 34, 31, 0.3);
}
.btn-recovery:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}
.back-to-login a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.back-to-login a:hover {
    text-decoration: underline;
}
#successMessage {
    display: none;
}
.success-animation {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.update-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.icon-container {
    text-align: center;
    margin-bottom: 1.5rem;
}
.update-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: var(--primary-soft);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}
.card-title {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}
.card-text {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.input-group-text {
    background: transparent;
    border-left: none;
    cursor: pointer;
    border-radius: 0 12px 12px 0;
    padding-right: 15px;
}
.password-input {
    border-right: none;
}
.btn-update {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(215, 34, 31, 0.3);
}