/* ============================================================
   INAYAT ZONE MRMS
   PREMIUM LOGIN PAGE
============================================================ */


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #050b18;
    color: #0f172a;
}


/* ============================================================
   PAGE
============================================================ */

.login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(37, 99, 235, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(6, 182, 212, 0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #030712,
            #071426 55%,
            #08111f
        );
}


/* ============================================================
   BACKGROUND
============================================================ */

.login-grid {
    position: absolute;
    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    pointer-events: none;
}


.login-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}


.glow-one {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -80px;
    background: rgba(37, 99, 235, 0.16);
}


.glow-two {
    width: 400px;
    height: 400px;
    right: -130px;
    bottom: -130px;
    background: rgba(6, 182, 212, 0.10);
}


/* ============================================================
   MAIN CARD
============================================================ */

.login-container {
    position: relative;
    z-index: 2;

    width: min(1050px, 100%);
    min-height: 640px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.95fr);

    overflow: hidden;

    border:
        1px solid
        rgba(148, 163, 184, 0.18);

    border-radius: 26px;

    background: #ffffff;

    box-shadow:
        0 35px 90px
        rgba(0, 0, 0, 0.45);
}


/* ============================================================
   BRAND PANEL
============================================================ */

.login-brand-panel {
    position: relative;
    overflow: hidden;

    padding: 42px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.98),
            rgba(15, 38, 74, 0.98)
        );
}


.login-brand-panel::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -170px;
    bottom: -170px;

    border-radius: 50%;

    border:
        60px solid
        rgba(37, 99, 235, 0.07);
}


.brand-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 15px;
}


.brand-logo-box {
    width: 62px;
    height: 62px;

    padding: 5px;

    overflow: hidden;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.2);
}


.brand-logo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 11px;
}


.brand-system-label {
    display: block;

    margin-bottom: 4px;

    color: #60a5fa;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


.brand-top h1 {
    margin: 0;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.4px;
}


/* ============================================================
   BRAND CONTENT
============================================================ */

.brand-content {
    position: relative;
    z-index: 2;

    margin: auto 0;
    padding: 55px 0;
}


.brand-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: #38bdf8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.brand-content h2 {
    max-width: 450px;

    margin: 0 0 15px;

    font-size: 36px;
    line-height: 1.18;

    letter-spacing: -1px;
}


.brand-content > p {
    max-width: 460px;

    margin: 0;

    color: #94a3b8;

    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   FEATURES
============================================================ */

.feature-list {
    margin-top: 35px;

    display: flex;
    flex-direction: column;

    gap: 14px;
}


.feature-item {
    display: flex;
    align-items: center;

    gap: 12px;
}


.feature-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #7dd3fc;

    background:
        rgba(56, 189, 248, 0.10);

    border:
        1px solid
        rgba(125, 211, 252, 0.15);

    font-size: 8px;
    font-weight: 900;
}


.feature-item strong {
    display: block;

    margin-bottom: 2px;

    font-size: 10px;
}


.feature-item small {
    display: block;

    color: #94a3b8;

    font-size: 8px;
}


/* ============================================================
   BRAND FOOTER
============================================================ */

.brand-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 7px;

    color: #94a3b8;

    font-size: 8px;
    font-weight: 700;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, 0.10);
}


/* ============================================================
   FORM PANEL
============================================================ */

.login-form-panel {
    padding: 55px 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );
}


.login-form-wrapper {
    width: 100%;
    max-width: 390px;
}


.login-heading {
    margin-bottom: 28px;
}


.login-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #2563eb;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.4px;
}


.login-heading h2 {
    margin: 0 0 7px;

    color: #0f172a;

    font-size: 29px;

    letter-spacing: -0.6px;
}


.login-heading p {
    margin: 0;

    color: #64748b;

    font-size: 10px;
}


/* ============================================================
   MESSAGES
============================================================ */

.login-messages {
    margin-bottom: 17px;
}


.login-message {
    padding: 11px 12px;

    border-radius: 10px;

    background: #eff6ff;

    border:
        1px solid #bfdbfe;

    color: #1d4ed8;

    font-size: 9px;
    font-weight: 700;
}


.login-error-box {
    margin-bottom: 17px;

    padding: 11px 12px;

    border-radius: 10px;

    background: #fef2f2;

    border:
        1px solid #fecaca;

    color: #b91c1c;

    font-size: 9px;
    font-weight: 700;
}


/* ============================================================
   FORM
============================================================ */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 17px;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 9px;
    font-weight: 800;
}


.input-wrapper {
    position: relative;
}


.login-input {
    width: 100%;
    height: 50px;

    padding:
        0
        60px
        0
        44px;

    outline: none;

    border:
        1px solid #dbe3ed;

    border-radius: 12px;

    background: #ffffff;

    color: #0f172a;

    font-size: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.login-input::placeholder {
    color: #a0aec0;
}


.login-input:focus {
    border-color: #2563eb;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(37, 99, 235, 0.08);
}


.input-symbol {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 8px;
    font-weight: 900;

    pointer-events: none;
}


.password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    padding: 5px;

    border: none;

    background: transparent;

    color: #2563eb;

    cursor: pointer;

    font-size: 7px;
    font-weight: 900;
}


.field-error {
    margin-top: 6px;

    color: #dc2626;

    font-size: 8px;
    font-weight: 700;
}


/* ============================================================
   LOGIN BUTTON
============================================================ */

.login-button {
    width: 100%;
    min-height: 50px;

    margin-top: 3px;

    padding: 0 17px;

    border: none;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2563eb
        );

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    box-shadow:
        0 10px 25px
        rgba(37, 99, 235, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 13px 30px
        rgba(37, 99, 235, 0.28);
}


.login-arrow {
    font-size: 18px;
    line-height: 1;
}


/* ============================================================
   SECURITY CARD
============================================================ */

.login-security {
    margin-top: 24px;

    padding: 13px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    border-radius: 12px;

    background: #f8fafc;

    border:
        1px solid #e5eaf1;
}


.security-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ecfdf3;

    color: #16a34a;

    font-size: 11px;
    font-weight: 900;
}


.login-security strong {
    display: block;

    margin-bottom: 3px;

    color: #334155;

    font-size: 9px;
}


.login-security p {
    margin: 0;

    color: #94a3b8;

    font-size: 7px;
    line-height: 1.5;
}


/* ============================================================
   FOOTER
============================================================ */

.login-footer {
    margin-top: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    color: #94a3b8;

    font-size: 7px;
}


.login-footer span:first-child {
    color: #475569;
    font-weight: 800;
}


.footer-separator {
    color: #cbd5e1;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px) {

    .login-container {
        grid-template-columns: 1fr;
    }


    .login-brand-panel {
        display: none;
    }


    .login-form-panel {
        min-height: 620px;
    }

}


@media (max-width: 560px) {

    .login-page {
        padding: 15px;
    }


    .login-container {
        min-height: auto;

        border-radius: 20px;
    }


    .login-form-panel {
        min-height: calc(100vh - 30px);

        padding: 40px 24px;
    }


    .login-heading h2 {
        font-size: 26px;
    }

}