:root {
    --box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.20);
}



.customer_dashboard_wrap {
    display: flex;
}

.dashboard_sidebar {
    width: 270px;
    background-color: var(--white-color);
    margin-right: 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.dashboard_sidebar .dash-toggle {
    left: auto;
    right: 10px;
    top: 8px;
}

.dashboard-main-wrapper {
    position: relative;
    width: calc(100% - 270px);
    transition: var(--transition);
}

.dashboard_sidebar>ul {
    padding-left: 0;
    margin-bottom: 0;
    border-radius: var(--border-radius);
}

.dashboard_content {
    background: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-height: 473px;
}

.dashboard_sidebar ul li {
    list-style: none;
}

.dashboard_sidebar ul li a {
    position: relative;
    display: block;
    padding: 12px 15px 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 15px;
    text-transform: capitalize;
    transition: var(--transition);
}

.dashboard_sidebar ul li:first-child a {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.dashboard_sidebar ul li:last-child a {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.dashboard_sidebar ul li+li a {
    border-top: 1px solid #efefef;
}

.sidebar_sub_Menu li+li a {
    border-top: 1px solid #eaeaea !important;
}

.sidebar_sub_Menu li a i {
    margin-right: 2px !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}

.dashboard_sidebar ul li .active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary-color);
}

.dashboard_sidebar ul li a:hover {
    color: var(--secondary-color);
}

.dashboard_sidebar ul li a i {
    margin-right: 10px;
    font-size: 19px;
    vertical-align: middle;
}

.dashboard_sidebar ul li .active {
    background-color: rgb(243 89 41 / 9%);
    color: var(--secondary-color);
}

.visit_graph {
    background-color: var(--white-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    margin-bottom: 25px;
}

.visit_graph h5 {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.in_dp_flex span {
    display: block;
    font-size: 25px;
    font-weight: 600;
}

.graph_art i {
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: var(--border-radius);
    color: var(--white-color);
    font-size: 40px;
}

.first .in_dp_flex span {
    color: #f53c5b;
}

.second .in_dp_flex span {
    color: #3858f9;
}

.third .in_dp_flex span {
    color: #0ba360;
}

.fourth .in_dp_flex span {
    color: #f09819;
}

.first .graph_art i {
    background: linear-gradient(45deg, #f53c5b, #fb768c);
}

.second .graph_art i {
    background: linear-gradient(45deg, #3858f9, #8e79fd);
}

.third .graph_art i {
    background-image: linear-gradient(45deg, #ff5858 0%, #f09819 100%);
}

.fourth .graph_art i {
    background: linear-gradient(to top, #0ba360 0%, #3cba92 100%);
}

.graph_art {
    margin-right: 15px;
}

.dashboard_content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.data_tables table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data_tables th {
    font-weight: 500;
    padding: 10px 15px;
    background: whitesmoke;
    vertical-align: top;
    text-align: left;
}

.data_tables td {
    padding: 10px 15px;
    vertical-align: middle;
    text-align: left;
}

.table>:not(:first-child) {
    border-top: none;
}

.data_tables table tbody tr:nth-child(even) {
    background: whitesmoke;
}

.profile-table th {
    background: transparent;
}

.profile-table table tbody tr:nth-child(even) {
    background: transparent;
}

.this_arrow {
    position: relative;
}

.this_arrow i:last-child {
    color: var(--dark-color);
    font-size: 12px !important;
    transition: ease-in-out .2s;
    float: right;
    margin-top: 5px;
    margin-right: 0;
}

.visible_me {
    transform: rotate(180deg);
}

.sidebar_sub_Menu {
    background-color: #f5f5f5;
    display: none;
}

.visible_me .sidebar_sub_Menu {
    display: block;
}

.sidebar_sub_Menu li a {
    border-radius: 0 !important;
}

.this_arrow a:focus {
    color: var(--primary-color);
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-head .breadcrumbs {
    margin-top: 0;
}

.dashboard-head .breadcrumb {
    margin-top: 0;
    margin-bottom: 0;
}

.dash-toggle i {
    font-size: 27px;
    vertical-align: middle;
    cursor: pointer;
}

.dashboard-wrapper {
    margin-top: 20px;
}

.dash-toggle {
    display: none;
}

.dash-close i {
    font-size: 22px;
    color: var(--secondary-color);
    cursor: pointer;
}

.dash-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.dash-close {
    display: none;
}

.graph-row .col-lg-3 {
    padding-left: 7px;
    padding-right: 7px;
}

.graph-row {
    margin-left: -7px;
    margin-right: -7px;
}

.status-success {
    background: #198754;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--white-color);
    font-weight: 500;
}

.status-pending {
    background: #ffc107;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--white-color);
    font-weight: 500;
}

.status-cancel {
    background: #dc3545;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--white-color);
    font-weight: 500;
}

.status-ready {
    background: #0dcaf0;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--white-color);
    font-weight: 500;
}

.table-btn a {
    display: inline-block;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 8px 20px;
    color: var(--white-color);
    font-size: 15px;
    transition: var(--transition);
}

.table-btn a:hover {
    background: var(--button-hover);
}

.table-btn {
    margin-top: 25px;
}

.dashboard-form label {
    font-weight: 400;
    margin-bottom: 5px;
    display: block;
}

.dashboard-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    height: 40px;
}

.dashboard-form .form-group {
    margin-bottom: 15px;
}

.dashboard-form img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    object-position: center;
    border-radius: 100%;
    border: 2px solid var(--border-color);
}

.dashboard-submit button {
    background: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dashboard-submit button:hover {
    background: var(--button-hover);
}

.input-password {
    position: relative;
}

.input-password span {
    position: absolute;
    top: 12px;
    right: 10px;
    font-size: 18px;
}

.payment-option-dashboard ul {
    display: flex;
}

.main-dashboard {
    min-height: 100%;
}

.payment-option-dashboard ul li {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px 15px;
}

.payment-option-dashboard ul li img {
    height: 40px;
    width: auto;
}

.payment-option-dashboard ul li+li {
    margin-left: 15px;
}

.view-btn {
    display: inline-block;
    background: #ffeeee;
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ffc3c3;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
}

.data_tables .table-responsive>.table-bordered {
    border: 1px solid var(--border-color);
}

.data_tables .table thead th {
    border-bottom: none;
}

.data_tables td b {
    font-weight: 600;
}

.data_tables h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    background: var(--bg-color);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    color: var(--secondary-color);
}

.data_tables td img {
    height: 40px;
    width: auto;
}

.table-actions .button {
    background: var(--secondary-color);
    border: none;
    color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 8px 15px;
    font-weight: 500;
    transition: var(--transition);
}

.table-actions .button:hover {
    background: var(--button-hover);
}

.table-prodcuts a {
    transition: var(--transition);
    display: block;
    line-height: 1.4;
}

.table-prodcuts a:hover {
    color: var(--secondary-color);
}

.wishlist-footer {
    display: flex;
    margin-top: 15px;
}

.wishlist-footer .product-btn {
    flex: 1;
    margin-top: 0;
}

.remove-wishlist {
    flex: 1;
    margin-left: 10px;
}

.remove-wishlist a {
    display: block;
    border: 1px solid var(--secondary-color);
    background: transparent;
    border-radius: var(--border-radius);
    padding: 8px 10px;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.remove-wishlist a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}


/* ==========================================================================
   Customer dashboard - theme pass
   The stat cards shipped with four saturated gradients (pink / blue / green /
   orange) and a 40px 20%-opacity shadow, none of which belongs to the site's
   navy + orange palette. Everything below keeps the original markup and just
   restates the look in theme colours: flat surfaces, hairline borders, one
   accent.
   ========================================================================== */

.dash-greeting {
    margin-bottom: 18px;
}

.dash-greeting h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 4px;
}

.dash-greeting p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

/* --- stat cards ----------------------------------------------------------- */
.graph-row .visit_graph {
    align-items: center;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    /* the shared --box-shadow is 40px at 20% - far too heavy next to the
       hairline borders the rest of the site uses */
    box-shadow: none;
    text-decoration: none;
    transition: var(--transition);
}

.graph-row a.visit_graph:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(35, 47, 62, 0.08);
}

.graph-row .graph_art i {
    height: 46px;
    width: 46px;
    line-height: 46px;
    font-size: 22px;
    color: var(--primary-color);
    background: #F4F5F7;
    border-radius: var(--border-radius);
}

.graph-row a.visit_graph:hover .graph_art i {
    color: var(--white-color);
    background: var(--secondary-color);
}

.graph-row .visit_graph h5 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 2px;
}

/* one number colour for all four, so the row reads as a set rather than as
   four unrelated widgets */
.graph-row .visit_graph .in_dp_flex span,
.graph-row .first .in_dp_flex span,
.graph-row .second .in_dp_flex span,
.graph-row .third .in_dp_flex span,
.graph-row .fourth .in_dp_flex span {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary-color);
}

/* --- sidebar -------------------------------------------------------------- */
.dashboard_sidebar {
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.dashboard_sidebar ul li a {
    font-weight: 500;
    color: var(--primary-color);
}

.dashboard_sidebar ul li a:hover {
    background: #FAFAFA;
}

/* --- content panel -------------------------------------------------------- */
.dashboard_content {
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.data_tables-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.data_tables-head h3 {
    margin-bottom: 0;
}

.dash-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    white-space: nowrap;
}

.dash-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.dash-link i {
    font-size: 11px;
    vertical-align: middle;
}

/* --- table ---------------------------------------------------------------- */
/* every dashboard table except the profile one, which deliberately renders
   header-less rows and has its own overrides above */
.data_tables:not(.profile-table) th {
    background: #FAFAFA;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-color);
    white-space: nowrap;
}

/* zebra striping plus a hover highlight fought each other; one hover tint is
   enough to track a row across six columns */
.data_tables:not(.profile-table) table tbody tr:nth-child(even) {
    background: transparent;
}

.data_tables:not(.profile-table) table tbody tr:hover {
    background: #FAFAFA;
}

.data_tables:not(.profile-table) td b {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- status pills --------------------------------------------------------- */
/* solid bootstrap-ish fills (#198754, #ffc107, #dc3545, #0dcaf0) put four more
   colours on a page that only needs to say "which stage is this". Tinted
   backgrounds carry the same meaning far more quietly. */
.status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
}

.status-pill.status-pending {
    background: #F4F5F7;
    border-color: var(--border-color);
    color: var(--text-color);
}

.status-pill.status-ready,
.status-pill.status-shipped {
    background: rgba(243, 88, 40, 0.10);
    border-color: rgba(243, 88, 40, 0.25);
    color: var(--secondary-color);
}

.status-pill.status-success {
    background: rgba(28, 165, 16, 0.10);
    border-color: rgba(28, 165, 16, 0.25);
    color: var(--additional-color);
}

.status-pill.status-cancel {
    background: #F4F5F7;
    border-color: var(--border-color);
    color: #8A8F98;
}

/* --- details button ------------------------------------------------------- */
/* was pink on pink (#ffeeee / #ffc3c3), which appears nowhere else on the site */
.data_tables .view-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 4px 14px;
    white-space: nowrap;
}

.data_tables .view-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

/* --- empty state ---------------------------------------------------------- */
.dash-empty {
    text-align: center;
    padding: 50px 20px;
}

.dash-empty i {
    display: block;
    font-size: 46px;
    color: #C9CDD3;
}

/* .data_tables h4 styles every h4 in this panel as an inline yellow pill,
   which turned the empty state into a badge sitting beside the icon */
.dash-empty h4 {
    display: block;
    background: transparent;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 12px 0 6px;
}

.dash-empty p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 18px;
}

.dash-empty__cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 9px 22px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.dash-empty__cta:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

@media (max-width: 575px) {
    .dash-greeting h3 {
        font-size: 19px;
    }

    .graph-row .visit_graph {
        padding: 14px;
    }

    .graph-row .visit_graph .in_dp_flex span {
        font-size: 21px;
    }
}

/* --- mobile: off-canvas sidebar ------------------------------------------
   responsive.css already describes this (position:fixed, left:-270px, .active
   to slide in) but it is linked BEFORE dashboard.css, so dashboard.css's
   unconditional "position: relative; width: 270px" won at equal specificity
   and the panel stayed in flow. On a 375px screen that left the content
   column 81px wide. Restating it here, last in the cascade, makes it stick. */
@media (max-width: 991px) {
    .dashboard_sidebar {
        position: fixed;
        top: 0;
        left: -270px;
        bottom: 0;
        width: 270px;
        height: 100%;
        z-index: 1022;
        border: none;
        border-radius: 0;
        margin-right: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    }

    .dashboard_sidebar.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    .dashboard-main-wrapper {
        width: 100%;
    }

    .dash-overlay {
        position: fixed;
        inset: 0;
        z-index: 1021;
        background: rgba(35, 47, 62, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .dash-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.dash-menu-open {
        overflow: hidden;
    }

    /* same cascade problem: dashboard.css hides both unconditionally, so
       responsive.css's "display: block" never landed and the hamburger that
       opens this sidebar was invisible on every dashboard page */
    .dash-toggle,
    .dash-close {
        display: block;
    }

    .dash-toggle i {
        color: var(--primary-color);
    }

    .dashboard_sidebar .dash-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
    }

    /* clear the close button sitting over the first menu item */
    .dashboard_sidebar > ul {
        padding-top: 38px;
    }
}

/* the overlay only exists for the off-canvas state */
.dash-overlay {
    display: none;
}

@media (max-width: 991px) {
    .dash-overlay {
        display: block;
    }
}

/* --- order / cancellation detail ------------------------------------------ */
.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.order-meta__item {
    flex: 1 1 150px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* direct child only: a status pill lives inside this box's <b>, and a plain
   "span" selector turned it into a full-width uppercase block */
.order-meta__item > span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-color);
}

.order-meta__item b {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.order-reason {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.order-reason > span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-color);
}

.order-reason p {
    margin: 0;
    font-size: 14px;
    color: var(--primary-color);
}

/* the old markup used a raw <img width="180" height="180">, so a 1200px photo
   loaded at full size and a missing file showed a broken-image icon */
.order-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white-color);
}

.order-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.order-thumb.is-empty::before {
    content: "\f03e";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 20px;
    color: #C9CDD3;
}

.order-product-name {
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}

.order-product-name:hover {
    color: var(--secondary-color);
}

.order-was {
    margin-left: 5px;
    font-size: 12px;
    color: #9A9A9A;
}

.data_tables tfoot td {
    padding: 12px 15px;
    background: #FAFAFA;
    font-weight: 500;
    text-align: left;
}

.data_tables tfoot td b {
    font-size: 15px;
    color: var(--primary-color);
}

@media (max-width: 575px) {
    .order-meta__item {
        flex: 1 1 100%;
    }
}

/* --- pagination ----------------------------------------------------------- */
.dash-pagination {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-color);
}

.dash-pagination a,
.dash-pagination span[aria-current="page"] span {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.dash-pagination a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

.dash-pagination span[aria-current="page"] span {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}
