body.admin {
    --phum-blue-1: #0b63ff;
    --phum-blue-2: #0a42d1;
    --phum-blue-3: #031c63;
    --phum-blue-4: #08143a;
    --phum-cyan: #8ad8ff;
    --phum-slate: #667892;
    --phum-border: rgba(15, 66, 184, 0.12);
    --phum-shadow: 0 22px 48px rgba(8, 20, 58, 0.08);
    --phum-shadow-soft: 0 14px 30px rgba(10, 66, 209, 0.14);
    background: #f3f8ff;
    color: #183153;
}

body.admin #wrapper,
body.admin .content,
body.admin .screen-options-area {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
}

body.admin #header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 99, 255, 0.08);
    box-shadow: 0 8px 24px rgba(3, 28, 99, 0.05);
}

body.admin #header nav {
    position: relative;
}

body.admin #header > .hide-menu {
    position: absolute !important;
    top: 16px;
    left: 16px;
    margin: 0 !important;
    z-index: 120;
    padding: 8px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(13, 57, 145, 0.14), rgba(11, 99, 255, 0.08)) !important;
    box-shadow: 0 10px 24px rgba(7, 31, 88, 0.12);
}

body.admin #header nav::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(11, 99, 255, 0), rgba(11, 99, 255, 0.75), rgba(138, 216, 255, 0.65), rgba(11, 99, 255, 0));
    opacity: 0.9;
}

body.admin .phum-admin-header-logo,
body.admin .phum-admin-sidebar-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

body.admin .phum-admin-header-logo img {
    height: 46px;
    max-width: 255px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(10, 66, 209, 0.15));
}

body.admin #header #logo {
    margin-left: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
}

@media (max-width: 1400px) {
    body.admin .phum-admin-header-logo img {
        height: 41px;
        max-width: 228px;
    }
}

body.admin .phum-admin-sidebar-brand {
    padding: 22px 18px 6px;
}

body.admin .phum-admin-sidebar-logo {
    width: 100%;
    padding: 16px 14px;
    border-radius: 18px;
    background:
        radial-gradient(circle at left top, rgba(138, 216, 255, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(18, 34, 92, 0.92), rgba(10, 66, 209, 0.95));
    box-shadow: 0 20px 38px rgba(3, 16, 51, 0.3);
}

body.admin .phum-admin-sidebar-logo img {
    height: 34px;
    width: auto;
    max-width: 100%;
    filter: brightness(1.08) saturate(1.03);
}

body.admin .phum-admin-sidebar-caption {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

body.admin .phum-admin-sidebar-caption strong {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.admin .phum-admin-sidebar-caption span {
    color: rgba(231, 242, 255, 0.76);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.admin #menu.sidebar {
    padding-top: 57px;
    background:
        radial-gradient(circle at top left, rgba(138, 216, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #0a163f 0%, #0c255f 52%, #102f72 100%);
    box-shadow: 16px 0 42px rgba(4, 18, 52, 0.18);
    transition: width 0.24s ease, padding 0.24s ease, box-shadow 0.24s ease;
}

body.admin #menu.sidebar .sidebar-user-profile {
    margin-top: 20px !important;
}

body.admin #menu.sidebar .sidebar-user-profile > a {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #eff6ff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.admin #menu.sidebar .sidebar-user-profile > a:hover,
body.admin #menu.sidebar .sidebar-user-profile > a:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(138, 216, 255, 0.34) !important;
}

body.admin #menu.sidebar .sidebar-user-profile .tw-text-neutral-500,
body.admin #menu.sidebar .sidebar-user-profile .tw-text-neutral-300 {
    color: rgba(226, 236, 255, 0.76) !important;
}

body.admin #side-menu {
    padding: 6px 10px 24px;
}

body.admin #side-menu > li > a,
body.admin #side-menu .nav-second-level li > a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body.admin #side-menu > li > a,
body.admin #side-menu .nav-second-level li > a {
    border-radius: 14px;
    color: rgba(232, 241, 255, 0.82);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.admin #side-menu > li > a {
    margin-bottom: 4px;
    min-height: 54px;
    height: auto;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}

body.admin #side-menu > li > a .menu-icon {
    flex: 0 0 24px;
    width: 24px;
    margin-right: 0;
    margin-top: 2px;
    text-align: center;
    font-size: 18px;
}

body.admin #side-menu > li > a .menu-text {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    max-height: calc(1.3em * 2);
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.admin #side-menu > li > a .arrow {
    flex: 0 0 auto;
    margin-left: auto;
    margin-top: 2px;
}

body.admin #side-menu .nav-second-level li > a .sub-menu-text,
body.admin #side-menu .nav-second-level li > a .menu-text {
    flex: 1 1 auto;
    min-width: 0;
    max-height: calc(1.3em * 2);
    overflow: hidden;
    white-space: normal;
    line-height: 1.3;
}

body.admin #side-menu > li > a:hover,
body.admin #side-menu > li.active > a,
body.admin #side-menu > li.mm-active > a {
    background: linear-gradient(135deg, rgba(11, 99, 255, 0.96), rgba(42, 141, 255, 0.92)) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(10, 66, 209, 0.28);
    transform: translateX(2px);
}

body.admin #side-menu > li > a:hover .menu-icon,
body.admin #side-menu > li.active > a .menu-icon,
body.admin #side-menu > li.mm-active > a .menu-icon {
    color: #fff !important;
}

body.admin #side-menu > li > a:hover .menu-text,
body.admin #side-menu > li.active > a .menu-text,
body.admin #side-menu > li.mm-active > a .menu-text {
    color: #fff !important;
}

body.admin #side-menu > li > a .menu-icon,
body.admin #side-menu .nav-second-level li > a .menu-icon,
body.admin #header .icon > a > i,
body.admin #header .icon > a svg,
body.admin #header .hide-menu svg,
body.admin #header .open_newsfeed svg {
    color: #9ccaff !important;
}

body.admin #wrapper {
    transition: margin-left 0.24s ease;
}

body.admin.phum-sidebar-collapsed #menu.sidebar {
    width: 92px !important;
    padding-top: 57px;
    padding-left: 10px;
    padding-right: 10px;
}

body.admin.phum-sidebar-collapsed #wrapper,
body.admin.phum-sidebar-collapsed .btn-bottom-toolbar {
    margin-left: 92px;
    width: calc(100% - 92px);
}

body.admin.phum-sidebar-collapsed #menu.sidebar .sidebar-user-profile {
    margin-top: 18px !important;
}

body.admin.phum-sidebar-collapsed #menu.sidebar .sidebar-user-profile > a {
    padding: 12px 10px !important;
}

body.admin.phum-sidebar-collapsed #menu.sidebar .sidebar-user-profile > a > span {
    justify-content: center;
    width: 100%;
}

body.admin.phum-sidebar-collapsed #menu.sidebar .sidebar-user-profile > a > span > span:last-child,
body.admin.phum-sidebar-collapsed #side-menu > li > a .menu-text,
body.admin.phum-sidebar-collapsed #side-menu > li > a .arrow,
body.admin.phum-sidebar-collapsed #side-menu > li > a .badge,
body.admin.phum-sidebar-collapsed #side-menu .nav-second-level,
body.admin.phum-sidebar-collapsed #setup-menu-item,
body.admin.phum-sidebar-collapsed .phum-admin-sidebar-caption {
    display: none !important;
}

body.admin.phum-sidebar-collapsed #side-menu {
    padding-left: 4px;
    padding-right: 4px;
}

body.admin.phum-sidebar-collapsed #side-menu > li > a {
    min-height: 64px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.admin.phum-sidebar-collapsed #side-menu > li > a .menu-icon {
    float: none;
    display: block;
    width: auto;
    margin-right: 0;
    font-size: 22px !important;
    line-height: 1;
}

body.admin.phum-sidebar-collapsed #side-menu > li > a:hover,
body.admin.phum-sidebar-collapsed #side-menu > li.active > a,
body.admin.phum-sidebar-collapsed #side-menu > li.mm-active > a {
    transform: none;
}

body.admin #side-menu .nav-second-level {
    margin-top: 4px;
}

body.admin #side-menu .nav-second-level li > a:hover,
body.admin #side-menu .nav-second-level li.active > a {
    background: rgba(138, 216, 255, 0.1);
    color: #fff !important;
}

body.admin #side-menu .nav-second-level li.active > a {
    background: linear-gradient(135deg, rgba(11, 99, 255, 0.28), rgba(42, 141, 255, 0.2)) !important;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(138, 216, 255, 0.16);
}

body.admin #side-menu .nav-second-level li.active > a .menu-icon {
    color: #fff !important;
}

body.admin #side-menu .nav-second-level li.active > a .sub-menu-text {
    color: #fff !important;
}

body.admin #header #top_search input,
body.admin #header #top_search input:focus {
    background: linear-gradient(180deg, #f8fbff, #edf4ff) !important;
    border: 1px solid rgba(11, 99, 255, 0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(10, 66, 209, 0.08);
    color: #183153 !important;
}

body.admin #header #top_search_button button,
body.admin #header .hide-menu,
body.admin #header .mobile-menu-toggle,
body.admin #header .navbar-nav > li > a,
body.admin #header .icon > a {
    color: #48698f !important;
}

body.admin #header .navbar-nav > li > a:hover,
body.admin #header .icon > a:hover,
body.admin #header .hide-menu:hover,
body.admin #header .mobile-menu-toggle:hover {
    color: #0a42d1 !important;
}

body.admin #header .hide-menu svg {
    width: 20px !important;
    height: 20px !important;
    color: #153d73 !important;
    stroke-width: 2.2 !important;
}

body.admin #header .hide-menu:hover svg,
body.admin #header .hide-menu:focus svg {
    color: #082b58 !important;
}

body.admin #header .header-notifications .notifications-icon,
body.admin #header .header-timers .top-timers > span:first-child,
body.admin #header .header-todo > a {
    border-radius: 12px;
}

.phum-onboarding-open {
    overflow: hidden;
}

.phum-onboarding-root {
    position: relative;
    z-index: 2000;
}

.phum-onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 17, 49, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2050;
}

.phum-onboarding-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(760px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
    padding: 28px 28px 24px;
    border-radius: 28px;
    color: #ebf4ff;
    background:
        radial-gradient(circle at top left, rgba(138, 216, 255, 0.28), transparent 28%),
        radial-gradient(circle at right center, rgba(11, 99, 255, 0.22), transparent 32%),
        linear-gradient(145deg, rgba(4, 18, 58, 0.98), rgba(10, 66, 209, 0.96) 58%, rgba(11, 99, 255, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 42px 80px rgba(5, 17, 48, 0.34);
    z-index: 2060;
}

.phum-onboarding-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #eef6ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phum-onboarding-close:hover,
.phum-onboarding-close:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.phum-onboarding-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 48px 14px 0;
}

.phum-onboarding-logo {
    display: block;
    width: auto;
    max-width: min(300px, 100%);
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(255, 255, 255, 0.12));
}

.phum-onboarding-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #06215d;
    background: linear-gradient(135deg, #fafdff, #bfe9ff);
    box-shadow: 0 14px 26px rgba(138, 216, 255, 0.2);
}

.phum-onboarding-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(222, 238, 255, 0.82);
}

.phum-onboarding-copy h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.06;
    color: #ffffff;
    text-shadow: 0 16px 28px rgba(4, 13, 40, 0.24);
}

.phum-onboarding-subtitle {
    max-width: 640px;
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(231, 242, 255, 0.9);
}

.phum-onboarding-user {
    margin: 14px 0 0;
    font-size: 15px;
    color: rgba(245, 250, 255, 0.92);
}

.phum-onboarding-user strong {
    color: #ffffff;
}

.phum-onboarding-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.phum-onboarding-card {
    position: relative;
    padding: 20px 18px 18px;
    min-height: 212px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phum-onboarding-card-index {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(219, 234, 255, 0.62);
}

.phum-onboarding-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(138, 216, 255, 0.16));
    box-shadow: 0 16px 30px rgba(4, 13, 40, 0.14);
}

.phum-onboarding-card-icon i {
    font-size: 20px;
}

.phum-onboarding-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.phum-onboarding-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(232, 242, 255, 0.88);
}

.phum-onboarding-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.phum-onboarding-primary {
    min-width: 170px;
    min-height: 48px;
    border-radius: 14px;
    border: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #d9efff);
    color: #082f78;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.phum-onboarding-primary:hover,
.phum-onboarding-primary:focus {
    color: #082f78;
    background: linear-gradient(135deg, #ffffff, #eef8ff);
}

.phum-onboarding-reopen {
    position: fixed;
    right: 22px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #0b63ff, #0a42d1);
    box-shadow: 0 18px 30px rgba(10, 66, 209, 0.28);
    z-index: 2040;
}

.phum-onboarding-reopen:hover,
.phum-onboarding-reopen:focus {
    background: linear-gradient(135deg, #0f74ff, #1d54dd);
    color: #ffffff;
}

.phum-password-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(520px, calc(100vw - 24px));
    transform: translate(-50%, -50%);
    padding: 26px 24px 22px;
    border-radius: 26px;
    color: #ebf4ff;
    background:
        radial-gradient(circle at top left, rgba(138, 216, 255, 0.22), transparent 30%),
        linear-gradient(145deg, rgba(4, 18, 58, 0.98), rgba(10, 66, 209, 0.96) 62%, rgba(11, 99, 255, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 80px rgba(5, 17, 48, 0.38);
    z-index: 2065;
}

.phum-password-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #072862;
    background: linear-gradient(135deg, #ffffff, #d8efff);
}

.phum-password-eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(222, 238, 255, 0.82);
}

.phum-password-copy h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
}

.phum-password-subtitle {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(231, 242, 255, 0.9);
}

.phum-password-form {
    margin-top: 22px;
}

.phum-password-field {
    display: block;
    margin-bottom: 14px;
}

.phum-password-field span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #eff6ff;
}

.phum-password-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(188, 220, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #102047;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.phum-password-field input:focus {
    outline: none;
    border-color: rgba(110, 214, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(110, 214, 255, 0.18);
}

.phum-password-note {
    margin: 4px 0 14px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(231, 242, 255, 0.82);
}

.phum-password-error {
    margin-bottom: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 181, 181, 0.42);
    color: #fff4f4;
    font-size: 13px;
    line-height: 1.5;
}

.phum-password-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #d9efff);
    color: #082f78;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.phum-password-submit:hover,
.phum-password-submit:focus {
    color: #082f78;
    background: linear-gradient(135deg, #ffffff, #eef8ff);
}

body.customers .phum-onboarding-reopen {
    bottom: 20px;
}

@media (max-width: 991px) {
    .phum-onboarding-modal {
        width: min(720px, calc(100vw - 24px));
        padding: 24px 20px 20px;
    }

    .phum-onboarding-grid {
        grid-template-columns: 1fr;
    }

    .phum-onboarding-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .phum-onboarding-modal {
        top: max(10px, env(safe-area-inset-top, 0px));
        left: 50%;
        width: calc(100vw - 16px);
        max-height: calc(100dvh - max(20px, env(safe-area-inset-top, 0px)) - env(safe-area-inset-bottom, 0px));
        padding: 14px 14px 14px;
        border-radius: 20px;
        transform: translateX(-50%);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .phum-onboarding-logo-wrap {
        margin: 0 40px 10px 0;
    }

    .phum-onboarding-logo {
        height: 26px;
        max-width: 220px;
    }

    .phum-onboarding-badge {
        min-height: 28px;
        padding: 0 10px;
        margin-bottom: 10px;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .phum-onboarding-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .phum-onboarding-eyebrow {
        margin-bottom: 6px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .phum-onboarding-copy h2 {
        max-width: calc(100% - 42px);
        font-size: 24px;
        line-height: 1.12;
    }

    .phum-onboarding-subtitle,
    .phum-onboarding-user,
    .phum-onboarding-card p {
        font-size: 13px;
        line-height: 1.55;
    }

    .phum-onboarding-subtitle {
        margin-top: 10px;
    }

    .phum-onboarding-user {
        margin-top: 10px;
    }

    .phum-onboarding-grid {
        gap: 10px;
        margin-top: 14px;
    }

    .phum-onboarding-card {
        padding: 14px 14px 13px;
        border-radius: 18px;
    }

    .phum-onboarding-card-index {
        top: 12px;
        right: 14px;
        font-size: 11px;
    }

    .phum-onboarding-card-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .phum-onboarding-card-icon i {
        font-size: 16px;
    }

    .phum-onboarding-card h3 {
        margin-bottom: 8px;
        padding-right: 34px;
        font-size: 16px;
        line-height: 1.3;
    }

    .phum-onboarding-actions {
        margin-top: 14px;
    }

    .phum-onboarding-primary {
        width: 100%;
        min-height: 44px;
    }

    .phum-onboarding-reopen {
        right: 14px;
        bottom: 14px;
    }

    .phum-password-modal {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px));
        padding: 20px 16px 16px;
        border-radius: 22px;
        overflow-y: auto;
    }
}

body.admin .btn-primary,
body.admin .btn-info,
body.admin .btn-success {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 24px rgba(10, 66, 209, 0.22);
}

body.admin .btn-primary:hover,
body.admin .btn-info:hover,
body.admin .btn-success:hover,
body.admin .btn-primary:focus,
body.admin .btn-info:focus,
body.admin .btn-success:focus {
    background: linear-gradient(135deg, #0a42d1, #2384ff) !important;
    box-shadow: 0 16px 30px rgba(10, 66, 209, 0.28);
    transform: translateY(-1px);
}

body.admin .btn-default,
body.admin .btn-secondary {
    border-color: rgba(11, 99, 255, 0.14) !important;
    color: #244675 !important;
}

body.admin .panel_s,
body.admin .widget,
body.admin .card,
body.admin .dashboard-option,
body.admin .screen-options-btn {
    border-radius: 20px !important;
    border-color: var(--phum-border) !important;
    box-shadow: var(--phum-shadow);
}

body.admin .panel_s .panel-body,
body.admin .widget .panel-body {
    border-radius: 20px;
}

body.admin .panel_s,
body.admin .widget,
body.admin .card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.admin .panel_s:hover,
body.admin .widget:hover,
body.admin .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 56px rgba(8, 20, 58, 0.1);
    border-color: rgba(11, 99, 255, 0.18) !important;
}

body.admin .table thead th,
body.admin .table th {
    color: #33527a;
}

body.admin .table > thead > tr > th,
body.admin .table > tbody > tr > td {
    border-color: rgba(11, 99, 255, 0.08) !important;
}

body.admin .table > thead > tr > th {
    background: linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(235, 244, 255, 0.92));
    font-weight: 700;
    text-transform: none;
}

body.admin .table > tbody > tr {
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

body.admin .table-hover > tbody > tr:hover,
body.admin .table > tbody > tr:hover {
    background: rgba(11, 99, 255, 0.035);
}

body.admin .form-control,
body.admin .selectpicker,
body.admin .bootstrap-select > .dropdown-toggle {
    border-radius: 12px !important;
    border-color: rgba(11, 99, 255, 0.14) !important;
}

body.admin .form-control:focus,
body.admin .bootstrap-select > .dropdown-toggle:focus {
    border-color: rgba(11, 99, 255, 0.45) !important;
    box-shadow: 0 0 0 4px rgba(11, 99, 255, 0.12) !important;
}

body.admin .nav-tabs > li.active > a,
body.admin .nav-tabs > li > a:hover {
    color: #0a42d1 !important;
}

body.admin .nav-tabs {
    border-bottom-color: rgba(11, 99, 255, 0.1);
}

body.admin .nav-tabs > li > a {
    border: 0;
    border-radius: 14px 14px 0 0;
    color: #5a7193;
    font-weight: 600;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.admin .nav-tabs > li.active > a,
body.admin .nav-tabs > li.active > a:focus,
body.admin .nav-tabs > li.active > a:hover {
    background: linear-gradient(180deg, rgba(248, 251, 255, 1), rgba(236, 244, 255, 0.94));
    box-shadow: inset 0 3px 0 rgba(11, 99, 255, 0.9);
}

body.admin .badge.bg-info,
body.admin .bg-info,
body.admin .label-info {
    background: linear-gradient(135deg, #0b63ff, #37a1ff) !important;
}

body.admin .badge,
body.admin .label {
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.admin .bg-success,
body.admin .label-success,
body.admin .badge.bg-success {
    background: linear-gradient(135deg, #0b63ff, #29a3ff) !important;
}

body.admin .bg-warning,
body.admin .label-warning,
body.admin .badge.bg-warning {
    background: linear-gradient(135deg, #f5a300, #ffd15a) !important;
    color: #473000 !important;
}

body.admin .bg-danger,
body.admin .label-danger,
body.admin .badge.bg-danger {
    background: linear-gradient(135deg, #ff5b6a, #ff8b7b) !important;
}

body.admin .bg-primary,
body.admin .label-primary,
body.admin .badge.bg-primary {
    background: linear-gradient(135deg, #0a42d1, #0b63ff) !important;
}

body.admin .dashboard-options .dropdown-menu,
body.admin .dropdown-menu {
    border-radius: 16px;
    border-color: rgba(11, 99, 255, 0.12);
    box-shadow: var(--phum-shadow-soft);
}

body.admin .dropdown-menu > li > a:hover {
    background: rgba(11, 99, 255, 0.06);
    color: #0a42d1;
}

body.admin .phum-quick-create.open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 54, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
}

body.admin .phum-quick-create-menu {
    min-width: 320px !important;
    padding: 10px 8px !important;
    border: 1px solid rgba(11, 99, 255, 0.12) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96)) !important;
    box-shadow: 0 28px 56px rgba(8, 20, 58, 0.18) !important;
    z-index: 1050 !important;
}

body.admin .phum-quick-create-menu .dropdown-header {
    color: #1f3f69;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 8px 12px 10px;
}

body.admin .phum-quick-create-menu > li > a.phum-quick-create-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px !important;
    border-radius: 14px;
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

body.admin .phum-quick-create-menu > li > a.phum-quick-create-link span {
    white-space: nowrap;
}

body.admin .phum-quick-create-menu > li > a.phum-quick-create-link i {
    flex: 0 0 auto;
}

body.admin .phum-quick-create.open > a > span {
    box-shadow: 0 16px 32px rgba(10, 66, 209, 0.28);
    transform: scale(1.03);
}

body.admin .fc-button-primary,
body.admin .dt-button.buttons-collection,
body.admin .dt-button {
    border-radius: 12px !important;
}

body.admin .fc .fc-toolbar-title {
    color: #23456f;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.admin .fc .fc-button-group {
    gap: 8px;
}

body.admin .fc .fc-button-group > .fc-button {
    margin: 0 !important;
    border-radius: 12px !important;
}

body.admin .fc .fc-button-primary {
    border: 1px solid rgba(11, 99, 255, 0.14) !important;
    background: linear-gradient(180deg, #fafdff, #edf5ff) !important;
    color: #244675 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.18s ease;
}

body.admin .fc .fc-button-primary:hover,
body.admin .fc .fc-button-primary:focus {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(10, 66, 209, 0.2);
}

body.admin .fc .fc-button-primary:not(:disabled).fc-button-active,
body.admin .fc .fc-button-primary:not(:disabled):active {
    background: linear-gradient(135deg, #0a42d1, #0b63ff) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(10, 66, 209, 0.24);
}

body.admin .fc .fc-button-primary:disabled {
    opacity: 0.55;
    border-color: rgba(11, 99, 255, 0.08) !important;
    background: linear-gradient(180deg, #f7faff, #eef4fc) !important;
    color: #7a94b6 !important;
}

body.admin .fc-theme-standard .fc-scrollgrid,
body.admin .fc-theme-standard td,
body.admin .fc-theme-standard th {
    border-color: rgba(11, 99, 255, 0.08) !important;
}

body.admin .fc .fc-col-header-cell-cushion,
body.admin .fc .fc-daygrid-day-number,
body.admin .fc .fc-list-day-text,
body.admin .fc .fc-list-day-side-text {
    color: #34547d;
    font-weight: 600;
}

body.admin .fc .fc-day-today {
    background: rgba(11, 99, 255, 0.05) !important;
}

body.admin .xdsoft_datetimepicker {
    border: 1px solid rgba(11, 99, 255, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 50px rgba(8, 20, 58, 0.16) !important;
    overflow: hidden;
}

body.admin .xdsoft_datetimepicker .xdsoft_calendar th,
body.admin .xdsoft_datetimepicker .xdsoft_calendar td,
body.admin .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div {
    background: #fff;
    border-color: rgba(11, 99, 255, 0.08) !important;
    color: #35557f;
}

body.admin .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover,
body.admin .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body.admin .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background: rgba(11, 99, 255, 0.08) !important;
    color: #0a42d1 !important;
}

body.admin .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
body.admin .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current,
body.admin .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
    box-shadow: 0 10px 20px rgba(10, 66, 209, 0.18);
    color: #fff !important;
}

body.admin .dt-button,
body.admin .buttons-collection,
body.admin .paginate_button {
    transition: all 0.18s ease;
}

body.admin .dt-button {
    border-color: rgba(11, 99, 255, 0.14) !important;
    color: #244675 !important;
    background: linear-gradient(180deg, #fafdff, #edf5ff) !important;
}

body.admin .dt-button:hover,
body.admin .dt-button:focus,
body.admin .buttons-collection:hover,
body.admin .buttons-collection:focus {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(10, 66, 209, 0.2);
}

body.admin .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 12px !important;
    border: 1px solid rgba(11, 99, 255, 0.1) !important;
    background: #fff !important;
    color: #34547d !important;
    min-width: 38px;
}

body.admin .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.admin .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 20px rgba(10, 66, 209, 0.18);
}

body.admin .modal-content {
    border: 1px solid rgba(11, 99, 255, 0.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 36px 72px rgba(8, 20, 58, 0.18);
}

body.admin .modal-header {
    background:
        radial-gradient(circle at left top, rgba(138, 216, 255, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(245, 250, 255, 0.98), rgba(233, 242, 255, 0.94));
    border-bottom: 1px solid rgba(11, 99, 255, 0.08);
}

body.admin .modal-title {
    color: #16345c;
    font-weight: 800;
}

body.admin .modal-footer {
    border-top: 1px solid rgba(11, 99, 255, 0.08);
    background: rgba(247, 251, 255, 0.85);
}

body.admin .popover,
body.admin .tooltip-inner,
body.admin .dropdown-menu.search-results,
body.admin .search-history {
    border-color: rgba(11, 99, 255, 0.12);
    box-shadow: 0 24px 48px rgba(8, 20, 58, 0.14);
}

body.admin .popover {
    border-radius: 18px;
}

body.admin .popover-title,
body.admin .popover-header {
    background: linear-gradient(180deg, rgba(248, 251, 255, 1), rgba(236, 244, 255, 0.92));
    border-bottom: 1px solid rgba(11, 99, 255, 0.08);
    color: #183153;
    font-weight: 700;
}

body.admin .tooltip-inner {
    background: rgba(10, 22, 63, 0.94);
    border-radius: 12px;
    color: #eff6ff;
}

body.admin .progress,
body.admin .progress-bar {
    border-radius: 999px;
}

body.admin .progress {
    background: rgba(11, 99, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(3, 28, 99, 0.05);
}

body.admin .progress-bar,
body.admin .progress-bar-success,
body.admin .progress-bar-info {
    background: linear-gradient(135deg, #0b63ff, #2a8dff) !important;
}

body.admin .progress-bar-warning {
    background: linear-gradient(135deg, #f5a300, #ffd15a) !important;
}

body.admin .progress-bar-danger {
    background: linear-gradient(135deg, #ff5b6a, #ff8b7b) !important;
}

body.admin .highcharts-background,
body.admin .apexcharts-canvas,
body.admin .chart,
body.admin .chart-container {
    border-radius: 18px;
}

body.admin .highcharts-axis-line,
body.admin .highcharts-grid-line {
    stroke: rgba(11, 99, 255, 0.08) !important;
}

body.admin .highcharts-color-0,
body.admin .highcharts-series-0 .highcharts-point,
body.admin .apexcharts-series path {
    fill: #0b63ff !important;
    stroke: #0b63ff !important;
}

body.admin .highcharts-color-1,
body.admin .highcharts-series-1 .highcharts-point {
    fill: #39a6ff !important;
    stroke: #39a6ff !important;
}

body.admin .highcharts-color-2,
body.admin .highcharts-series-2 .highcharts-point {
    fill: #8ad8ff !important;
    stroke: #8ad8ff !important;
}

body.admin .highcharts-title,
body.admin .highcharts-axis-title,
body.admin .highcharts-legend-item text {
    fill: #27476f !important;
}

body.admin .highcharts-tooltip text {
    fill: #eaf3ff !important;
}

body.admin .kan-ban-col,
body.admin .kan-ban-col-wrapper {
    border-radius: 20px;
}

@media (max-width: 767px) {
    body.admin .phum-admin-sidebar-brand {
        display: none;
    }

    body.admin #menu.sidebar {
        top: 118px !important;
        height: calc(100dvh - 118px) !important;
        padding-top: 12px !important;
        overflow-y: auto;
    }

    body.admin #menu.sidebar .sidebar-user-profile {
        margin-top: 0 !important;
    }

    body.admin.phum-sidebar-collapsed #menu.sidebar {
        width: 230px !important;
        padding-left: initial;
        padding-right: initial;
    }

    body.admin.phum-sidebar-collapsed #wrapper,
    body.admin.phum-sidebar-collapsed .btn-bottom-toolbar {
        margin-left: 0;
        width: 100%;
    }

    body.admin #header nav::after {
        left: 12px;
        right: 12px;
    }
}

@media (max-width: 991px) {
    body.admin #header {
        min-height: 116px;
    }

    body.admin #header nav > .tw-flex {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0;
    }

    body.admin #header #top_search {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin: 10px 12px 12px 12px !important;
    }

    body.admin #header #top_search input {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.admin #header #top_search_button {
        left: 10px !important;
        right: auto !important;
    }

    body.admin #wrapper {
        padding-top: 56px;
    }

    body.admin .content,
    body.admin .screen-options-area {
        padding-top: 10px;
    }

    body.admin #menu.sidebar {
        top: 118px !important;
        height: calc(100dvh - 118px) !important;
        padding-top: 12px !important;
        overflow-y: auto;
    }

    body.admin #menu.sidebar .sidebar-user-profile {
        margin-top: 0 !important;
    }

    body.admin #header .mobile-menu {
        margin-left: auto !important;
    }
}

@media (max-width: 1200px) {
    body.admin #header #logo {
        margin-left: 64px;
    }
}
