
:root {
    --primary: #0b3b75;
    --primary-light: #1253a2;
    --accent: #1d74d9;
    --bg: #f3f6fb;
    --dark: #111827;
    --muted: #6b7280;
    --border: #dbe3ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter',sans-serif;
}



html,
body {
    margin: 0;
    height: 100%;
    background: linear-gradient(-45deg, #0b132b, #1c2541, #3a506b, #0b3d91);
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.main-container {
    position: relative;
    height: 100vh;
}

    .main-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(2px);
        z-index: 0;
    }


.row {
    position: relative;
    z-index: 2;
}






/*html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
}

body {
    min-height: 100vh;
}

.main-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.row.g-0.h-100 {
    height: 100vh !important;
}*/

/* =========================================
           LEFT PANEL
        ========================================= */

.left-panel {
    height: 100vh;
    background: linear-gradient( 160deg, #08264a 0%, #0b3b75 45%, #1253a2 100% );
    color: #ffffff;
    padding: 22px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

    .left-panel::before {
        content: '';
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        top: -180px;
        right: -120px;
    }

    .left-panel::after {
        content: '';
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255,255,255,0.03);
        bottom: -120px;
        left: -60px;
    }

.content-area {
    position: relative;
    z-index: 2;
}

/* BRAND */

.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.logo-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

    .logo-box i {
        font-size: 24px;
    }

.company-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.company-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    margin-top: 4px;
}

/* TITLE */

.platform-title {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 430px;
}

.platform-description {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    max-width: 500px;
}

/* FEATURES */

.feature-grid {
    margin-top: 18px;
}

.feature-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 12px;
    height: 100%;
    backdrop-filter: blur(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

    .feature-icon i {
        font-size: 16px;
    }

.feature-title {
    font-size: 13px;
    font-weight: 700;
}

.feature-desc {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255,255,255,0.74);
}

/* LICENSE */

.license-panel {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
    backdrop-filter: blur(10px);
}

.license-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.72);
}

.license-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
}

.license-label {
    color: rgba(255,255,255,0.72);
}

.license-value {
    font-weight: 600;
    color: rgba(255,255,255,0.72);
}

.license-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    background: rgba(16,185,129,0.14);
    color: #d1fae5;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

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

.right-panel {
    height: 100vh;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.login-card {
    width: 100%;
    max-height: 95vh;
    border: none;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15,23,42,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-header {
    flex-shrink: 0;
    padding: 24px 24px 8px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.login-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark);
}

.login-subtitle {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
           LOGIN BODY
        ========================================= */

.login-body {
    padding: 8px 24px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

    .login-body::-webkit-scrollbar {
        width: 6px;
    }

    .login-body::-webkit-scrollbar-thumb {
        background: #c9d5e6;
        border-radius: 20px;
    }



.form-check-label,
.forgot-link {
    font-size: 12px;
}

.forgot-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent);
}

/* BUTTON */

.btn-login {
    height: 46px;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient( 135deg, var(--primary), var(--accent) );
}

/* SECURITY */

.security-box {
    margin-top: 14px;
    border-radius: 14px;
    background: #f3f6fb;
    padding: 12px;
    font-size: 11px;
    color: #4b5563;
    line-height: 1.5;
}

.footer-text {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
}

/* MOBILE BRAND */

.mobile-brand {
    display: none;
}

/* =========================================
           SMALL HEIGHT DEVICES
        ========================================= */

@media(max-height:750px) {

    .right-panel {
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .login-wrapper {
        align-items: flex-start;
    }

    .login-card {
        max-height: calc(100vh - 28px);
    }

    .platform-title {
        font-size: 1.4rem;
    }

    .platform-description {
        font-size: 12px;
    }
}

/* =========================================
           MOBILE
        ========================================= */

@media(max-width:991px) {

    .left-panel {
        display: none;
    }

    .right-panel {
        height: 100vh;
        padding: 14px;
    }

    .login-wrapper {
        max-width: 100%;
    }

    .login-card {
        max-height: calc(100vh - 28px);
        border-radius: 20px;
    }

    .mobile-brand {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .mobile-logo {
        width: 68px;
        height: 68px;
        border-radius: 20px;
        background: linear-gradient( 135deg, var(--primary), var(--accent) );
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto auto 14px;
        color: #fff;
    }

        .mobile-logo i {
            font-size: 28px;
        }

    .mobile-company {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark);
    }

    .mobile-sub {
        margin-top: 5px;
        font-size: 12px;
        color: var(--muted);
    }
}

.select2-container {
    width: 100% !important;
}

    .select2-container .select2-selection--single {
        height: calc(2.25rem + 2px) !important;
        border: 1px solid #ced4da !important;
        border-radius: .375rem !important;
        background-color: #fff !important;
        padding: .375rem .75rem !important;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    color: #495057 !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 8px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25) !important;
}

.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: .375rem !important;
}

.select2-search__field {
    border: 1px solid #ced4da !important;
    border-radius: .25rem !important;
}

/*Make LEFT PANEL moonlike*/


.login-image-panel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

animated soft glow over image
.login-image-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 30% 40%, rgba(0, 140, 255, 0.25), transparent 60% );
    animation: glowMove 12s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowMove {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
}

.login-image-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: -90px;
    width: 180px;
    height: 100%;
    background: #0b132b;
    match dark gradient tone border-radius: 50%;
    box-shadow: -40px 0 80px rgba(0,0,0,0.4);
}


.login-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/**start*/
.login-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 40px;
    z-index: 2;
}

.login-image-content {
    flex: 0 0 auto;
}

.login-image-panel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.content-inner {
    max-width: 520px;
    color: #fff;
}
.brand-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.brand-lead {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 12px;
}

.brand-description {
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 480px;
}

.feature-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-soft {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: #fff;
}
.login-image-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 30% 40%, rgba(0, 140, 255, 0.18), transparent 60% );
    animation: softGlow 10s ease-in-out infinite;
    z-index: -1;
}

.login-image-panel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0.3), transparent );
    z-index: 2;
}

@keyframes softGlow {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-15px);
        opacity: 0.8;
    }

    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}


/* MAIN CARD */
.license-wrapper {
    margin-top: auto; /* THIS is the real fix */
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(-13px);
}

.license-card {
    width: 100%;
    max-width: 1100px;
    background: rgba(10, 25, 60, 0.78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 1px 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
/* HEADER */
.license-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    color: #cfe3ff;
}

/* GRID */
.license-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
    backdrop-filter: blur(10px);
}

.license-item {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .license-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .license-grid {
        grid-template-columns: 1fr;
    }

    .license-wrapper {
        bottom: 10px;
        width: 95%;
    }
}

.auth-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

    .auth-header-logo img {
        height: 42px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
    }

.brand-text h1 {
    font-size: 18px;
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-text span {
    font-size: 12px;
    opacity: 0.75;
    color: #cfe3ff;
}
.auth-top-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}


.auth-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #0b132b, #1c2541, #3a506b, #0b3d91);
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.auth-card {
    width: 420px;
    padding: 28px;
    background: rgba(10, 25, 60, 0.75);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.45);
    color: #fff;
}

.auth-header h2 {
    margin: 0;
    font-size: 22px;
}

.auth-header p {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 20px;
}

/* OTP BOX */
.otp-box {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

.otp-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
}


/* BUTTON */
.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #1e66f5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

    .auth-btn:hover {
        background: #1557d6;
    }

/* FOOTER */
.auth-footer {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

    .auth-footer a {
        color: #8ab4ff;
        text-decoration: none;
    }


.license-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #0b132b, #1c2541, #3a506b, #0b3d91);
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* CARD */
.license-card-large {
    width: 900px;
    padding: 30px;
    background: rgba(10, 25, 60, 0.75);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    color: #fff;
}


.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.85;
}

    .status-indicator .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #2ee59d;
        box-shadow: 0 0 10px #2ee59d;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46,229,157,0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(46,229,157,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46,229,157,0);
    }
}

/*.btn-login {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: #1e66f5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

    .btn-login:hover {
        background: #1557d6;
    }*/