:root {
    --pdph-ink: #172b4d;
    --pdph-muted: #6b7890;
    --pdph-primary: #176b87;
    --pdph-primary-dark: #0d465d;
    --pdph-accent: #f08a4b;
    --pdph-surface: #ffffff;
    --pdph-bg: #f3f6f8;
    --pdph-line: #dfe7ec;
    --pdph-shadow: 0 10px 28px rgba(23, 43, 77, .08);
}

html, body {
    min-height: 100%;
}

body {
    background: var(--pdph-bg);
    color: var(--pdph-ink);
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: .92rem;
}

a {
    color: var(--pdph-primary);
}

a:hover {
    color: var(--pdph-primary-dark);
}

.dashboard-shell {
    padding: 0;
}

.dashboard-head {
    align-items: center;
    background: linear-gradient(135deg, rgba(23, 107, 135, 0.08), rgba(240, 138, 75, 0.08));
    border: 1px solid var(--pdph-line);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem;
}

.dashboard-eyebrow {
    color: var(--pdph-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-title {
    color: var(--pdph-ink);
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    font-weight: 800;
    margin: .35rem 0 0;
}

.dashboard-datebox {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--pdph-line);
    border-radius: 12px;
    color: var(--pdph-ink);
    font-weight: 700;
    min-width: 180px;
    padding: .8rem 1rem;
    text-align: right;
}

.dashboard-datebox small {
    color: var(--pdph-muted);
    display: block;
    margin-top: .25rem;
}

.kpi-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid var(--pdph-line);
    border-radius: 18px;
    box-shadow: var(--pdph-shadow);
    padding: 1rem 1.1rem 1rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kpi-card:hover {
    box-shadow: 0 18px 26px rgba(23, 43, 77, .10);
    transform: translateY(-2px);
}

.kpi-topline {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .8rem;
}

.kpi-icon {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-size: 1rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.kpi-blue .kpi-icon { background: rgba(47,128,237,.12); color: #2f80ed; }
.kpi-amber .kpi-icon { background: rgba(242,153,74,.12); color: #f2994a; }
.kpi-green .kpi-icon { background: rgba(39,174,96,.12); color: #27ae60; }
.kpi-purple .kpi-icon { background: rgba(142,68,173,.12); color: #8e44ad; }
.kpi-cyan .kpi-icon { background: rgba(22,166,182,.12); color: #16a6b6; }
.kpi-red .kpi-icon { background: rgba(235,87,87,.12); color: #eb5757; }

.kpi-badge {
    display: none;
}

.kpi-label {
    color: var(--pdph-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.kpi-value {
    color: var(--pdph-ink);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    margin: .25rem 0 .45rem;
}

.kpi-link {
    display: none;
}

.mini-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pdph-line);
    border-radius: 16px;
    box-shadow: var(--pdph-shadow);
    display: flex;
    gap: .9rem;
    min-height: 96px;
    padding: 1rem 1.1rem;
}

.mini-icon {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-size: 1.2rem;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.mini-card-primary .mini-icon { background: rgba(47,128,237,.12); color: #2f80ed; }
.mini-card-success .mini-icon { background: rgba(39,174,96,.12); color: #27ae60; }
.mini-card-warning .mini-icon { background: rgba(242,153,74,.12); color: #f2994a; }
.mini-card-info .mini-icon { background: rgba(22,166,182,.12); color: #16a6b6; }

.mini-label {
    color: var(--pdph-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mini-value {
    color: var(--pdph-ink);
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: .2rem;
}

.panel-card {
    background: #fff;
    border: 1px solid var(--pdph-line);
    border-radius: 18px;
    box-shadow: var(--pdph-shadow);
    height: 100%;
}

.panel-head {
    align-items: center;
    border-bottom: 1px solid var(--pdph-line);
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
}

.panel-head h3 {
    color: var(--pdph-ink);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.panel-head a,
.panel-head span {
    color: var(--pdph-muted);
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

.panel-head a:hover {
    color: var(--pdph-primary);
}

.panel-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.status-panel-body {
    align-items: center;
    display: flex;
    gap: 1.4rem;
}

.status-donut {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 170px;
    justify-content: center;
    min-width: 170px;
    position: relative;
    width: 170px;
}

.status-donut::before {
    background: #fff;
    border-radius: 50%;
    content: "";
    inset: 18px;
    position: absolute;
}

.status-donut > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.status-donut strong {
    color: var(--pdph-ink);
    font-size: 2rem;
    line-height: 1;
}

.status-donut small {
    color: var(--pdph-muted);
    font-size: .75rem;
    margin-top: .3rem;
}

.status-list {
    flex: 1;
    width: 100%;
}

.status-row {
    align-items: center;
    border-bottom: 1px solid #edf2f5;
    color: var(--pdph-ink);
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    padding: .55rem 0;
}

.status-row:last-child {
    border-bottom: 0;
}

.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    font-size: .82rem;
}

.table-modern thead th {
    background: #f8fafb;
    border-bottom: 1px solid var(--pdph-line);
    color: var(--pdph-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.table-modern td, .table-modern th {
    padding: .8rem .9rem;
    vertical-align: middle;
}

.order-badge {
    background: rgba(23, 107, 135, .12);
    border-radius: 8px;
    color: var(--pdph-primary);
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    padding: .28rem .45rem;
    text-decoration: none;
}

.order-date {
    color: var(--pdph-muted);
    font-size: .7rem;
    margin-top: .25rem;
}

.status-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: .36rem .6rem;
}

.status-primary {
    background: rgba(47,128,237,.12);
    color: #2f80ed;
}

.status-warning {
    background: rgba(242,153,74,.12);
    color: #f2994a;
}

.tracking-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
}

.tracking-box {
    background: linear-gradient(180deg, #f8fbfc, #ffffff);
    border: 1px solid var(--pdph-line);
    border-radius: 14px;
    padding: 1rem .85rem;
    text-align: center;
}

.tracking-number {
    color: var(--pdph-ink);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.tracking-box small {
    color: var(--pdph-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.progress-track {
    background: #edf3f6;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
    height: 10px;
}

.progress-bar {
    display: block;
    height: 100%;
}

.alert-stack {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: .8rem 1rem 1rem;
}

.alert-item {
    align-items: center;
    border: 1px solid var(--pdph-line);
    border-radius: 14px;
    color: var(--pdph-ink);
    display: flex;
    gap: .75rem;
    padding: .85rem 1rem;
    text-decoration: none;
}

.alert-item:hover {
    background: #f9fbfc;
}

.alert-item i {
    font-size: 1rem;
}

.alert-item.danger { border-left: 4px solid #eb5757; }
.alert-item.primary { border-left: 4px solid #2f80ed; }
.alert-item.warning { border-left: 4px solid #f2994a; }

.alert-item.danger i { color: #eb5757; }
.alert-item.primary i { color: #2f80ed; }
.alert-item.warning i { color: #f2994a; }

.app-main__inner {
    padding: 1.5rem 1.4rem 2rem;
}

@media (max-width: 1199.98px) {
    .dashboard-datebox {
        min-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .status-panel-body {
        flex-direction: column;
    }

    .tracking-grid {
        grid-template-columns: 1fr;
    }
}

.app-container {
    background: var(--pdph-bg);
    min-height: 100vh;
}

.app-header {
    background: var(--pdph-surface) !important;
    border-bottom: 1px solid var(--pdph-line);
    box-shadow: 0 3px 18px rgba(23, 43, 77, .06) !important;
    margin-left: 230px;
    min-height: 60px;
}

.app-header > .app-header__logo {
    display: none;
}

.app-sidebar > .app-header__logo {
    background: var(--pdph-primary-dark) !important;
    display: flex;
    height: 60px;
    width: 100%;
}

.app-sidebar > .app-header__logo .logo-src {
    align-items: center;
    background: none !important;
    color: #fff;
    display: flex;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.app-sidebar > .app-header__logo .logo-src:after {
    content: "PDPH";
}

.app-header__content {
    padding: 0 1.25rem;
}

.app-header .text-primary {
    color: var(--pdph-primary-dark) !important;
    font-size: 1rem;
    letter-spacing: .01em;
}

.header-user-info .widget-heading {
    color: var(--pdph-ink);
    font-weight: 700;
}

.header-user-info .widget-subheading {
    color: var(--pdph-muted);
}

.app-header .rounded-circle {
    border: 2px solid #d7e4e8;
    padding: 2px;
}

.app-sidebar {
    width: 230px;
    background: var(--pdph-primary-dark) !important;

.dashboard-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.5rem;
    padding: 0;
}

.dashboard-eyebrow {
    color: #2d4761;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
}

.dashboard-title {
    color: #1d2d3d;
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: .25rem 0 0;
    line-height: 1.05;
}

.dashboard-datebox {
    background: transparent;
    border: 0;
    color: #2d4761;
    font-weight: 700;
    min-width: 180px;
    padding: 0;
    text-align: left;
}

.dashboard-datebox small {
    color: #6b7b8f;
    display: block;
    margin-top: .2rem;
}

.kpi-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: .2rem 0 .5rem;
    position: relative;
    transition: none;
}

.kpi-card:hover {
    box-shadow: none;
    transform: none;
}

.kpi-topline {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin-bottom: .7rem;
}

.kpi-icon {
    align-items: center;
    border-radius: 0;
    display: inline-flex;
    font-size: 1.1rem;
    height: auto;
    justify-content: center;
    width: auto;
    margin-right: .55rem;
    color: #2d4761;
}

.kpi-blue .kpi-icon { background: rgba(47,128,237,.12); color: #2f80ed; }
.kpi-amber .kpi-icon { background: rgba(242,153,74,.12); color: #f2994a; }
.kpi-green .kpi-icon { background: rgba(39,174,96,.12); color: #27ae60; }
.kpi-purple .kpi-icon { background: rgba(142,68,173,.12); color: #8e44ad; }
.kpi-cyan .kpi-icon { background: rgba(22,166,182,.12); color: #16a6b6; }
.kpi-red .kpi-icon { background: rgba(235,87,87,.12); color: #eb5757; }

.kpi-badge {
    background: transparent;
    border-radius: 0;
    color: #2d4761;
    font-size: .76rem;
    font-weight: 700;
    padding: 0;
    margin-left: .3rem;
}

.kpi-label {
    color: #5b6d7f;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.kpi-value {
    color: #1f2d3d;
    font-size: clamp(1.2rem, 1.6vw, 1.8rem);
    font-weight: 800;
    margin: .25rem 0 .45rem;
}

.kpi-link {
    color: #2d4761;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.kpi-link:hover {
    text-decoration: underline;
}

.mini-card {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: .9rem;
    min-height: 84px;
    padding: 0 0 .4rem;
}

.mini-icon {
    align-items: center;
    border-radius: 0;
    display: inline-flex;
    font-size: 1.05rem;
    height: auto;
    justify-content: center;
    width: auto;
    color: #35536d;
}

.mini-card-primary .mini-icon { background: rgba(47,128,237,.12); color: #2f80ed; }
.mini-card-success .mini-icon { background: rgba(39,174,96,.12); color: #27ae60; }
.mini-card-warning .mini-icon { background: rgba(242,153,74,.12); color: #f2994a; }
.mini-card-info .mini-icon { background: rgba(22,166,182,.12); color: #16a6b6; }

.mini-label {
    color: #5b6d7f;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mini-value {
    color: #1f2d3d;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: .2rem;
}

.panel-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
}

.panel-head {
    align-items: center;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 0 .75rem;
}

.panel-head h3 {
    color: #1d2d3d;
    font-size: clamp(1.8rem, 2.1vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0;
}

.panel-head a,
.panel-head span {
    color: #2d4761;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.panel-head a:hover {
    color: var(--pdph-primary);
}

.panel-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.status-panel-body {
    align-items: center;
    display: flex;
    gap: 1.4rem;
}

.status-donut {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 170px;
    justify-content: center;
    min-width: 170px;
    position: relative;
    width: 170px;
}

.status-donut::before {
    background: #fff;
    border-radius: 50%;
    content: "";
    inset: 18px;
    position: absolute;
}

.status-donut > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.status-donut strong {
    color: var(--pdph-ink);
    font-size: 2rem;
    line-height: 1;
}

.status-donut small {
    color: var(--pdph-muted);
    font-size: .75rem;
    margin-top: .3rem;
}

.status-list {
    flex: 1;
    width: 100%;
}

.status-row {
    align-items: center;
    border-bottom: 1px solid #edf2f5;
    color: var(--pdph-ink);
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    padding: .55rem 0;
}

.status-row:last-child {
    border-bottom: 0;
}

.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    font-size: .82rem;
}

.table-modern thead th {
    background: #e9efef;
    border-bottom: 1px solid #dfe9eb;
    color: #3a5168;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.table-modern td, .table-modern th {
    padding: .8rem .9rem;
    vertical-align: middle;
}

.table-modern tbody tr {
    border-bottom: 1px solid #e7edf0;
}

.order-badge {
    background: rgba(23, 107, 135, .12);
    border-radius: 8px;
    color: var(--pdph-primary);
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    padding: .28rem .45rem;
    text-decoration: none;
}

.order-date {
    color: var(--pdph-muted);
    font-size: .7rem;
    margin-top: .25rem;
}

.status-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: .36rem .6rem;
}

.status-primary {
    background: rgba(47,128,237,.12);
    color: #2f80ed;
}

.status-warning {
    background: rgba(242,153,74,.12);
    color: #f2994a;
}

.tracking-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
}

.tracking-box {
    background: linear-gradient(180deg, #f8fbfc, #ffffff);
    border: 1px solid var(--pdph-line);
    border-radius: 14px;
    padding: 1rem .85rem;
    text-align: center;
}

.tracking-number {
    color: var(--pdph-ink);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.tracking-box small {
    color: var(--pdph-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.progress-track {
    background: #edf3f6;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
    height: 10px;
}

.progress-bar {
    display: block;
    height: 100%;
}

.alert-stack {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: .8rem 1rem 1rem;
}

.alert-item {
    align-items: center;
    border: 1px solid var(--pdph-line);
    border-radius: 14px;
    color: var(--pdph-ink);
    display: flex;
    gap: .75rem;
    padding: .85rem 1rem;
    text-decoration: none;
}

.alert-item:hover {
    background: #f9fbfc;
}

.alert-item i {
    font-size: 1rem;
}

.alert-item.danger { border-left: 4px solid #eb5757; }
.alert-item.primary { border-left: 4px solid #2f80ed; }
.alert-item.warning { border-left: 4px solid #f2994a; }

.alert-item.danger i { color: #eb5757; }
.alert-item.primary i { color: #2f80ed; }
.alert-item.warning i { color: #f2994a; }

.app-main__inner {
    padding: 1.5rem 1.4rem 2rem;
}

@media (max-width: 1199.98px) {
    .dashboard-datebox {
        min-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    .status-panel-body {
        flex-direction: column;
    }

    .tracking-grid {
        grid-template-columns: 1fr;
    }
}

.app-container {
    background: var(--pdph-bg);
    min-height: 100vh;
}

.app-header {
    background: var(--pdph-surface) !important;
    border-bottom: 1px solid var(--pdph-line);
    box-shadow: 0 3px 18px rgba(23, 43, 77, .06) !important;
    margin-left: 230px;
    min-height: 60px;
}

.app-header > .app-header__logo {
    display: none;
}

.app-sidebar > .app-header__logo {
    background: var(--pdph-primary-dark) !important;
    display: flex;
    height: 60px;
    width: 100%;
}

.app-sidebar > .app-header__logo .logo-src {
    align-items: center;
    background: none !important;
    color: #fff;
    display: flex;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.app-sidebar > .app-header__logo .logo-src:after {
    content: "PDPH";
}

.app-header__content {
    padding: 0 1.25rem;
}

.app-header .text-primary {
    color: var(--pdph-primary-dark) !important;
    font-size: 1rem;
    letter-spacing: .01em;
}

.header-user-info .widget-heading {
    color: var(--pdph-ink);
    font-weight: 700;
}

.header-user-info .widget-subheading {
    color: var(--pdph-muted);
}

.app-header .rounded-circle {
    border: 2px solid #d7e4e8;
    padding: 2px;
}

.app-sidebar {
    width: 230px;
    background: var(--pdph-primary-dark) !important;
    box-shadow: 5px 0 22px rgba(13, 70, 93, .12) !important;
    bottom: 0;
    left: 0;
    position: fixed;
    top: 0;
    z-index: 1038;
}

.app-sidebar__inner {
    padding: .75rem .65rem 1.25rem;
}

.vertical-nav-menu li a {
    border-radius: 7px;
    color: #dcebf0;
    margin: 2px 0;
    padding: .72rem .8rem;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.vertical-nav-menu li a:hover,
.vertical-nav-menu li a.mm-active,
.vertical-nav-menu li a.active {
    background: rgba(255, 255, 255, .13) !important;
    color: #fff !important;
    transform: translateX(2px);
}

.vertical-nav-menu ul:before {
    background: rgba(255, 255, 255, .2);
}

.vertical-nav-menu .app-sidebar__heading {
    color: #8fc4d0;
    font-size: .68rem;
    letter-spacing: .12em;
    margin: 1.2rem .8rem .45rem;
    text-transform: uppercase;
}

.metismenu-icon {
    color: var(--pdph-accent);
    opacity: 1;
}

.app-main__outer {
    background: var(--pdph-bg);
    min-height: calc(100vh - 60px);
}

.app-main {
    display: block !important;
    margin-left: 230px;
    min-height: calc(100vh - 60px);
}

.app-main__inner {
    padding: 1.5rem 1.75rem 2rem;
}

.app-page-title {
    background: transparent;
    margin: 0 0 1.25rem;
    padding: 0;
}

.page-title-heading {
    color: var(--pdph-ink);
    font-size: 1.35rem;
    font-weight: 700;
}

.page-title-subheading {
    color: var(--pdph-muted);
    font-size: .8rem;
    font-weight: 500;
    margin-top: .2rem;
}

.page-title-icon {
    background: #e4f1f3 !important;
    border-radius: 10px;
    color: var(--pdph-primary) !important;
    margin-right: .85rem;
    min-width: 46px;
}

.icon-gradient,
.icon-gradient.bg-plum-plate {
    background: none !important;
    color: var(--pdph-primary) !important;
}

.card,
.main-card {
    background: var(--pdph-surface);
    border: 1px solid var(--pdph-line) !important;
    border-radius: 10px !important;
    box-shadow: var(--pdph-shadow);
}

.card-header {
    background: #fbfcfd;
    border-bottom: 1px solid var(--pdph-line);
    color: var(--pdph-ink);
    font-weight: 700;
    letter-spacing: .01em;
    padding: 1rem 1.2rem;
}

.card-body {
    padding: 1.2rem;
}

.card-footer {
    background: #fbfcfd;
    border-top: 1px solid var(--pdph-line);
}

.widget-content {
    border: 0 !important;
    box-shadow: none;
}

.widget-heading {
    color: var(--pdph-ink);
    font-weight: 700;
}

.widget-subheading,
.sub-label-left,
.sub-label-right {
    color: var(--pdph-muted);
}

.widget-numbers {
    color: var(--pdph-primary) !important;
    font-size: 2rem;
    font-weight: 800;
}

.form-control,
.custom-select,
select.form-control {
    border: 1px solid #cfdce2;
    border-radius: 6px;
    min-height: 42px;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--pdph-primary);
    box-shadow: 0 0 0 .2rem rgba(23, 107, 135, .14);
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--pdph-primary);
    border-color: var(--pdph-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--pdph-primary-dark);
    border-color: var(--pdph-primary-dark);
}

.btn-success {
    background: #2e8b70;
    border-color: #2e8b70;
}

.table {
    color: var(--pdph-ink);
}

.table thead th {
    background: #edf5f6;
    border-bottom: 2px solid #cfe1e5;
    color: var(--pdph-primary-dark);
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table td,
.table th {
    border-color: #e7edf0;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: #f4fafb;
}

.nav-tabs {
    border-bottom-color: var(--pdph-line);
}

.nav-tabs .nav-link {
    border: 0;
    color: var(--pdph-muted);
    font-weight: 700;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid var(--pdph-accent);
    color: var(--pdph-primary-dark);
}

.app-footer {
    background: var(--pdph-surface);
    border-top: 1px solid var(--pdph-line);
    color: var(--pdph-muted);
    min-height: 58px;
}

.app-footer a {
    font-weight: 700;
}

.progress {
    background: #e5edf0;
    border-radius: 20px;
    height: 6px;
}

.progress-bar {
    background: var(--pdph-accent) !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #cfdce2;
    border-radius: 6px;
    padding: .35rem .55rem;
}

.login100-form-title,
.page-title-heading,
h1, h2, h3, h4, h5 {
    letter-spacing: -.02em;
}

.container-login100 {
    background: linear-gradient(135deg, #e8f1f3 0%, #f7f8f5 58%, #f9eee5 100%);
}

.wrap-login100 {
    background: var(--pdph-surface);
    border: 1px solid var(--pdph-line);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(23, 43, 77, .12);
    overflow: hidden;
}

.login100-form-title {
    color: var(--pdph-primary-dark);
}

.login100-form-btn {
    background: var(--pdph-primary);
    border-radius: 6px;
}

.login100-form-btn:hover {
    background: var(--pdph-primary-dark);
}

@media (max-width: 991.98px) {
    .app-header {
        margin-left: 0;
    }

    .app-main {
        margin-left: 0;
    }

    .app-sidebar {
        transform: translateX(-230px);
        transition: transform .25s ease;
        width: 230px;
    }

    .sidebar-open .app-sidebar {
        transform: translateX(0);
    }

    .app-main__inner {
        padding: 1.25rem 1rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .app-main__inner {
        padding: 1rem .75rem 1.25rem;
    }

    .app-header__content {
        padding: 0 .75rem;
    }

    .header-user-info {
        display: none;
    }

    .card-body {
        padding: .9rem;
    }

    .app-footer__inner {
        display: block;
        padding: .8rem;
        text-align: center;
    }
}

.pdph-dashboard .main-header {
    background: #1478b9;
    border-bottom: 0;
    color: #fff;
    min-height: 58px;
}

.pdph-dashboard .main-header .nav-link,
.pdph-dashboard .main-header .navbar-nav .nav-link {
    color: #fff;
}

.pdph-dashboard .main-sidebar {
    background: #172a3c;
}

.pdph-dashboard .brand-link {
    align-items: center;
    background: #1478b9;
    border-bottom: 0;
    display: flex;
    min-height: 58px;
    padding: .55rem .85rem;
}

.pdph-dashboard .brand-mark {
    align-items: center;
    background: #f4c542;
    border-radius: 50%;
    color: #1478b9;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin-right: .55rem;
    width: 34px;
}

.pdph-dashboard .brand-copy {
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.pdph-dashboard .brand-copy strong {
    font-size: .9rem;
}

.pdph-dashboard .brand-copy small {
    font-size: .62rem;
    opacity: .82;
}

.pdph-dashboard .content-wrapper {
    background: #f2f6fa;
}

.pdph-dashboard .content {
    padding-top: 1rem !important;
}

.pdph-dashboard .small-box {
    border-radius: 6px;
    box-shadow: 0 5px 14px rgba(23, 43, 77, .1);
    min-height: 118px;
    overflow: hidden;
}

.pdph-dashboard .small-box h3 {
    font-size: 1.6rem;
    font-weight: 800;
}

.pdph-dashboard .small-box p {
    font-size: .78rem;
    font-weight: 600;
}

.pdph-dashboard .dashboard-card {
    border-radius: 6px !important;
    box-shadow: 0 4px 13px rgba(23, 43, 77, .08);
}

.pdph-dashboard .dashboard-card .card-header {
    padding: .75rem 1rem;
}

.pdph-dashboard .dashboard-heading h1 {
    color: #1b3552;
    font-weight: 700;
}

.pdph-dashboard .dashboard-kpi {
    background: #fff;
    border-left: 4px solid var(--kpi);
    border-radius: 6px;
    box-shadow: 0 4px 13px rgba(23, 43, 77, .08);
    min-height: 132px;
    padding: .85rem .9rem;
    position: relative;
}

.pdph-dashboard .dashboard-kpi-icon {
    align-items: center;
    background: color-mix(in srgb, var(--kpi) 14%, white);
    border-radius: 50%;
    color: var(--kpi);
    display: flex;
    font-size: 1.25rem;
    height: 38px;
    justify-content: center;
    margin-bottom: .45rem;
    width: 38px;
}

.pdph-dashboard .dashboard-kpi .h3 {
    color: #1b3552;
    font-size: 1.5rem;
}

.pdph-dashboard .dashboard-summary {
    background: #fff;
    border: 1px solid #dce6ef;
    border-left: 4px solid #2f80ed;
    border-radius: 6px;
    min-height: 88px;
    padding: .75rem 1rem .65rem 3.1rem;
    position: relative;
}

.pdph-dashboard .dashboard-summary > i {
    color: #2f80ed;
    font-size: 1.55rem;
    left: 1rem;
    position: absolute;
    top: 1.15rem;
}

.pdph-dashboard .dashboard-summary-success { border-left-color: #27ae60; }
.pdph-dashboard .dashboard-summary-success > i { color: #27ae60; }
.pdph-dashboard .dashboard-summary-info { border-left-color: #8e44ad; }
.pdph-dashboard .dashboard-summary-info > i { color: #8e44ad; }
.pdph-dashboard .dashboard-summary-danger { border-left-color: #eb5757; }
.pdph-dashboard .dashboard-summary-danger > i { color: #eb5757; }

.pdph-dashboard .dashboard-donut {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 148px;
    justify-content: center;
    position: relative;
    width: 148px;
}

.pdph-dashboard .dashboard-donut:after {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 92px;
    position: absolute;
    width: 92px;
}

.pdph-dashboard .dashboard-donut > div {
    color: #1b3552;
    font-size: 1.2rem;
    font-weight: 800;
    position: relative;
    text-align: center;
    z-index: 1;
}

.pdph-dashboard .dashboard-donut small {
    display: block;
    font-size: .62rem;
    font-weight: 500;
}

.pdph-dashboard .table thead th {
    background: #f7f9fb;
    border-top: 0;
    color: #60738a;
    font-size: .7rem;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .pdph-dashboard .dashboard-donut {
        height: 120px;
        width: 120px;
    }

    .pdph-dashboard .dashboard-donut:after {
        height: 76px;
        width: 76px;
    }
}

.pdph-dashboard .col-xl-5:has(.dashboard-donut) {
    display: none;
}

.pdph-dashboard .col-xl-5:has(.dashboard-donut) + .col-xl-7 {
    flex: 0 0 100%;
    max-width: 100%;
}