/* CLINIC-SCOPE: module:UILogin */
/* Tách từ khối <style> trong Views/Login/Login.cshtml (01/10/2026). Nạp bằng <link> đặt ĐÚNG vị trí khối cũ để thứ tự ưu tiên không đổi. */
/* Reset & Cấu trúc chính */
#divBody {
    width: 100% !important;
    height: 100vh !important;
    padding: 0 !important;
}

#divBodyLogin {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header hiện đại */
.header {
    padding: 15px 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 10;
}

.logo {
    height: 60px;
    width: 82px;
    object-fit: contain;
}

.header-text {
    min-width: 0;
    margin-left: 20px;
}

.company-name {
    font-weight: 800;        
    font-size: 32px;
    color: #002D62;
    margin: 0;
    text-transform: uppercase;
}

.solution-name {
    /* font-size: 20px; */
    color: #990000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Vùng chứa ảnh và Form */
.main-content {
    flex-grow: 1;
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Glassmorphism Form */
.glass-login-card {
    position: relative;
    z-index: 2;
    width: 380px;
    box-sizing: border-box;
    padding: 0px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius, 2px);
    /* đổ bóng mạnh hơn */
    box-shadow: 0 10px 40px rgba(0,0,0,0.45), 0 0 20px rgba(0, 102, 255, 0.18);
    color: white;
}

    .glass-login-card h3 {
        text-align: center;
        margin-bottom: 10px;
        font-weight: 800;
        font-size: var(--fs-2xl, 24px);
        letter-spacing: 1px;
        color: var(--btn-on, #fff);
        text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 12px rgba(255,255,255,0.15);
        padding:18px 30px;
        border-bottom: 1px solid var(--pal-neutral-500, #777)
    }

/* Input Style */
.input-group {
    margin-bottom: 10px;
    padding:5px 30px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-size: var(--fs-lg, 16px);
        font-weight: 600;
        color: rgba(255,255,255,0.92);
    }

.glass-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius, 2px);
    box-sizing: border-box;
    font-size: var(--fs-lg, 16px);
    font-weight: 500;
    color: #111;
    transition: 0.3s;
}

    .glass-input::placeholder {
        color: var(--pal-neutral-500, #777);
    }

    .glass-input:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.3);
    }

/* Button & Checkbox */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding:15px 30px;
    border-top:1px solid var(--pal-neutral-500, #777)
}

.btn-login {
    background: linear-gradient(135deg,#0066ff,#0047b3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius, 2px);
    font-weight: 700;
    font-size: var(--fs-lg, 16px);
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 6px 18px rgba(0,102,255,0.35);
}

    .btn-login:hover {
        background: linear-gradient(135deg,#1a75ff,#0052cc);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,102,255,0.45);
    }

    .btn-login:hover {
        background: linear-gradient(135deg,#1a75ff,#0052cc);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,102,255,0.45);
    }

/* Custom Checkbox white version for dark background */
.checkbox-wrapper label {
    color: white !important;
    font-size: 13px;
}

    .checkbox-wrapper label::before {
        border-color: rgba(255,255,255,0.5) !important;
    }

@media (max-width: 600px) {
    .header {
        width: 100%;
        min-height: 100px;
        padding: 10px 14px;
        box-sizing: border-box;
        gap: 10px;
    }

    .logo {
        width: 62px;
        height: 54px;
        flex: 0 0 62px;
    }

    .header-text {
        margin-left: 0;
    }

    .company-name {
        font-size: 20px;
    }

    .solution-name {
        margin-top: 2px;
        font-size: var(--fs-2xl, 24px);
        line-height: 1.15;
        letter-spacing: 1px;
        overflow-wrap: anywhere;
    }

    .main-content {
        width: 100vw;
    }

    .glass-login-card {
        width: calc(100vw - 24px);
    }

    .glass-login-card h3 {
        padding: 16px 8px;
        font-size: var(--fs-2xl, 24px);
        white-space: nowrap;
    }

    .input-group {
        padding: 5px 22px;
    }

    .action-row {
        padding: 14px 22px;
    }
}
