﻿
:root {
    --page-bg: #f4f7fb;
    --white: #ffffff;
    --accent: #0ecb81;
    --accent-dark: #d92027;
    --accent-soft: rgba(14,203,129,0.12);
    --accent-xsoft: rgba(14,203,129,0.06);
    --blue: #2563eb;
    --blue-soft: rgba(37,99,235,0.1);
    --red: #ef4444;
    --gold: #f59e0b;
    --text-900: #0f1923;
    --text-600: #4a5a6a;
    --text-400: #8fa3b8;
    --text-200: #c8d8e8;
    --border: rgba(14,203,129,0.15);
    --border-strong: rgba(14,203,129,0.4);
    --shadow-card: 0 1px 3px rgba(15,25,35,0.06), 0 8px 32px rgba(15,25,35,0.07);
    --shadow-btn: 0 4px 20px rgba(14,203,129,0.35);
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --ease: cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-image: src(~/wwwroot/Login-assets/assets/images/);
    font-family: var(--font-head);
    color: var(--text-900);
    overflow-x: hidden;
}

/* ── TICKER ── */
.ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: var(--white);
    border-bottom: 1px solid rgba(14,203,129,0.12);
    display: flex;
    align-items: center;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(15,25,35,0.05);
    overflow: hidden;
}

.ticker-label {
    flex-shrink: 0;
    padding: 0 16px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-dark);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: 1px solid var(--border);
    background: var(--accent-xsoft);
}

.live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.ticker-overflow {
    overflow: hidden;
    flex: 1;
    display: flex;
}

.ticker-track {
    display: flex;
    animation: tickerMove 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 22px;
    font-family: var(--font-mono);
    font-size: 11px;
    border-right: 1px solid rgba(14,203,129,0.1);
}

.t-sym {
    color: var(--text-400);
}

.t-px {
    color: var(--text-900);
    font-weight: 500;
}

.t-up {
    color: var(--accent-dark);
    font-size: 10px;
}

.t-dn {
    color: var(--red);
    font-size: 10px;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ── PAGE GRID ── */
.page {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    width: 950px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 15px;
}

/* ── LEFT ── */
.left-panel {
    position: relative;
    background: linear-gradient(145deg, #edfaf4 0%, #e8f4ff 100%);
    display: flex;
    flex-direction: column;
    padding: 52px 52px 48px;
    overflow: hidden;
}

    .left-panel::before {
        content: '';
        position: absolute;
        top: -120px;
        right: -100px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(217 32 39 / 28%) 0%, #0f994b0d 70%);
        pointer-events: none;
    }

    .left-panel::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(217 32 39 / 28%) 0%, #0f994b0d 70%);
        pointer-events: none;
    }

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-1 {
    width: 180px;
    height: 180px;
    top: 8%;
    right: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, #d920274a 70%);
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-2 {
    width: 100px;
    height: 100px;
    bottom: 2%;
    left: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, #d920274a 70%);
    animation: floatOrb 11s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-18px) scale(1.05)
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.brand-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(14,203,129,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-icon img {
        object-fit: contain;
        width: 85px
    }

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-900);
    line-height: 1;
}

.brand-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-top: 2px;
}

.sc-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-400);
    margin-bottom: 8px;
}

.sc-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-900);
    line-height: 1;
}

.sc-change {
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .sc-change.up {
        color: var(--accent-dark);
    }

    .sc-change.dn {
        color: var(--red);
    }

.left-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1; 
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0f994b;
    margin-top: 16px;
}

.eyebrow-line {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.left-headline {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-900);
    margin-bottom: 16px;
}

    .left-headline .hl {
        color: var(--accent-dark);
    }

.left-desc {
    font-size: 14px;
    color: var(--text-600);
    line-height: 1.75;
    max-width: 380px;
}

.left-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.trust-badges {
    display: flex;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #000;
    font-weight: 500;
}

    .trust-item i {
        color: var(--accent-dark);
        font-size: 13px;
    }

.op-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-dark);
}

.op-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: opPulse 2.2s ease-in-out infinite;
}

@keyframes opPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14,203,129,.5)
    }

    60% {
        box-shadow: 0 0 0 6px rgba(14,203,129,0)
    }
}

/* ── RIGHT ── */
.right-panel {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 64px;
    border-left: 1px solid rgba(14,203,129,0.1);
}

.right-inner {
    width: 100%;
    max-width: 400px;
    animation: riseIn 0.5s var(--ease) both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.panel-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(14,203,129,0.18);
}

    .logo-circle img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

.logo-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-900);
    letter-spacing: -0.3px;
}

.right-panel h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-900);
    line-height: 1;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 14px;
    color: #080808;
    margin-bottom: 32px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-group {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 16px;
    color: #5a5a5a;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s var(--ease);
    z-index: 2;
}

.form-ctrl {
    width: 100% !important;
    height: 50px !important;
    background: var(--page-bg) !important;
    border: 1.5px solid #dce1e3 !important;
    border-radius: 12px !important;
    padding: 0 44px 0 46px !important;
    font-family: var(--font-head) !important;
    font-size: 14px !important;
    color: var(--text-900) !important;
    outline: none !important;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease) !important;
    -webkit-appearance: none !important;
}

    .form-ctrl::placeholder {
        color: var(--text-200) !important;
    }

    .form-ctrl:focus {
        background: var(--white) !important;
        border-color: var(--accent) !important;
        box-shadow: 0 0 0 4px rgba(14,203,129,0.1) !important;
    }

.field-group:focus-within .field-icon {
    color: var(--accent-dark);
}

.toggle-pwd {
    position: absolute;
    right: 16px;
    color: #5a5a5a;
    cursor: pointer;
    font-size: 14px;
    z-index: 2;
    transition: color 0.2s var(--ease);
}

    .toggle-pwd:hover {
        color: var(--accent-dark);
    }

.field-validation-error {
    font-size: 12px !important;
    color: var(--red) !important;
    font-family: var(--font-head) !important;
    margin-top: -6px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-img {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #e2eaf2;
    background: var(--page-bg);
    flex-shrink: 0;
    transition: border-color 0.2s var(--ease);
}

    .captcha-img:hover {
        border-color: var(--accent);
    }

.captcha-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid #e2eaf2;
    background: var(--page-bg);
    color: var(--text-400);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s var(--ease);
}

    .btn-icon:hover {
        border-color: var(--accent);
        color: var(--accent-dark);
        background: var(--accent-xsoft);
    }

.btn-speak {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid rgb(0 0 0 / 20%);
    background: rgb(255 255 255);
    color: #0ab06e;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

    .btn-speak:hover {
        border-color: var(--accent);
        color: var(--accent-dark);
        background: var(--accent-xsoft);
    }

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-600);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

    .remember-label input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 17px;
        height: 17px;
        border: 1.5px solid #d1dce8;
        border-radius: 5px;
        background: var(--white);
        cursor: pointer;
        position: relative;
        transition: all 0.2s var(--ease);
        flex-shrink: 0;
    }

        .remember-label input[type="checkbox"]:checked {
            background: var(--accent);
            border-color: var(--accent);
        }

            .remember-label input[type="checkbox"]:checked::after {
                content: '';
                position: absolute;
                top: 1px;
                left: 5px;
                width: 4px;
                height: 8px;
                border: 2px solid #fff;
                border-top: none;
                border-left: none;
                transform: rotate(45deg);
            }

.forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

    .forgot-link:hover {
        color: var(--accent);
    }

.btn-signin {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f994b 52%, #0f994b 51%);
    color: #fff;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}


    .btn-signin::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    }

    .btn-signin:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(14,203,129,0.45);
    }

    .btn-signin:active {
        transform: translateY(0);
    }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1.5px;
        background: #eef2f7;
        border-radius: 2px;
    }

.register-row {
    text-align: center;
    font-size: 13px;
    color: #0f994b;
    font-weight: 500;
}

    .register-row a {
        color: #000000;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s var(--ease);
    }

        .register-row a:hover {
            color: var(--accent);
        }

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 11px;
    color: #dd0810;
    font-weight: 500;
}

    .security-note i {
        color: var(--accent);
        font-size: 12px;
    }

/* ── MODAL ── */
#myModal .modal-content {
    border-radius: 18px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(15,25,35,0.15) !important;
    background: var(--white) !important;
}

#myModal .modal-header {
    background: var(--accent-xsoft) !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 18px 18px 0 0 !important;
    padding: 20px !important;
}

#myModal .modal-footer {
    border-top: 1px solid #eef2f7 !important;
}

#myModal .btn-primary {
    background: #0f994b;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font-head) !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-btn) !important;
}

#lblmessageInfo {
    color: var(--text-900) !important;
    font-family: var(--font-head) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .left-panel {
        padding: 44px 36px 40px;
    }

    .right-panel {
        padding: 44px 40px;
    }

    .left-headline {
        font-size: 34px;
    }
}

@media (max-width: 820px) {
    .page {
        grid-template-columns: 1fr;
        width: auto;
        margin: 8px
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 44px 28px;
        border-left: none;
    }

    .right-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .right-panel {
        padding: 32px 18px;
    }

        .right-panel h1 {
            font-size: 26px;
        }

    .captcha-row {
        flex-wrap: wrap;
    }

    .ticker-item {
        padding: 0 12px;
    }
}

/* Background Video */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* full screen cover kare */
    z-index: -1; /* content ke piche rahe */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    border: 1px solid #00000036;
    border-radius: 15px;
    overflow: hidden;
}

.slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

    .slide.active {
        display: block;
    }

/* buttons */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0 0 0);
    color: #fff;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

button:hover {
    background: rgba(0,0,0,0.8);
}

.captcha {
    height: 50px;
    border-radius: 10px;
}
.R-captcha {
    height: 42px;
    width: 110px;
    border-radius: 10px;
}