body{
    margin:0;
    color:#fff;

    background-image:url("/img/logo3.jpeg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    background-attachment:fixed;

    min-height:100vh;
}

/*==========================
  HEADER
==========================*/

.header{
    padding:20px 60px;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-text{
    font-family:"Playfair Display", serif;
    font-style:italic;
    font-weight:900;
    font-size:2rem;
    color:#fff;
    text-decoration:none;
}

.logo-text:hover{
    color:#fff;
    text-decoration:none;
}

.header-nav{
    display:flex;
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

.header-nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.header-nav a:hover{
    color:#ff7a1a;
}

/*==========================
  LOGIN
==========================*/

.login-box{
    width:100%;
    max-width:580px;

    margin:-60px auto 0;

    padding:40px;

    text-align:center;

    background:rgba(8,12,15,.80);
    backdrop-filter:blur(10px);

    border:2px solid rgba(255,120,0,.65);
    border-radius:24px;

    box-shadow:
        0 0 35px rgba(255,120,0,.18),
        inset 0 0 20px rgba(255,120,0,.05);
}

.logo{
    width:380px;
    height:260px;

    margin:0 auto;
    padding:0;

    background:url("/img/logo2.jpg") center center / contain no-repeat;
}

.sistema-texto{

    margin-top:8px;

    font-size:1rem;

    font-weight:700;

    color:#ffffff;

}

.login-title{

    margin-top:25px;

    margin-bottom:8px;

    font-size:2rem;

    font-weight:700;

}

.login-subtitle{

    color:#d8d8d8;

    font-size:1rem;

}

.linea-login{

    width:65px;

    height:4px;

    background:#ff6a00;

    border-radius:50px;

    margin:18px auto 20px;

}

/*==========================
  INPUTS
==========================*/

.form-control{

    background:#12191d;

    border:1px solid #30373d;

    color:#fff;

    border-radius:12px;

    height:55px;

}

.form-control::placeholder{

    color:#8f989f;

}

.form-control:focus{

    background:#12191d;

    color:#fff;

    border-color:#ff6a00;

    box-shadow:0 0 12px rgba(255,106,0,.30);

}

/*==========================
  BOTON
==========================*/

.btn-login{

    width:100%;

    margin-top:20px;

    height:56px;

    border:none;

    border-radius:12px;

    background:linear-gradient(90deg,#ff6200,#ff7a1a);

    color:#fff;

    font-size:1.1rem;

    font-weight:700;

    transition:.25s;

}

.btn-login:hover{

    transform:translateY(-2px);

    background:linear-gradient(90deg,#ff7a1a,#ff9448);

}

.btn-login i{

    margin-right:8px;

}

/*==========================
  FOOTER
==========================*/

.footer{

    display:none;

}

.login-links{

    margin-top:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}

.login-links a{

    color:#d9d9d9;

    text-decoration:none;

    font-size:.95rem;

    font-weight:600;

    transition:.25s;

}

.login-links a:hover{

    color:#ff7a1a;

}

.login-links i{

    margin-right:6px;

}

.separator{

    color:#666;

}

/*==========================
  FEATURES
==========================*/

.features-bar{

    margin:30px auto 0;

    width:100%;
    max-width:900px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 10px;

    border-top:1px solid rgba(255,255,255,.08);

    background:rgba(8,12,15,.45);

    backdrop-filter:blur(6px);

    border-radius:14px;

}

.feature-item{

    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:12px;

    padding:0 20px;

    border-right:1px solid rgba(255,255,255,.12);

}

.feature-item:last-child{

    border-right:none;

}

.feature-item i{

    font-size:2rem;

    color:#ff6a00;

}

.feature-item h6{

    margin:0;

    font-size:.9rem;

    font-weight:700;

    color:#fff;

}

.feature-item span{

    display:block;

    font-size:.8rem;

    color:#bdbdbd;

}

/*==========================
 FOOTER OPENHAI
==========================*/

.footer-openhai{

    width:100%;

    min-height:85px;

    background:rgba(5,12,15,.90);

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:15px 70px;

    color:#fff;

  

}


/* marca */

.footer-logo{

    font-family:"Playfair Display",serif;

    font-style:italic;

    font-size:1.4rem;

    font-weight:900;

    color:#fff;

}


.footer-logo span{

    color:#ff6200;

}


.footer-logo b{

    font-family:Arial,sans-serif;

    font-size:.9rem;

    color:#ff6200;

}


.footer-desc{

    margin-top:5px;

    color:#a7a7a7;

    font-size:.75rem;

}



/* hospital */

.footer-hospital{

    display:flex;

    align-items:center;

    gap:20px;

}


.hospital-icon{

    color:#ff6200;

    font-size:3rem;

}


.footer-hospital h5{

    margin:0;

    font-size:1.1rem;

    font-weight:700;

}


.footer-hospital p{

    margin:0;

    color:#aaa;

}



/* powered */

.footer-powered{

    color:#aaa;

    font-size:.85rem;

}


.footer-powered p{

    margin:5px 0;

}


.footer-powered strong{

    color:#fff;

}


.footer-powered span{

    color:#ff6200;

}



/* separador */

.footer-divider{

    height:45px;

    width:1px;

    background:rgba(255,255,255,.15);

}



/* seguridad */

.footer-security{

    display:flex;

    align-items:center;

    gap:12px;

    color:#ff6200;

    font-weight:600;

}


.footer-security i{

    font-size:1.4rem;

}

.footer-security{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:8px;

    color:#ff6200;

    font-weight:600;

    font-size:.85rem;

}

/* responsive */

@media(max-width:768px){

    .footer-openhai{

        flex-direction:column;

        gap:20px;

        text-align:center;

        padding:25px;

    }


    .footer-divider{

        width:80%;

        height:1px;

    }

}

/* Responsive */

@media(max-width:768px){

    .features-bar{

        flex-direction:column;

        gap:20px;

        padding:20px;

    }

    .feature-item{

        width:100%;

        justify-content:flex-start;

        border-right:none;

        border-bottom:1px solid rgba(255,255,255,.12);

        padding-bottom:15px;

    }

    .feature-item:last-child{

        border-bottom:none;

    }

}

/*==========================
  RESPONSIVE
==========================*/

@media(max-width:768px){

    .header{

        padding:20px;

    }

    .header-inner{

        flex-direction:column;

        gap:15px;

    }

    .login-box{

        margin:20px;

        padding:30px 20px;

    }

    .logo{

        width:140px;
        height:140px;

    }

    .login-title{

        font-size:1.6rem;

    }

}

.alert-danger{

    background:rgba(220,53,69,.12);

    border:1px solid rgba(220,53,69,.35);

    color:#fff;

    border-radius:12px;

    padding:12px 16px;

    text-align:left;

    font-weight:500;

}

.alert-danger i{

    color:#ff6b6b;

}

.desarrolladores {
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
}
.cirugia-emergencia-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cirugia-emergencia-link:hover {
    color: #ff7900;
}


/* =========================================
   CAMPO DE CONTRASEÑA CON BOTÓN VER/OCULTAR
   ========================================= */

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    padding: 0;

    border: none;
    background: transparent;
    color: #6c757d;

    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
}

.password-toggle:hover {
    color: #0d6efd;
}

.password-toggle:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 4px;
}

.password-toggle i {
    pointer-events: none;
}
