
.oms-v8-brand{
    display:flex;
    align-items:center;
    gap:.75rem;
    text-decoration:none;
    min-width:0;
}
.oms-v8-brand-mark,.oms-v8-mobile-logo{
    width:38px;height:38px;min-width:38px;
    border-radius:.65rem;
    background:#009ef7;color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-weight:800;text-decoration:none;
}
.oms-v8-brand-copy{display:flex;flex-direction:column;line-height:1.1;white-space:nowrap}
.oms-v8-brand-title{font-size:.95rem;font-weight:800;color:#fff}
.oms-v8-brand-sub{font-size:.68rem;color:#8f9bb3;margin-top:.25rem}
body[data-kt-app-sidebar-minimize="on"] .oms-v8-brand-copy{display:none}
body[data-kt-app-sidebar-minimize="on"] .oms-v8-brand{justify-content:center}
.oms-v8-mobile-logo{width:30px;height:30px;min-width:30px;font-size:.75rem}
.oms-upload-drop{
    border:2px dashed var(--bs-gray-300);
    border-radius:.85rem;
    padding:3rem 1.5rem;
    text-align:center;
    background:var(--bs-gray-100);
    transition:.15s ease;
}
.oms-upload-drop.is-drag{border-color:#009ef7;background:#f1faff}
.oms-master-table{max-height:calc(100vh - 310px)}
.oms-modal{
    position:fixed;inset:0;z-index:1090;display:none;
    align-items:center;justify-content:center;padding:1.5rem;
    background:rgba(0,0,0,.45);
}
.oms-modal.open{display:flex}
.oms-modal-panel{
    width:min(1180px,96vw);max-height:94vh;overflow:auto;
    background:var(--bs-body-bg);border-radius:.85rem;
    box-shadow:0 1rem 3rem rgba(0,0,0,.2);
}


/* v3.1 business-page polish */
.oms-upload-list{
    max-height:420px;
    overflow:auto;
}

.oms-master-table{
    max-height:calc(100vh - 335px);
    overflow:auto;
}

.oms-master-table thead{
    position:sticky;
    top:0;
    z-index:2;
    background:var(--bs-body-bg);
}

.oms-master-table .symbol img{
    object-fit:cover;
}

.oms-modal{
    backdrop-filter:blur(2px);
}

.oms-modal-panel{
    border:1px solid var(--bs-gray-300);
}

@media (max-width: 991.98px){
    .oms-master-table{
        max-height:none;
    }
}


/* v3.2 auth + admin */
.oms-auth-visual{
    background:
        radial-gradient(circle at 20% 20%, rgba(0,158,247,.55), transparent 34%),
        radial-gradient(circle at 78% 70%, rgba(114,57,234,.48), transparent 38%),
        linear-gradient(145deg,#111827 0%,#172033 52%,#0f172a 100%);
}

.oms-auth-logo-mark{
    width:68px;
    height:68px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:#009ef7;
    color:#fff;
    font-weight:900;
    font-size:1.4rem;
    box-shadow:0 12px 30px rgba(0,158,247,.25);
}

.oms-auth-art{
    position:relative;
}

.oms-auth-art::before,
.oms-auth-art::after{
    content:"";
    position:absolute;
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    transform:rotate(-12deg);
}

.oms-auth-art::before{
    width:240px;
    height:150px;
    left:18%;
    bottom:18%;
}

.oms-auth-art::after{
    width:170px;
    height:220px;
    right:12%;
    bottom:10%;
    transform:rotate(11deg);
}

@media(max-width:1199.98px){
    .oms-auth-visual{
        width:100%!important;
        min-height:290px;
    }
}


/* v3.4.1: current language label in user dropdown */
#kt_app_header .menu-badge .badge{
    white-space:nowrap;
}


/* v3.4.2 — current language visibility fix */
#kt_app_header .menu-link > .menu-title{
    min-width:0;
}
#kt_app_header .menu-link > .menu-badge{
    flex:0 0 auto;
    margin-left:auto;
    max-width:150px;
}
#kt_app_header .menu-link > .menu-badge .badge{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    overflow:visible;
}


/* v3.5 — Metronic theme-mode + language badge */
.theme-light-show{display:inline-block}
.theme-dark-show{display:none}
[data-bs-theme="dark"] .theme-light-show{display:none}
[data-bs-theme="dark"] .theme-dark-show{display:inline-block}

[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .app-main{
    background-color:var(--bs-app-bg-color, #0f1014);
}

#kt_app_header .menu-badge{
    flex-shrink:0;
}
