body {
        background: linear-gradient(135deg, #89b4fa, #4f7ecf);
        min-height: 100vh;
        font-family: 'Segoe UI', sans-serif;
    }
body.login-page{
    background: linear-gradient(135deg, #8cb6ff, #5b8de3, #2f5fb3);
}
    .login-box {
        width: 420px;
    }

    .login-box .card{
    border-radius: 25px;
    border: none;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 20px 45px rgba(0,0,0,0.20);
    overflow: visible;
}

    .card {
        border: none;
        border-radius: 20px;
        background: rgba(255,255,255,0.95);
        box-shadow: 0 10px 35px rgba(0,0,0,0.25);
        overflow: visible;
        animation: aparecer .6s ease;
    }

   /* TITULO */
.card-header{
    background: transparent;
    border-bottom: none;
    padding-top: 10px;
}

.card-header a{
    font-size: 38px;
    font-weight: 700;
}

    /* LOGO */
.login-logo img{
    width: 410px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1px;
}

    .login-box-msg {
        font-size: 1rem;
        color: #555;
        margin-bottom: 10px;
    }

    .input-group {
        margin-bottom: 15px;
    }

   .form-control{
    height: 62px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    font-size: 20px;
    padding-left: 20px;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 4px rgba(13,110,253,0.15);
    }

.input-group-text{
    border-radius: 0 15px 15px 0;
    background: #0d6efd;
    color: white;
    border: none;
    width: 55px;
    justify-content: center;
}

/* BOTON */
.btn-login{
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg,#1e6fff,#0047b3);
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: .3s;
}

.btn-login:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,253,.4);
}

 /* LINK */
.forgot-link{
    display: block;
    text-align: center;
    margin-top: 1px;
    font-size: 16px;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

    .version {
        font-size: 12px;
        color: #999;
        margin-top: 15px;
    }

    @media(max-width: 500px){
        .login-box{
            width: 95%;
        }
    }

.modal{
    z-index: 99999 !important;
}

.modal-backdrop{
    z-index: 99998 !important;
}

.modal-content{
    border-radius: 15px;
    z-index: 999999 !important;
}

.modal-dialog{
    z-index: 999999 !important;
}

.btnProcesar{
    background: linear-gradient(135deg,#1e6fff,#0047b3);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all .3s ease;
    min-width: 130px;
}

.btnProcesar:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,253,.35);
}

.btnProcesar:focus{
    outline: none;
    box-shadow: 0 0 0 4px rgba(13,110,253,.20);
}

.empresas-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

/* ALERTA */
.empresas-grid .alert{
    grid-column: 1 / -1;
    margin-bottom: 5px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.empresas-grid form{
    margin:0;
    width:100%;
}

.btnEmpresa{
    width:100%;
    height:75px;

    border:none;
    border-radius:18px;

    background:linear-gradient(135deg,#1f6fff,#0047b3);

    color:#fff;
    font-size:17px;
    font-weight:600;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    transition:.3s;
}

.btnEmpresa:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(13,110,253,.35);
}