﻿body.fondo {
    background-image: url('../resources/Fondo.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card, .modal-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px 30px;
    max-width: 500px;
    min-width: 400px;
    width: 100%;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin: auto;
}

    .login-card:hover, .modal-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 35px rgba(0,0,0,0.35);
    }

.form-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.25);
    padding: 12px 14px 12px 40px;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.25s ease;
}

    .form-control:focus {
        background: rgba(255,255,255,1);
        border-color: #0d6efd;
        box-shadow: 0 0 10px rgba(13,110,253,0.35);
        outline: none;
    }

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        left: 12px;
        top: 65%;
        transform: translateY(-50%);
        color: #0d6efd;
        font-size: 20px;
    }

.btn-glass {
    background: rgba(0,123,255,0.85);
    color: #fff;
    border: 1px solid rgba(0,123,255,1);
    padding: 12px 22px;
    border-radius: 16px;
    font-weight: 600;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .btn-glass:hover {
        background: rgba(0,105,230,0.95);
        box-shadow: 0 6px 20px rgba(0,105,230,0.5);
        transform: translateY(-2px);
    }

.btn-glass-outline {
    border: 2px solid rgba(0,102,255,0.65);
    color: #0044aa;
    background: rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 12px 22px;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .btn-glass-outline:hover {
        background: rgba(255,255,255,0.85);
        border-color: rgba(0,102,255,0.9);
        transform: translateY(-2px);
    }

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .login-card, .modal-card {
        padding: 25px 20px;
    }

    .form-control {
        padding-left: 38px;
    }
}

.alert-small {
    font-size: 0.85rem;
}

.modal-scroll {
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .modal-scroll {
        max-height: 85vh;
        padding: 15px;
    }
}
