*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
    background: #091e36;
    overflow-x: hidden;
}

.login-universe {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: #0b223d url("../img/loginmedBG.jpg") no-repeat center center;
    background-size: cover;
}

.login-universe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(318deg, rgba(6, 21, 40, 0.90) 0%, rgba(10, 42, 70, 0.82) 50%, rgb(25 74 131 / 92%) 100%);
    z-index: 1;
}

.top-eyebrow {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    text-align: center;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 20px;
    border-radius: 30px;
    color: #e0f2fe;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.eyebrow-pill .pulse-indicator {
    width: 7px;
    height: 7px;
    background-color: #38bdf8;
    border-radius: 50%;
}

.eyebrow-pill strong {
    color: #38bdf8;
}

.glass-login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    overflow: hidden;
}

.card-left-brand {
    flex: 0 0 42%;
    background: linear-gradient(160deg, #091e38 0%, #0b395c 60%, #075985 100%);
    color: #ffffff;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-section-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-tag-pharma {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.brand-logo-frame {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 18px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.brand-logo-frame img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.brand-company-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 6px;
}

.brand-company-subtitle {
    font-size: 11.5px;
    font-weight: 600;
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
}

/* Feature list */
.brand-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.brand-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    border-radius: 8px;
}

.brand-feature-item i {
    color: #38bdf8;
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.brand-section-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.facility-meta {
    font-size: 11.5px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.facility-meta i {
    color: #38bdf8;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ------------------------------------------------ */
/* RIGHT COLUMN: Fast Authentication Form Pane      */
/* ------------------------------------------------ */
.card-right-form {
    flex: 0 0 58%;
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.form-body-wrap {
    width: 100%;
    margin: auto 0;
}

.form-header-box {
    margin-bottom: 24px;
}

.form-header-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.form-header-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Alert Notification */
.alert-error-box {
    background: #fff1f2;
    border-left: 4px solid #f43f5e;
    border-radius: 8px;
    padding: 10px 14px;
    color: #9f1239;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

/* Form Groups & Inputs */
.form-input-group {
    margin-bottom: 18px;
}

.form-input-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container .input-lead-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.input-container .custom-input {
    width: 100%;
    height: 46px;
    padding: 10px 14px 10px 42px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}

.input-container .custom-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.input-container .custom-input:focus {
    background-color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.input-container .custom-input:focus~.input-lead-icon {
    color: #0284c7;
}

/* Password Toggle Button */
.password-toggle-trigger {
    position: absolute;
    right: 12px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.password-toggle-trigger:hover {
    color: #0284c7;
}

.input-feedback {
    color: #e11d48;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Submit Button */
.btn-submit-action {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 8px 18px -4px rgba(2, 132, 199, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.btn-submit-action:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0f766e 100%);
    box-shadow: 0 10px 22px -4px rgba(2, 132, 199, 0.55);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-submit-action:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px -2px rgba(2, 132, 199, 0.3);
}

/* Right Section Footer */
.card-right-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    font-size: 11.5px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

.security-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 600;
}

.security-seal i {
    color: #10b981;
}

@media (max-width: 860px) {
    .glass-login-card {
        flex-direction: column;
        max-width: 460px;
    }

    .card-left-brand {
        flex: 1 1 auto;
        padding: 30px 24px;
    }

    .card-right-form {
        flex: 1 1 auto;
        padding: 30px 24px;
    }

    .brand-feature-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-universe {
        padding: 15px 10px;
    }

    .eyebrow-pill {
        font-size: 11.5px;
        padding: 5px 14px;
    }

    .card-left-brand {
        padding: 22px 18px;
    }

    .brand-company-title {
        font-size: 18px;
    }

    .card-right-form {
        padding: 24px 18px;
    }

    .form-header-box h3 {
        font-size: 21px;
    }

    .card-right-footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}