﻿:root {
    --primary-color: #ee4361;
    --primary-dark: #d43a56;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --card-bg: rgba(238, 67, 97, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url('../../../Imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 0;
    }

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 0 15px;
}

.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

#txtUsuario, #txtContrasenia {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

    #txtUsuario:focus, #txtContrasenia:focus {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
        color: var(--text-light);
    }

    #txtUsuario::placeholder, #txtContrasenia::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

.password-toggle {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

#checkVerOcultar {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    #checkVerOcultar:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

#checkVerOcultar {
    color: var(--text-light);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

#btn-login {
    background-color: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    #btn-login:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

.input-group {
    position: relative;
}

@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
}
