/* ==========================
   GLOBAL
========================== */

body{
    margin:0;
    padding:0;
    overflow:hidden;
    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    background:#f4f7fb;
}

.login-container{
    background:#f4f7fb;
}

/* ==========================
   LEFT PANEL
========================== */
.login-left{

    position:relative;

    background:
        linear-gradient(
            135deg,
            #081b45,
            #0f2f72,
            #0f5bcb
        );

    overflow:hidden;
}

.login-right{
    background:#f8fafc;
}

.login-form-wrapper{
    flex-direction:column;
}

/* ==========================
   BRAND
========================== */

.brand-logo{
    margin-bottom:10px;
}

.brand-logo img{
    width:300px;
}

.brand-wrapper{

    position:relative;
    z-index:2;

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

    margin:auto;

    padding:
        60px
        80px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#fff;
}

.hospital-preview{

    margin-top:30px;
}

.hospital-preview img{

    width:100%;

    max-width:600px;

    border-radius:20px;

    object-fit:cover;
}

.brand-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:999px;

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

    border:
        1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(20px);

    font-size:12px;

    letter-spacing:2px;

    text-transform:uppercase;
}

.brand-title{
    margin-top:30px;
    font-size:56px;
    font-weight:800;
    line-height:1;
    color:#fff;
}

.brand-description{
    margin-top:25px;
    font-size:18px;
    line-height:1.9;
    opacity:.9;
    max-width:560px;
    color:rgba(255,255,255,.88);
}

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

.feature-list{
    margin-top:35px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.feature-card{
    max-width:520px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    border-radius:16px;
    background:
        rgba(255,255,255,.08);
    border:
        1px solid rgba(255,255,255,.10);
    backdrop-filter:blur(15px);
}

.feature-icon{

    min-width:48px;
    width:48px;
    height:48px;

    border-radius:14px;

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

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

    font-size:20px;
}

.feature-card h6{

    margin:0;

    font-size:15px;

    font-weight:700;
}

.feature-card p{

    margin:4px 0 0;

    font-size:12px;

    opacity:.85;
}

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

.brand-footer{

    margin-top:40px;

    font-size:14px;

    opacity:.8;
}

.brand-footer span{

    color:#7dd3fc;

    font-weight:600;
}

/* ==========================
   RIGHT PANEL
========================== */

.login-form-wrapper{
    padding:40px;
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:30px;
}

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

.login-card{
    max-width:500px;
    width: 100%;
    padding:45px;
    border-radius:24px;
    background:white;
    border:
        1px solid #eef2f7;
    box-shadow:
        0 25px 80px rgba(15,23,42,.08);
}

.login-header{

    text-align:center;

    margin-bottom:35px;
}

.login-icon{

    width:80px;

    margin-bottom:15px;
}

.login-title{

    font-size:34px;

    font-weight:700;

    margin-bottom:8px;
}

.login-subtitle{

    color:#64748b;

    margin-bottom:0;
}

.security-footer{
    width:100%;
    max-width:500px;
    display:flex;
    justify-content:space-between;
    padding:0 10px;
    color:#64748b;
}

.security-item{

    display:flex;

    align-items:center;

    gap:8px;
}

.security-item i{

    color:#1677ff;
}

/* ==========================
   FORM
========================== */

.form-label{

    font-weight:600;

    color:#334155;
}

.input-group-text:first-child{
    border-radius:14px 0 0 14px;
}

.password-toggle{
    cursor:pointer;
    border-left:0;
    border-radius:0 14px 14px 0 !important;
    background:white;
}

.form-control{

    height:58px;

    border-radius:0 14px 14px 0;

    border-color:#e2e8f0;

    box-shadow:none;
}

.form-control:focus{

    border-color:#2563eb;

    box-shadow:none;
}

.form-check-label{

    color:#475569;
}

.forgot-link{

    text-decoration:none;

    color:#2563eb;

    font-size:14px;

    font-weight:600;
}

/* ==========================
   BUTTON
========================== */

.btn-login{

    height:58px;

    border:none;

    border-radius:14px;

    font-size:16px;

    font-weight:700;

    background:
    linear-gradient(
        90deg,
        #15d0c5,
        #1677ff
    );

    transition:.3s;
}

.btn-login:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 30px rgba(37,99,235,.25);
}

/* ==========================
   INFO
========================== */

.security-note{

    margin-top:25px;

    text-align:center;

    font-size:13px;

    color:#64748b;
}

.security-note i{

    color:#16a34a;
}

.version-info{

    margin-top:25px;

    text-align:center;

    font-size:13px;

    color:#94a3b8;
}

.curve-divider{
    position:absolute;

    top:0;
    right:-40px;

    width:80px;
    height:100%;

    background:#fff;

    border-left:4px solid #18d3c7;

    border-top-left-radius:60px;
    border-bottom-left-radius:60px;

    z-index:10;
}

.curve-divider::before{
    display:none;
}

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

@media(max-width:991px){

    body{
        overflow:auto;
    }

    .login-card{

        padding:35px;
        border-radius:24px;
    }

    .login-form-wrapper{

        min-height:100vh;
    }
}