/* Login Page Styles */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    margin: 0;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.form-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 1rem;
}

.form-signin {
    width: 100%;
}

.form-signin img {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
    filter: brightness(0) invert(1);
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="text"],
.form-signin input[type="password"],
.form-signin input[type="email"] {
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 18px;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-signin input[type="text"]:focus,
.form-signin input[type="password"]:focus,
.form-signin input[type="email"]:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-signin input[type="text"]::placeholder,
.form-signin input[type="password"]::placeholder,
.form-signin input[type="email"]::placeholder {
    color: #999;
}

.form-signin h1 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-signin .btn-primary {
    background: rgba(90, 14, 143, 0.9);
    border: none;
    padding: 14px;
    font-weight: 600;
    margin-top: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-signin .btn-primary:hover {
    background: rgba(65, 6, 114, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logout-label {
    color: #fff;
    font-size: 12px; /* Tamaño de fuente reducido */
    text-align: center;
}

.change-recovery-password-container {
    display: flex;
    flex-direction: row;
    justify-content: center;  
    align-items: center;     
    gap: 8px;              
    width: 100%;
    padding: 0;
    margin-top: 1.5rem;
    box-sizing: border-box;   
}

.change-recovery-password-container .btn {
    flex: 1;                
    min-width: 120px;
    max-width: 160px;       
    margin: 0;             
    white-space: nowrap;      
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.change-recovery-password-container .btn:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

.btn-gray {
    background: rgba(0, 0, 0, 0.25);
    border: none;
    color: white;
}

.btn-gray:hover {
    background: rgba(0, 0, 0, 0.4);
}

#recovery-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#recovery-form .form-label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

#recovery-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
}

#recovery-form .form-control:focus {
    border-color: #7512BA;
    box-shadow: 0 0 0 0.2rem rgba(117, 18, 186, 0.25);
}

.powered-by {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.powered-by img {
    opacity: 0.95;
    margin-bottom: 0.3rem;
    filter: brightness(0) invert(1);
}

.powered-by p {
    margin: 0;
    font-weight: 400;
    font-size: 0.75rem;
}