/* public_html/assets/css/login.css */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Degradado oscuro, elegante y muy de SaaS moderno */
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    /* Efecto Glassmorphism (Cristal) */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 45px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    color: #1a252f;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 15px;
    margin-top: 8px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #dcdde1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

/* Espacio extra a la derecha para que el texto no pise el ojito */
.form-group input[type="password"],
.form-group input[type="text"] {
    padding-right: 45px;
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    outline: none;
    background-color: #ffffff;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #95a5a6;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #3498db;
}

.toggle-password:focus {
    outline: none;
}

.toggle-password svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: box-shadow 0.3s, transform 0.1s;
    margin-top: 10px;
}

.btn-submit:hover {
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-submit:active {
    transform: translateY(2px);
}

.error-message {
    background-color: #fdeaea;
    color: #e74c3c;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid #fadbd8;
    font-size: 14px;
    font-weight: 500;
}