:root {
    --pz-bg: #f4f7fb;
    --pz-bg-soft: #eef3f8;
    --pz-surface: #ffffff;
    --pz-surface-muted: #f8fafc;
    --pz-sidebar: #111827;
    --pz-sidebar-soft: #182235;
    --pz-border: #e2e8f0;
    --pz-border-strong: #cbd5e1;
    --pz-text: #0f172a;
    --pz-muted: #64748b;
    --pz-primary: #2563eb;
    --pz-green: #16a34a;
    --pz-teal: #0f766e;
    --pz-amber: #d97706;
    --pz-red: #dc2626;
    --pz-shadow: 0 14px 40px rgba(15, 23, 42, .08);
    --pz-shadow-soft: 0 8px 24px rgba(15, 23, 42, .06);
    --pz-radius: 8px;
    --pz-font: "Inter", "Poppins", "Segoe UI", Arial, sans-serif;
}

html[data-bs-theme="dark"] {
    --pz-bg: #0b1120;
    --pz-bg-soft: #111827;
    --pz-surface: #151f32;
    --pz-surface-muted: #111827;
    --pz-sidebar: #070c15;
    --pz-sidebar-soft: #101827;
    --pz-border: #243047;
    --pz-border-strong: #334155;
    --pz-text: #e5edf8;
    --pz-muted: #9aa8bd;
    --pz-shadow: 0 16px 42px rgba(0, 0, 0, .32);
    --pz-shadow-soft: 0 8px 28px rgba(0, 0, 0, .26);
}

body.petrolize-modern {
    background: var(--pz-bg);
    color: var(--pz-text);
    font-family: var(--pz-font);
    letter-spacing: 0;
}

body.petrolize-modern:not(.petrolize-login) #kt_app_page,
body.petrolize-modern:not(.petrolize-login) #kt_app_main,
body.petrolize-modern:not(.petrolize-login) .app-main,
body.petrolize-modern:not(.petrolize-login) .app-wrapper {
    background: var(--pz-bg);
}

body.petrolize-modern .page-loader {
    background: rgba(15, 23, 42, .36) !important;
    backdrop-filter: blur(5px);
}

body.petrolize-modern .page-loader .spinner-border {
    border-width: 3px;
    height: 42px;
    width: 42px;
}

body.petrolize-modern .page-loader .text-gray-800 {
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow-soft);
    color: var(--pz-text) !important;
    padding: 8px 14px;
}

body.petrolize-modern .app-header {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--pz-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    backdrop-filter: blur(16px);
}

html[data-bs-theme="dark"] body.petrolize-modern .app-header {
    background: rgba(15, 23, 42, .86);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

body.petrolize-modern .app-header .btn.btn-icon,
body.petrolize-modern .modern-theme-toggle,
body.petrolize-modern .language-nav-item .btn {
    background: var(--pz-surface-muted);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    color: var(--pz-muted);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

body.petrolize-modern .app-header .btn.btn-icon:hover,
body.petrolize-modern .modern-theme-toggle:hover,
body.petrolize-modern .language-nav-item .btn:hover {
    background: rgba(37, 99, 235, .08);
    border-color: rgba(37, 99, 235, .22);
    color: var(--pz-primary);
    transform: translateY(-1px);
}

body.petrolize-modern .modern-theme-toggle {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

body.petrolize-modern .modern-theme-toggle .petrolize-theme-toggle-icon--dark {
    display: none;
}

body.petrolize-modern .modern-theme-toggle.is-dark .petrolize-theme-toggle-icon--light {
    display: none;
}

body.petrolize-modern .modern-theme-toggle.is-dark .petrolize-theme-toggle-icon--dark {
    display: inline-flex;
}

body.petrolize-modern .app-navbar {
    align-items: center;
    gap: 2px;
}

body.petrolize-modern .symbol > img {
    border: 1px solid var(--pz-border);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

body.petrolize-modern .menu-sub-dropdown {
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

body.petrolize-modern .app-sidebar {
    background: var(--pz-sidebar);
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 14px 0 38px rgba(15, 23, 42, .12);
}

body.petrolize-modern .app-sidebar-logo {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    min-height: 82px;
}

body.petrolize-modern .app-sidebar-logo img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18));
}

body.petrolize-modern .app-sidebar-toggle {
    background: var(--pz-surface) !important;
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow-soft) !important;
}

body.petrolize-modern #kt_app_sidebar_menu_scroll {
    margin-left: 12px !important;
    margin-right: 12px !important;
}

body.petrolize-modern .app-sidebar .menu-heading {
    color: #8fa4c3 !important;
    letter-spacing: .06em;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link {
    border-radius: var(--pz-radius);
    color: #c8d3e4;
    margin: 2px 0;
    min-height: 42px;
    padding: 10px 12px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link .menu-title {
    color: inherit;
    font-weight: 650;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link .menu-arrow:after {
    background-color: #8fa4c3;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link:hover,
body.petrolize-modern .app-sidebar .menu-item.hover > .menu-link,
body.petrolize-modern .app-sidebar .menu-item.show > .menu-link,
body.petrolize-modern .app-sidebar .menu-link.active {
    background: rgba(37, 99, 235, .18);
    color: #ffffff;
    transform: translateX(2px);
}

[dir="rtl"] body.petrolize-modern .app-sidebar .menu-item .menu-link:hover,
[dir="rtl"] body.petrolize-modern .app-sidebar .menu-item.hover > .menu-link,
[dir="rtl"] body.petrolize-modern .app-sidebar .menu-item.show > .menu-link,
[dir="rtl"] body.petrolize-modern .app-sidebar .menu-link.active {
    transform: translateX(-2px);
}

body.petrolize-modern .app-sidebar .menu-icon {
    align-items: center;
    background: rgba(255, 255, 255, .06);
    border-radius: var(--pz-radius);
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-inline-end: 10px;
    width: 34px;
}

body.petrolize-modern .app-sidebar .menu-bullet .bullet-dot {
    background-color: #7dd3fc;
}

body.petrolize-modern .app-toolbar {
    background: transparent;
}

body.petrolize-modern .app-toolbar h1,
body.petrolize-modern .app-toolbar .page-heading h1 {
    color: var(--pz-text) !important;
    font-weight: 800;
}

body.petrolize-modern .app-content {
    padding-bottom: 28px;
}

body.petrolize-modern .card,
body.petrolize-modern .modal-content,
body.petrolize-modern .drawer,
body.petrolize-modern .dashboard-panel,
body.petrolize-modern .status-panel,
body.petrolize-modern .metric-tile {
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow-soft);
}

body.petrolize-modern .card .card-header {
    border-bottom-color: var(--pz-border);
}

body.petrolize-modern .card .card-title,
body.petrolize-modern .card h1,
body.petrolize-modern .card h2,
body.petrolize-modern .card h3,
body.petrolize-modern .card h4,
body.petrolize-modern .card h5 {
    color: var(--pz-text);
    letter-spacing: 0;
}

body.petrolize-modern .text-gray-900,
body.petrolize-modern .text-dark,
body.petrolize-modern .fw-bold {
    color: var(--pz-text) !important;
}

body.petrolize-modern .text-muted,
body.petrolize-modern .text-gray-500,
body.petrolize-modern .text-gray-600,
body.petrolize-modern .text-gray-700 {
    color: var(--pz-muted) !important;
}

body.petrolize-modern .btn {
    border-radius: var(--pz-radius);
    font-weight: 700;
    letter-spacing: 0;
}

body.petrolize-modern .btn-primary,
body.petrolize-modern .btn-success {
    box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
}

body.petrolize-modern .btn-light,
body.petrolize-modern .btn-light-primary,
body.petrolize-modern .btn-light-success,
body.petrolize-modern .btn-light-danger,
body.petrolize-modern .btn-light-warning {
    border: 1px solid var(--pz-border);
}

body.petrolize-modern .badge {
    border-radius: 6px;
    font-weight: 800;
}

body.petrolize-modern .form-control,
body.petrolize-modern .form-select,
body.petrolize-modern textarea.form-control,
body.petrolize-modern .select2-container--bootstrap5 .select2-selection,
body.petrolize-modern .tagify,
body.petrolize-modern input[type="date"],
body.petrolize-modern input[type="datetime-local"],
body.petrolize-modern input[type="number"],
body.petrolize-modern input[type="text"],
body.petrolize-modern input[type="email"],
body.petrolize-modern input[type="password"],
body.petrolize-modern input[type="search"],
body.petrolize-modern textarea,
body.petrolize-modern select {
    background-color: var(--pz-surface-muted);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    color: var(--pz-text);
    min-height: 44px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.petrolize-modern .form-control:focus,
body.petrolize-modern .form-select:focus,
body.petrolize-modern input:focus,
body.petrolize-modern textarea:focus,
body.petrolize-modern select:focus,
body.petrolize-modern .select2-container--bootstrap5.select2-container--focus .select2-selection {
    background-color: var(--pz-surface);
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    color: var(--pz-text);
    outline: none;
}

body.petrolize-modern .form-label,
body.petrolize-modern label {
    color: var(--pz-text);
    font-weight: 650;
}

body.petrolize-modern .form-check-input {
    border-radius: 6px;
    min-height: 18px;
}

body.petrolize-modern .table-responsive {
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    overflow: auto;
}

body.petrolize-modern .table {
    background: var(--pz-surface);
    border-collapse: separate;
    border-spacing: 0;
    color: var(--pz-text);
    margin-bottom: 0;
}

body.petrolize-modern .table thead tr {
    background: var(--pz-surface-muted);
}

body.petrolize-modern .table thead th {
    border-bottom: 1px solid var(--pz-border);
    color: var(--pz-text) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    padding-bottom: 14px;
    padding-top: 14px;
    text-transform: none;
    white-space: nowrap;
}

body.petrolize-modern .table tbody td {
    border-bottom: 1px solid var(--pz-border);
    color: var(--pz-text);
    padding-bottom: 13px;
    padding-top: 13px;
    vertical-align: middle;
}

body.petrolize-modern .table tbody tr:hover {
    background: rgba(37, 99, 235, .04);
}

body.petrolize-modern .table tbody tr:last-child td {
    border-bottom: 0;
}

body.petrolize-modern .dataTables_wrapper .dataTables_filter input,
body.petrolize-modern .dataTables_wrapper .dataTables_length select {
    min-height: 38px;
}

body.petrolize-modern .pagination .page-link {
    border-radius: 6px;
    color: var(--pz-text);
    margin-inline: 2px;
}

body.petrolize-modern .separator {
    border-color: var(--pz-border);
}

body.petrolize-modern .scroll-y::-webkit-scrollbar,
body.petrolize-modern .table-responsive::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

body.petrolize-modern .scroll-y::-webkit-scrollbar-thumb,
body.petrolize-modern .table-responsive::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
}

body.petrolize-modern .dashboard-page .metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

body.petrolize-modern .dashboard-page .dashboard-command {
    box-shadow: var(--pz-shadow);
}

body.petrolize-modern .dashboard-page .metric-tile__body strong {
    font-size: clamp(19px, 1.1vw, 25px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

body.petrolize-modern .dashboard-page .dashboard-panel,
body.petrolize-modern .dashboard-page .status-panel,
body.petrolize-modern .dashboard-page .metric-tile {
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

body.petrolize-modern .dashboard-page .dashboard-panel:hover,
body.petrolize-modern .dashboard-page .status-panel:hover,
body.petrolize-modern .dashboard-page .metric-tile:hover {
    border-color: rgba(37, 99, 235, .18);
}

html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page {
    --dash-ink: var(--pz-text) !important;
    --dash-muted: var(--pz-muted) !important;
    --dash-line: var(--pz-border) !important;
    --dash-soft: var(--pz-surface-muted) !important;
}

html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .metric-tile,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .dashboard-panel,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .status-panel,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .dashboard-table {
    background: var(--pz-surface) !important;
    border-color: var(--pz-border) !important;
}

html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .dashboard-table thead {
    background: var(--pz-surface-muted) !important;
}

html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .dashboard-progress,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .rank-bar,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .stock-line__bar,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .stock-meter {
    background: #263449 !important;
}

html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .rank-item,
html[data-bs-theme="dark"] body.petrolize-modern .dashboard-page .stock-line {
    border-bottom-color: var(--pz-border) !important;
}

body.petrolize-login {
    min-height: 100vh;
    overflow: auto;
}

body.petrolize-login .auth-bg {
    background:
        linear-gradient(120deg, rgba(248, 250, 252, .96), rgba(239, 246, 255, .9)),
        url("../media/images/image-1.png");
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-bg {
    background:
        linear-gradient(120deg, rgba(3, 7, 18, .92), rgba(15, 23, 42, .9)),
        url("../media/images/image-1.png");
    background-position: center;
    background-size: cover;
}

body.petrolize-login .auth-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    position: fixed;
    right: 24px;
    top: 20px;
    z-index: 20;
}

[dir="rtl"] body.petrolize-login .auth-actions {
    left: 24px;
    right: auto;
}

body.petrolize-login .auth-theme-toggle {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--pz-border);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow-soft);
    color: var(--pz-text);
    height: 42px;
    width: 42px;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-theme-toggle {
    background: rgba(21, 31, 50, .92);
}

body.petrolize-login .auth-shell {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    margin: 0 auto;
    max-width: 1180px;
    min-height: 100vh;
    padding: 82px 24px 38px;
}

body.petrolize-login .auth-brand-panel,
body.petrolize-login .auth-card {
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

body.petrolize-login .auth-brand-panel {
    background: rgba(255, 255, 255, .72);
    overflow: hidden;
    padding: clamp(28px, 4vw, 54px);
}

html[data-bs-theme="dark"] body.petrolize-login .auth-brand-panel {
    background: rgba(17, 24, 39, .76);
    border-color: rgba(148, 163, 184, .18);
}

body.petrolize-login .auth-brand-panel__logo {
    align-items: center;
    background: var(--pz-sidebar);
    border-radius: var(--pz-radius);
    display: inline-flex;
    height: 76px;
    justify-content: center;
    margin-bottom: 28px;
    padding: 14px 18px;
    width: 190px;
}

body.petrolize-login .auth-brand-panel__logo img {
    max-height: 52px;
    max-width: 150px;
}

body.petrolize-login .auth-kicker {
    color: var(--pz-primary);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

body.petrolize-login .auth-brand-panel h1 {
    color: var(--pz-text);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .95;
    margin: 0 0 20px;
}

body.petrolize-login .auth-brand-panel p {
    color: var(--pz-muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

body.petrolize-login .auth-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

body.petrolize-login .auth-highlights span {
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: 6px;
    color: var(--pz-text);
    font-size: 12px;
    font-weight: 800;
    padding: 9px 12px;
}

body.petrolize-login .auth-card {
    background: rgba(255, 255, 255, .92);
    padding: clamp(24px, 3.5vw, 42px);
}

html[data-bs-theme="dark"] body.petrolize-login .auth-card {
    background: rgba(21, 31, 50, .9);
    border-color: rgba(148, 163, 184, .2);
}

body.petrolize-login .auth-card__header {
    margin-bottom: 28px;
}

body.petrolize-login .auth-card__header h2 {
    color: var(--pz-text);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
}

body.petrolize-login .auth-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

body.petrolize-login .auth-field label {
    color: var(--pz-text);
    font-size: 13px;
    font-weight: 800;
}

body.petrolize-login .auth-field input {
    min-height: 50px;
    padding: 0 14px;
    width: 100%;
}

body.petrolize-login .auth-password {
    position: relative;
}

body.petrolize-login .auth-password input {
    padding-inline-end: 52px;
}

body.petrolize-login .auth-password__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--pz-muted);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 4px;
    width: 42px;
}

[dir="rtl"] body.petrolize-login .auth-password__toggle {
    left: 6px;
    right: auto;
}

[dir="rtl"] body.petrolize-login .auth-password input {
    padding-inline-end: 14px;
    padding-inline-start: 52px;
}

body.petrolize-login .auth-form-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 6px 0 24px;
}

body.petrolize-login .auth-remember {
    align-items: center;
    color: var(--pz-muted);
    display: inline-flex;
    gap: 8px;
    margin: 0;
}

body.petrolize-login .auth-link {
    color: var(--pz-primary);
    font-weight: 800;
}

body.petrolize-login .login-btn {
    background: linear-gradient(135deg, var(--pz-primary), var(--pz-teal));
    border: 0;
    border-radius: var(--pz-radius);
    box-shadow: 0 16px 26px rgba(37, 99, 235, .24);
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    min-height: 50px;
    transition: transform .2s ease, box-shadow .2s ease;
    width: 100%;
}

body.petrolize-login .login-btn:hover {
    box-shadow: 0 18px 30px rgba(37, 99, 235, .3);
    transform: translateY(-1px);
}

body.petrolize-login .quote-box {
    border-top: 1px solid var(--pz-border);
    color: var(--pz-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 26px;
    padding-top: 20px;
    text-align: center;
}

body.petrolize-login .bottom-text {
    color: var(--pz-muted);
    font-size: 12px;
    font-weight: 700;
    margin-top: 16px;
    text-align: center;
}

body.petrolize-login .alert-danger {
    background: rgba(220, 38, 38, .1);
    border-color: rgba(220, 38, 38, .2);
    border-radius: var(--pz-radius);
    color: #b91c1c;
}

html[data-bs-theme="dark"] body.petrolize-login .alert-danger {
    color: #fecaca;
}

@media (max-width: 1199.98px) {
    body.petrolize-modern .app-container.container-fluid {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.petrolize-login .auth-shell {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    body.petrolize-modern .app-sidebar {
        box-shadow: 18px 0 40px rgba(0, 0, 0, .18);
    }

    body.petrolize-modern .app-header {
        min-height: 64px;
    }

    body.petrolize-login .auth-shell {
        grid-template-columns: 1fr;
        max-width: 660px;
        padding-top: 86px;
    }

    body.petrolize-login .auth-brand-panel {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    body.petrolize-modern .app-navbar-item {
        margin-left: 6px !important;
    }

    body.petrolize-modern .app-header .btn.btn-icon,
    body.petrolize-modern .modern-theme-toggle,
    body.petrolize-modern .language-nav-item .btn {
        height: 34px !important;
        width: 34px !important;
    }

    body.petrolize-modern .app-toolbar {
        padding-bottom: 12px !important;
        padding-top: 16px !important;
    }

    body.petrolize-modern .table thead th,
    body.petrolize-modern .table tbody td {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.petrolize-login .auth-actions {
        right: 14px;
        top: 14px;
    }

    [dir="rtl"] body.petrolize-login .auth-actions {
        left: 14px;
        right: auto;
    }

    body.petrolize-login .auth-shell {
        padding: 76px 14px 24px;
    }

    body.petrolize-login .auth-brand-panel {
        display: none;
    }

    body.petrolize-login .auth-card {
        padding: 24px 18px;
    }

    body.petrolize-login .auth-form-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    body.petrolize-modern .dashboard-page .dashboard-command {
        padding: 20px !important;
    }

    body.petrolize-modern .dashboard-page .metric-grid {
        grid-template-columns: 1fr !important;
    }

    body.petrolize-modern .dashboard-page .metric-tile {
        min-height: auto !important;
    }

    body.petrolize-login .auth-card__header h2 {
        font-size: 25px;
    }
}

/* Petrolize modern v2 */
:root {
    --pz-bg: #eef3f7;
    --pz-bg-soft: #f6f9fc;
    --pz-surface: #ffffff;
    --pz-surface-muted: #f3f6fa;
    --pz-sidebar: #08111f;
    --pz-sidebar-soft: #111c2d;
    --pz-border: #d9e2ec;
    --pz-border-strong: #bac8d8;
    --pz-text: #0c1728;
    --pz-muted: #607086;
    --pz-primary: #1d5eff;
    --pz-green: #10a66e;
    --pz-teal: #0f8f8c;
    --pz-amber: #d88910;
    --pz-red: #df3151;
    --pz-shadow: 0 20px 48px rgba(12, 23, 40, .11);
    --pz-shadow-soft: 0 10px 26px rgba(12, 23, 40, .08);
    --pz-font: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
}

html[data-bs-theme="dark"] {
    --pz-bg: #080e19;
    --pz-bg-soft: #0e1625;
    --pz-surface: #111b2d;
    --pz-surface-muted: #0c1422;
    --pz-sidebar: #050b14;
    --pz-sidebar-soft: #0b1422;
    --pz-border: #223149;
    --pz-border-strong: #34435a;
    --pz-text: #edf4ff;
    --pz-muted: #9aabc3;
    --pz-shadow: 0 24px 54px rgba(0, 0, 0, .36);
    --pz-shadow-soft: 0 12px 34px rgba(0, 0, 0, .3);
}

body.petrolize-modern,
body.petrolize-modern .app-default,
body.petrolize-modern .menu,
body.petrolize-modern .btn,
body.petrolize-modern input,
body.petrolize-modern textarea,
body.petrolize-modern select {
    font-family: var(--pz-font) !important;
}

body.petrolize-modern {
    font-size: 13px;
    font-weight: 500;
}

body.petrolize-modern .app-header {
    min-height: 62px;
}

body.petrolize-modern .app-header .app-container {
    min-height: 62px;
}

body.petrolize-modern .app-navbar .app-navbar-item {
    margin-left: 8px !important;
}

body.petrolize-modern .app-header .btn.btn-icon,
body.petrolize-modern .modern-theme-toggle,
body.petrolize-modern .language-nav-item .btn {
    height: 36px !important;
    width: 36px !important;
}

body.petrolize-modern .app-sidebar {
    background:
        linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(6, 13, 24, 1) 52%, rgba(8, 25, 35, .98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 16px);
}

body.petrolize-modern .app-sidebar-logo {
    min-height: 72px;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

body.petrolize-modern .app-sidebar-logo img.app-sidebar-logo-default {
    max-width: 140px !important;
}

body.petrolize-modern #kt_app_sidebar_menu_scroll {
    margin-bottom: 8px !important;
    margin-top: 8px !important;
}

body.petrolize-modern .app-sidebar .menu-column > .menu-item.pt-5 {
    padding-top: 12px !important;
}

body.petrolize-modern .app-sidebar .menu-column > .menu-item.pt-5 .menu-content {
    padding: 4px 10px 5px !important;
}

body.petrolize-modern .app-sidebar .menu-heading {
    color: #7e90aa !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
}

body.petrolize-modern .app-sidebar .menu-item {
    margin: 0 !important;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link {
    border: 1px solid transparent;
    font-size: 12.5px !important;
    gap: 8px;
    min-height: 38px !important;
    padding: 6px 9px !important;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link .menu-title {
    color: inherit;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    line-height: 1.15;
}

body.petrolize-modern .app-sidebar .menu-icon {
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .055);
    flex-basis: 30px;
    height: 30px;
    margin-inline-end: 7px;
    width: 30px;
}

body.petrolize-modern .app-sidebar .menu-icon i {
    font-size: 18px !important;
}

body.petrolize-modern .app-sidebar .menu-sub .menu-link {
    margin-inline-start: 10px !important;
    min-height: 32px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

body.petrolize-modern .app-sidebar .menu-sub .menu-title {
    font-size: 12px !important;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link:hover,
body.petrolize-modern .app-sidebar .menu-item.show > .menu-link,
body.petrolize-modern .app-sidebar .menu-link.active {
    background: linear-gradient(90deg, rgba(29, 94, 255, .22), rgba(16, 166, 110, .13));
    border-color: rgba(93, 138, 255, .18);
    box-shadow: inset 3px 0 0 #22c55e;
    color: #ffffff;
}

[dir="rtl"] body.petrolize-modern .app-sidebar .menu-item .menu-link:hover,
[dir="rtl"] body.petrolize-modern .app-sidebar .menu-item.show > .menu-link,
[dir="rtl"] body.petrolize-modern .app-sidebar .menu-link.active {
    box-shadow: inset -3px 0 0 #22c55e;
}

body.petrolize-modern .app-sidebar .menu-item .menu-link:hover .menu-icon,
body.petrolize-modern .app-sidebar .menu-item.show > .menu-link .menu-icon,
body.petrolize-modern .app-sidebar .menu-link.active .menu-icon {
    background: rgba(255, 255, 255, .14);
}

body.petrolize-modern .table thead th,
body.petrolize-modern .form-label,
body.petrolize-modern label,
body.petrolize-modern .card .card-title {
    font-size: 12.5px;
}

body.petrolize-modern .form-control,
body.petrolize-modern .form-select,
body.petrolize-modern input[type="date"],
body.petrolize-modern input[type="datetime-local"],
body.petrolize-modern input[type="number"],
body.petrolize-modern input[type="text"],
body.petrolize-modern input[type="email"],
body.petrolize-modern input[type="password"],
body.petrolize-modern input[type="search"],
body.petrolize-modern textarea,
body.petrolize-modern select {
    font-size: 13px;
    min-height: 40px;
}

body.petrolize-login .auth-bg--v2 {
    background:
        linear-gradient(90deg, rgba(4, 12, 24, .92) 0%, rgba(7, 19, 35, .86) 44%, rgba(238, 243, 247, .96) 44%, rgba(238, 243, 247, .96) 100%),
        url("../media/images/image-1.png");
    background-position: center;
    background-size: cover;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-bg--v2 {
    background:
        linear-gradient(90deg, rgba(3, 7, 18, .94) 0%, rgba(8, 17, 31, .9) 44%, rgba(8, 14, 25, .96) 44%, rgba(8, 14, 25, .96) 100%),
        url("../media/images/image-1.png");
    background-position: center;
    background-size: cover;
}

body.petrolize-login .auth-shell--v2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 440px);
    max-width: 1180px;
}

body.petrolize-login .auth-visual-panel,
body.petrolize-login .auth-card--v2 {
    border-radius: 8px;
    box-shadow: var(--pz-shadow);
    position: relative;
}

body.petrolize-login .auth-visual-panel {
    background: rgba(9, 19, 34, .72);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #ffffff;
    min-height: 560px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 52px);
}

body.petrolize-login .auth-visual-panel::before {
    background:
        linear-gradient(90deg, rgba(34, 197, 94, .16) 0 1px, transparent 1px 100%),
        linear-gradient(0deg, rgba(96, 165, 250, .12) 0 1px, transparent 1px 100%);
    background-size: 46px 46px;
    content: "";
    inset: 0;
    opacity: .55;
    position: absolute;
}

body.petrolize-login .auth-visual-panel > * {
    position: relative;
    z-index: 1;
}

body.petrolize-login .auth-visual-panel__top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

body.petrolize-login .auth-visual-panel__top img {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    height: 58px;
    padding: 10px 13px;
    width: 168px;
}

body.petrolize-login .auth-visual-panel__top span {
    color: #b7c6da;
    font-size: 12px;
    font-weight: 800;
}

body.petrolize-login .auth-hero-copy {
    max-width: 640px;
}

body.petrolize-login .auth-hero-copy h1 {
    color: #ffffff;
    font-size: clamp(50px, 7vw, 92px);
    font-weight: 850;
    letter-spacing: 0;
    line-height: .92;
    margin: 0 0 18px;
}

body.petrolize-login .auth-hero-copy p {
    color: #c8d6e8;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
    margin: 0;
    max-width: 600px;
}

body.petrolize-login .auth-preview-board {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    margin-top: 38px;
    max-width: 520px;
    padding: 18px;
}

body.petrolize-login .auth-preview-board__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

body.petrolize-login .auth-preview-board__header span,
body.petrolize-login .auth-preview-list span,
body.petrolize-login .auth-preview-grid span {
    color: #aabbd1;
    font-size: 11px;
    font-weight: 800;
}

body.petrolize-login .auth-preview-board__header strong {
    color: #ffffff;
    display: block;
    font-size: 20px;
    font-weight: 850;
}

body.petrolize-login .auth-preview-meter {
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    height: 8px;
    margin: 18px 0;
    overflow: hidden;
}

body.petrolize-login .auth-preview-meter span {
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 72%;
}

body.petrolize-login .auth-preview-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

body.petrolize-login .auth-preview-grid span {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 12px;
}

body.petrolize-login .auth-preview-grid strong {
    color: #ffffff;
    display: block;
    font-size: 24px;
    font-weight: 850;
}

body.petrolize-login .auth-preview-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

body.petrolize-login .auth-preview-list span {
    align-items: center;
    display: flex;
    gap: 9px;
}

body.petrolize-login .auth-preview-list i {
    background: #22c55e;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

body.petrolize-login .auth-card--v2 {
    align-self: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .68);
    padding: 34px;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-card--v2 {
    background: rgba(17, 27, 45, .94);
    border-color: rgba(148, 163, 184, .18);
}

body.petrolize-login .auth-card__brand {
    align-items: center;
    background: var(--pz-sidebar);
    border-radius: 8px;
    display: inline-flex;
    height: 56px;
    margin-bottom: 24px;
    padding: 10px 14px;
    width: 156px;
}

body.petrolize-login .auth-card__brand img {
    max-height: 38px;
    max-width: 128px;
}

body.petrolize-login .auth-card__header {
    margin-bottom: 22px;
}

body.petrolize-login .auth-card__header h2 {
    font-size: 36px;
    font-weight: 850;
    margin-bottom: 6px;
}

body.petrolize-login .auth-card__header p {
    color: var(--pz-muted);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

body.petrolize-login .auth-field input {
    background: #f6f8fb;
    border-color: #dbe4ee;
    font-size: 14px;
    min-height: 48px;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-field input {
    background: #0c1422;
    border-color: #243047;
}

body.petrolize-login .login-btn {
    background: linear-gradient(135deg, #1d5eff, #10a66e);
    min-height: 48px;
}

@media (max-width: 991.98px) {
    body.petrolize-login .auth-bg--v2,
    html[data-bs-theme="dark"] body.petrolize-login .auth-bg--v2 {
        background:
            linear-gradient(180deg, rgba(4, 12, 24, .88), rgba(238, 243, 247, .96)),
            url("../media/images/image-1.png");
        background-position: center;
        background-size: cover;
    }

    html[data-bs-theme="dark"] body.petrolize-login .auth-bg--v2 {
        background:
            linear-gradient(180deg, rgba(3, 7, 18, .92), rgba(8, 14, 25, .96)),
            url("../media/images/image-1.png");
        background-position: center;
        background-size: cover;
    }

    body.petrolize-login .auth-shell--v2 {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    body.petrolize-login .auth-visual-panel {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    body.petrolize-login .auth-visual-panel {
        display: none;
    }

    body.petrolize-login .auth-card--v2 {
        padding: 24px 18px;
    }
}

/* Simple login version */
body.petrolize-login .auth-bg--simple {
    align-items: center;
    background: #eaf1f8;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 64px 18px 28px;
}

html[data-bs-theme="dark"] body.petrolize-login .auth-bg--simple {
    background: #0a1020;
}

body.petrolize-login .auth-shell--simple {
    align-items: stretch;
    background: var(--pz-surface);
    border: 1px solid var(--pz-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(360px, 1fr) minmax(340px, 430px);
    margin: 0 auto;
    max-width: 1040px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

body.petrolize-login .auth-simple-visual {
    background: #0c1728;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

body.petrolize-login .auth-simple-image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

body.petrolize-login .auth-simple-visual::after {
    background: linear-gradient(180deg, rgba(8, 17, 31, .28), rgba(8, 17, 31, .78));
    content: "";
    inset: 0;
    position: absolute;
}

body.petrolize-login .auth-simple-overlay {
    align-content: space-between;
    color: #ffffff;
    display: grid;
    inset: 0;
    padding: 34px;
    position: absolute;
    z-index: 1;
}

body.petrolize-login .auth-simple-overlay img {
    background: rgba(8, 17, 31, .78);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    max-width: 164px;
    padding: 10px 14px;
}

body.petrolize-login .auth-simple-overlay span {
    color: #bfdbfe;
    display: block;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    margin-bottom: 9px;
    text-transform: uppercase;
}

body.petrolize-login .auth-simple-overlay h1 {
    color: #ffffff;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 10px;
}

body.petrolize-login .auth-simple-overlay p {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
    margin: 0;
    max-width: 360px;
}

body.petrolize-login .auth-card--simple {
    align-self: stretch;
    background: var(--pz-surface);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 44px;
}

body.petrolize-login .auth-card__brand--simple {
    align-items: center;
    align-self: flex-start;
    background: var(--pz-sidebar);
    border-radius: 8px;
    display: inline-flex;
    height: 52px;
    margin-bottom: 28px;
    padding: 9px 13px;
    width: 150px;
}

body.petrolize-login .auth-card__brand--simple img {
    max-height: 36px;
    max-width: 122px;
}

body.petrolize-login .auth-card--simple .auth-card__header {
    margin-bottom: 22px;
    text-align: start;
}

body.petrolize-login .auth-card--simple .auth-card__header h2 {
    font-size: 28px;
    font-weight: 850;
    margin-bottom: 5px;
}

body.petrolize-login .auth-card--simple .auth-card__header p {
    color: var(--pz-muted);
    font-size: 12.5px;
    font-weight: 650;
    margin: 0;
}

body.petrolize-login .auth-card--simple .auth-field {
    margin-bottom: 14px;
}

body.petrolize-login .auth-card--simple .auth-field label {
    font-size: 12px;
}

body.petrolize-login .auth-card--simple .auth-field input {
    background: var(--pz-surface-muted);
    border-color: var(--pz-border);
    font-size: 13px;
    min-height: 44px;
}

body.petrolize-login .auth-card--simple .auth-form-row {
    margin: 4px 0 20px;
}

body.petrolize-login .auth-card--simple .login-btn {
    min-height: 44px;
}

body.petrolize-login .auth-card--simple .quote-box {
    font-size: 12px;
    margin-top: 22px;
    padding-top: 16px;
}

body.petrolize-login .auth-card--simple .bottom-text {
    font-size: 11px;
}

@media (max-width: 991.98px) {
    body.petrolize-login .auth-shell--simple {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    body.petrolize-login .auth-simple-visual {
        min-height: 220px;
    }

    body.petrolize-login .auth-simple-overlay {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    body.petrolize-login .auth-bg--simple {
        padding: 58px 12px 18px;
    }

    body.petrolize-login .auth-simple-visual {
        min-height: 170px;
    }

    body.petrolize-login .auth-simple-overlay h1 {
        font-size: 30px;
    }

    body.petrolize-login .auth-card--simple {
        padding: 26px 18px;
    }
}
