/* ===== Login Page ===== */
.login-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.login-card-header {
    background: var(--negro);
    padding: 30px 40px;
    text-align: center;
}

.login-card-header img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.login-card-header h2 {
    color: var(--blanco);
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-card-body {
    padding: 35px 40px 40px;
}

.login-input-group {
    position: relative;
    margin-bottom: 22px;
}

.login-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
}

.login-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.login-input-wrapper input:focus {
    border-color: var(--amarillo);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.15);
}

.login-input-wrapper input:focus + i,
.login-input-wrapper input:focus ~ i {
    color: #333;
}

.login-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.login-remember {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: var(--amarillo);
    cursor: pointer;
}

.login-remember label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.login-btn {
    width: 100%;
    padding: 13px;
    background: var(--amarillo);
    color: var(--negro);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.login-btn:hover {
    background: #e6e600;
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.4);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-links a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: var(--negro);
    text-decoration: underline;
}

.login-links a i {
    margin-right: 4px;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .login-section {
        padding: 20px 15px;
    }

    .login-card-header {
        padding: 25px 25px;
    }

    .login-card-body {
        padding: 25px 25px 30px;
    }

    .login-card-header h2 {
        font-size: 18px;
    }

    .login-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
