html,
body.trading-akkhor {
    background: #f0f1f3;
    color: #111827;
    font-family: "Roboto", Arial, sans-serif;
    letter-spacing: 0;
}

.trading-akkhor a,
.trading-akkhor button,
.trading-akkhor input,
.trading-akkhor select,
.trading-akkhor textarea {
    letter-spacing: 0;
}

.crm-topbar.navbar {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    height: 72px;
    margin: 0;
    position: fixed;
    width: 100%;
    z-index: 1040;
}

.crm-topbar .container-fluid,
.crm-topbar .navbar-header {
    height: 72px;
    width: 100%;
}

.crm-brand {
    align-items: center;
    color: #111827 !important;
    display: inline-flex;
    gap: 12px;
    height: 72px;
    padding: 0 18px !important;
}

.crm-brand-mark {
    align-items: center;
    background: #ffae01;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(255, 174, 1, 0.28);
    color: #111827;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.crm-brand-text {
    font-size: 20px;
    font-weight: 700;
}

.crm-top-actions {
    align-items: center;
    display: flex;
    float: right;
    height: 72px;
    margin: 0;
}

.crm-user-toggle {
    align-items: center;
    display: flex !important;
    gap: 12px;
    height: 72px;
    padding: 0 18px !important;
}

.crm-user-title {
    color: #111827;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: right;
}

.crm-user-title small {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}

.crm-avatar {
    align-items: center;
    background: #042954;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.crm-avatar-lg {
    background: #ffae01;
    color: #111827;
    height: 54px;
    width: 54px;
}

.crm-icon-link {
    align-items: center;
    color: #042954 !important;
    display: flex !important;
    height: 72px;
}

.crm-profile-menu {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.16);
    margin-top: 0;
    overflow: hidden;
}

.crm-profile-menu li a {
    color: #263238 !important;
    font-size: 14px;
    padding: 12px 18px;
}

.crm-profile-menu i {
    color: #ffae01;
    margin-right: 10px;
    vertical-align: middle;
}

.crm-sidebar.sidebar {
    background: #042954;
    box-shadow: 6px 0 18px rgba(15, 23, 42, 0.15);
    height: 100vh;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 280px;
    z-index: 1050;
}

.crm-sidebar-head {
    align-items: center;
    background: #ffffff;
    display: flex;
    height: 72px;
    padding: 0 22px;
}

.crm-sidebar-logo {
    align-items: center;
    color: #111827;
    display: flex;
    gap: 12px;
    text-decoration: none !important;
}

.crm-sidebar-logo strong,
.crm-sidebar-logo small {
    display: block;
}

.crm-sidebar-logo strong {
    font-size: 17px;
}

.crm-sidebar-logo small {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}

.crm-user-card.user-info {
    align-items: center;
    background: #083a72;
    background-image: none;
    color: #ffffff;
    display: flex;
    gap: 14px;
    height: auto;
    margin: 0;
    padding: 22px;
}

.crm-user-card .info-container {
    color: #ffffff;
    left: auto;
    position: static;
    top: auto;
}

.crm-user-card .name,
.crm-user-card .email {
    color: #ffffff !important;
    padding: 0;
}

.crm-user-card .name {
    font-size: 15px;
    font-weight: 700;
}

.crm-user-card .email {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 12px;
    margin-top: 4px;
}

.crm-menu.menu {
    height: calc(100vh - 156px);
    max-height: none !important;
    overflow-y: auto;
    padding: 18px 0 24px;
}

.crm-menu.menu .list {
    margin: 0;
    padding: 0 14px;
}

.crm-menu.menu .list li {
    list-style: none;
    margin: 4px 0;
}

.crm-menu .crm-menu-link,
.crm-menu .ml-menu li a {
    align-items: center;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.crm-menu .crm-menu-link:hover,
.crm-menu .crm-menu-link:focus,
.crm-menu .ml-menu li a:hover,
.crm-menu .list li.active > .crm-menu-link {
    background: rgba(255, 174, 1, 0.16);
    color: #ffffff;
}

.crm-menu .material-icons {
    color: #ffae01;
    font-size: 21px;
    width: 24px;
}

.crm-menu .ml-menu {
    background: transparent;
    padding-left: 34px;
}

.crm-menu .ml-menu li a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    min-height: 36px;
    padding: 8px 12px;
}

.crm-main {
    display: block;
    padding-top: 72px;
}

.trading-akkhor section.content,
.crm-main section.content {
    margin: 0;
    padding: 28px;
}

.crm-page-header,
.block-header {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: space-between;
    margin: 0 0 24px;
}

.crm-page-title-wrap {
    align-items: center;
    display: flex;
    gap: 14px;
}

.crm-page-icon {
    align-items: center;
    background: #fff8e6;
    border-radius: 8px;
    color: #ffae01;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.crm-page-icon i {
    font-size: 28px;
}

.crm-form-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

.crm-form-actions.center {
    justify-content: center;
}

.crm-auth-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.crm-error-shell {
    align-items: center;
    background: #f0f1f3;
    display: flex;
    min-height: 100vh;
    padding: 24px;
}

.crm-error-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
    margin: 0 auto;
    max-width: 560px;
    padding: 38px;
    text-align: center;
    width: 100%;
}

.crm-error-code {
    color: #ffae01;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 14px;
}

.crm-error-card h1 {
    color: #111827;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.crm-error-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.crm-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.crm-badge-success {
    background: #dcfce7;
    color: #166534;
}

.crm-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.crm-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.block-header h3,
.crm-page-header h3 {
    color: #111827;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.crm-page-header p {
    color: #64748b;
    font-size: 14px;
    margin: 8px 0 0;
}

.crm-kicker {
    color: #ff9d00;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.card {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

    .card .body {
        padding: 0 24px 24px 24px;
    }

.crm-work-card .body {
    min-height: 280px;
}

.crm-section-title {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.crm-section-title h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.crm-section-title span {
    color: #94a3b8;
    font-size: 12px;
}

.crm-stat-card {
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    color: #111827;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    min-height: 118px;
    padding: 22px;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.crm-stat-card:hover {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    color: #111827;
    transform: translateY(-2px);
}

.crm-stat-icon {
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    min-width: 58px;
}

.crm-stat-icon i {
    font-size: 28px;
}

.crm-stat-yellow .crm-stat-icon { background: #ffae01; }
.crm-stat-blue .crm-stat-icon { background: #3f7afc; }
.crm-stat-green .crm-stat-icon { background: #2ad7a0; }
.crm-stat-red .crm-stat-icon { background: #ff6f6f; }

.crm-stat-body strong,
.crm-stat-body small {
    display: block;
}

.crm-stat-body strong {
    font-size: 17px;
    font-weight: 800;
}

.crm-stat-body small {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 5px;
}

.crm-work-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crm-work-grid a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #111827;
    display: flex;
    gap: 12px;
    min-height: 66px;
    padding: 16px;
    text-decoration: none !important;
}

.crm-work-grid a:hover {
    background: #fff8e6;
    border-color: #ffda7a;
}

.crm-work-grid i {
    color: #ffae01;
}

.crm-timeline {
    display: grid;
    gap: 16px;
}

.crm-timeline div {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.crm-timeline i {
    color: #2ad7a0;
    font-size: 22px;
}

.crm-timeline span {
    color: #475569;
    line-height: 1.55;
}

.nav-tabs {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 22px;
}

.nav-tabs > li > a {
    border: 0 !important;
    border-radius: 0;
    color: #64748b;
    font-weight: 700;
    padding: 14px 16px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background: transparent;
    border-bottom: 3px solid #ffae01 !important;
    color: #042954;
}

.nav-tabs i {
    color: #ffae01;
    font-size: 19px;
    margin-right: 6px;
    vertical-align: middle;
}

.form-group .form-line {
    border: 1px solid #d7dde5;
    border-radius: 4px;
    padding: 0 12px;
}

.form-group .form-line:after {
    border-bottom: 2px solid #ffae01;
}

.form-control,
.bootstrap-select .dropdown-toggle {
    color: #111827;
    min-height: 42px;
}

.form-label,
label {
    color: #475569;
    font-weight: 600;
}

.spanValidation {
    color: #ef4444;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.PageStatus {
    background: #fff8e6;
    border-radius: 999px;
    color: #b76b00;
    display: inline-block;
    font-weight: 800;
    padding: 7px 14px;
}

.btn.crm-btn-primary,
.crm-btn-primary,
.buttonShadow,
.btn-white {
    align-items: center;
    background: #ffae01 !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 16px rgba(255, 174, 1, 0.26) !important;
    color: #111827 !important;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px !important;
    text-transform: uppercase;
}

.btn.crm-btn-primary:hover,
.crm-btn-primary:hover,
.buttonShadow:hover,
.btn-white:hover {
    background: #f4a300 !important;
    color: #111827 !important;
}

.btn-danger {
    border-radius: 4px;
}

.w-100 {
    width: 100%;
}

.table-responsive,
.dataTables_wrapper {
    width: 100%;
}

.table {
    background: #ffffff;
    border: 0;
    margin-bottom: 0;
}

.table > thead > tr > th {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 12px;
    white-space: nowrap;
}

.table > tbody > tr > td {
    border-top: 1px solid #edf2f7;
    color: #475569;
    padding: 13px 12px;
    vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fcfdff;
}

.table-hover > tbody > tr:hover {
    background: #fff8e6;
}

.dataTables_filter input,
.dataTables_length select {
    border: 1px solid #d7dde5;
    border-radius: 4px;
    min-height: 36px;
    padding: 6px 10px;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover {
    background: #042954;
    border-color: #042954;
}

.right-sidebar.crm-filter-sidebar {
    box-shadow: -8px 0 28px rgba(15, 23, 42, 0.16);
}

.crm-panel-title {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
}

.akkhor-spinner {
    animation: crmSpin 0.8s linear infinite;
    border: 4px solid #ffe4a3;
    border-radius: 50%;
    border-top-color: #ffae01;
    height: 46px;
    margin: 0 auto 14px;
    width: 46px;
}

@keyframes crmSpin {
    to {
        transform: rotate(360deg);
    }
}

.modal-content {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}

.modal-header {
    background: #042954;
    border-radius: 6px 6px 0 0;
    color: #ffffff;
}

.modal-title {
    color: #ffffff;
}

.crm-login-page {
    background: #f0f1f3;
    min-height: 100vh;
}

.crm-login-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    min-height: 100vh;
}

.crm-login-brand-panel {
    background: #042954;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
}

.crm-login-brand-panel .crm-sidebar-logo {
    color: #ffffff;
}

.crm-login-brand-panel .crm-sidebar-logo small {
    color: rgba(255, 255, 255, 0.72);
}

.crm-login-copy {
    max-width: 520px;
}

.crm-login-copy h1 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
}

.crm-login-copy p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.crm-login-card-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 34px;
}

.crm-login-card.logincard {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
    margin: 0;
    max-width: 460px;
    overflow: hidden;
    width: 100%;
}

.crm-login-card .card-body {
    padding: 34px;
}

.crm-login-card .form-header {
    background: transparent !important;
    color: #111827;
    margin: 0 0 26px;
}

.crm-login-lock {
    align-items: center;
    background: #fff8e6;
    border-radius: 50%;
    color: #ffae01;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 16px;
    width: 54px;
}

.crm-login-lock i {
    font-size: 28px;
}

.crm-login-card h4 {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.crm-login-card .form-header p {
    color: #64748b;
    margin: 0;
}

.crm-login-card .crm-btn-primary {
    margin-top: 8px;
    width: 100%;
}

.crm-login-card .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 16px 34px;
}

.crm-login-error {
    margin: -4px 0 14px;
}

@media (max-width: 1169px) {
    .crm-topbar.navbar {
        padding-left: 0;
    }

    .crm-sidebar.sidebar {
        transform: translateX(-285px);
        transition: transform 0.2s ease;
    }

    .overlay-open .crm-sidebar.sidebar,
    .ls-closed .crm-sidebar.sidebar,
    .ls-opened .crm-sidebar.sidebar {
        transform: translateX(0);
    }

    .crm-main {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .crm-topbar.navbar,
    .crm-topbar .container-fluid,
    .crm-topbar .navbar-header {
        height: 64px;
    }

    .crm-brand {
        height: 64px;
        padding-left: 48px !important;
    }

    .crm-brand-text,
    .crm-user-title {
        display: none;
    }

    .crm-main {
        padding-top: 64px;
    }

    .trading-akkhor section.content,
    .crm-main section.content {
        padding: 18px 12px;
    }

    .crm-page-header,
    .block-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .crm-work-grid {
        grid-template-columns: 1fr;
    }

    .card .body {
        padding: 18px;
    }

    .nav-tabs > li > a {
        padding: 12px 10px;
    }

    .crm-login-shell {
        grid-template-columns: 1fr;
    }

    .crm-login-brand-panel {
        min-height: auto;
        padding: 28px;
    }

    .crm-login-copy {
        margin-top: 42px;
    }

    .crm-login-copy h1 {
        font-size: 28px;
    }

    .crm-login-card-wrap {
        padding: 24px 14px;
    }
}
