@import url("font-face.css");

/* Account area (layout profile.php). Matches the homepage theme in styles_home.css
   and sits on top of the legacy styles.css, so every rule is scoped to .account-theme. */

.account-theme {
    background: #f5f7fa;
    color: #26364a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.account-theme .acc-body a {
    color: #1476a8;
}

.account-theme h1,
.account-theme h2,
.account-theme h3 {
    color: #17334b;
    font-family: RobotoCondensed-Regular, Arial, sans-serif;
    font-weight: bold;
}

.account-theme .acc-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Header */
.account-theme .acc-topbar {
    border-bottom: 1px solid #e4ebf1;
    background: #f2f6f9;
    color: #52677a;
    font-size: 12px;
}

.account-theme .acc-topbar .acc-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

.account-theme .acc-slogan {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-theme .acc-slogan .fa,
.account-theme .acc-userbar .fa {
    margin-right: 4px;
    color: #f28b35;
}

.account-theme .acc-userbar {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.account-theme .acc-userbar li {
    padding: 0 12px;
    border-left: 1px solid #e4ebf1;
    list-style: none;
    line-height: 36px;
}

.account-theme .acc-userbar a {
    color: #17334b;
}

.account-theme .acc-userbar a:hover {
    color: #e07b28;
    text-decoration: none;
}

.account-theme .acc-userbar .acc-name {
    font-weight: bold;
}

.account-theme .acc-userbar .acc-urgent {
    display: inline-block;
    padding: 0 10px;
    border-radius: 20px;
    background: #fdecea;
    color: #c0362c;
    font-weight: bold;
    line-height: 24px;
}

.account-theme .acc-userbar .acc-urgent .fa {
    color: #c0362c;
}

.account-theme .acc-main {
    background: #fff;
}

.account-theme .acc-main .acc-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.account-theme .acc-logo img {
    display: block;
    height: 52px;
}

.account-theme .acc-sitelinks {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.account-theme .acc-sitelinks li {
    list-style: none;
}

.account-theme .acc-sitelinks a {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    color: #34485c;
    font-weight: bold;
}

.account-theme .acc-sitelinks a:hover {
    background: #fff4e9;
    color: #e07b28;
    text-decoration: none;
}

.account-theme .acc-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border: 1px solid #e4ebf1;
    border-radius: 12px;
    color: #647589;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.account-theme .acc-cart:hover {
    border-color: #f7c89e;
    box-shadow: 0 6px 18px rgba(23, 51, 75, .08);
    text-decoration: none;
}

.account-theme .acc-cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #17334b;
    color: #fff;
    font-size: 18px;
    line-height: 42px;
    text-align: center;
}

.account-theme .acc-cart-icon .fa {
    line-height: 42px;
}

/* Some pages (order_ship) load Font Awesome 5, which takes over .fa; keep the site's 4.x icons here */
.account-theme .acc-header .fa,
.account-theme #nav.acc-nav .fa {
    font-family: FontAwesome !important;
    font-weight: normal !important;
}

.account-theme .acc-cart-icon em {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 10px;
    background: #f28b35;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    line-height: 16px;
}

.account-theme .acc-cart-text strong {
    display: block;
    color: #17334b;
    font-family: RobotoCondensed-Regular, Arial, sans-serif;
    font-size: 15px;
}

/* Account menu */
.account-theme #nav.acc-nav {
    height: auto;
    background: #17334b;
}

.account-theme #nav.acc-nav ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.account-theme #nav.acc-nav li a {
    height: auto;
    padding: 0 16px;
    color: #fff;
    font-family: RobotoCondensed-Regular, Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 50px;
}

.account-theme #nav.acc-nav li a .fa {
    margin-right: 5px;
    opacity: .75;
}

.account-theme #nav.acc-nav li a:hover {
    background: rgba(255, 255, 255, .08);
}

.account-theme #nav.acc-nav li a.active,
.account-theme #nav.acc-nav li a.active:hover {
    background: #f28b35;
}

.account-theme #nav.acc-nav li a.active .fa {
    opacity: 1;
}

/* Page body */
.account-theme #body.acc-body {
    max-width: 1280px;
    min-height: 480px;
    margin: 0 auto;
    padding: 28px 16px 48px;
    box-sizing: border-box;
}

/* Cart / order detail (layout 1col.php): centre the legacy content, keep its own form styles */
.account-theme #body.acc-page {
    font-size: 12px;
    max-width: 1280px;
    min-height: 480px;
    margin: 0 auto;
    padding: 12px 16px 48px;
    box-sizing: border-box;
}

.account-theme .acc-page #page-tl h2 {
    color: #17334b;
    font-family: RobotoCondensed-Regular, Arial, sans-serif;
}

.account-theme .acc-body #body {
    margin: 0;
}

.account-theme .acc-body h1 {
    margin: 0 0 14px;
    font-size: 26px;
}

.account-theme .acc-body h3 {
    margin: 0 0 16px;
    font-size: 22px;
}

.account-theme .acc-body:after {
    content: "";
    display: table;
    clear: both;
}

/* Left menu */
.account-theme #sidebar {
    width: 220px;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
    font-size: 13px;
}

.account-theme #content {
    margin-left: 240px;
}

.account-theme #sidebar .menu-v li a,
.account-theme #sidebar .menu-v li a:hover,
.account-theme #sidebar .menu-v li a.active,
.account-theme #sidebar .menu-v li a.active:hover {
    margin: 0 0 2px;
    padding: 10px 12px;
    border-left: none;
    border-radius: 8px;
}

.account-theme #sidebar .menu-v li a {
    color: #34485c;
}

.account-theme #sidebar .menu-v li a:hover {
    background: #f2f6f9;
    color: #17334b;
}

.account-theme #sidebar .menu-v li a.active,
.account-theme #sidebar .menu-v li a.active:hover {
    background: #fff4e9;
    color: #d97525;
}

.account-theme #sidebar .menu-v li sup {
    color: #9aabbb;
}

/* Cards: filters, tables, boxes */
.account-theme #filter,
.account-theme .boxcare,
.account-theme .orderslist-ct {
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
}

.account-theme .boxcare,
.account-theme .orderslist-ct {
    overflow-x: auto;
}

/* Keep order / shipment codes on one line instead of breaking at every hyphen */
.account-theme .boxcare td a,
.account-theme .orderslist-ct td a {
    white-space: nowrap;
}

.account-theme #filter {
    margin-bottom: 20px;
    padding: 18px 20px 8px;
}

.account-theme .boxcare {
    margin-bottom: 26px;
}

.account-theme .field .caption {
    color: #34485c;
    font-weight: bold;
    line-height: 32px;
}

.account-theme #filter .field .caption {
    width: 110px;
}

.account-theme #filter .field .fieldtext {
    margin-left: 120px;
}

/* Tables */
.account-theme .orderslist-ct th,
.account-theme .boxcare th {
    padding: 12px 10px;
    border-bottom: 1px solid #e5ebf0;
    background: #f8fafc;
    color: #17334b;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.account-theme .orderslist-ct td,
.account-theme .boxcare td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f4f7;
}

.account-theme .orderslist-ct tr:last-child td,
.account-theme .boxcare tr:last-child td {
    border-bottom: none;
}

.account-theme .orderslist-ct tr:hover td,
.account-theme .boxcare tr:hover td {
    background-color: #fbfcfd;
}

.account-theme .profile th {
    color: #34485c;
    background: none;
    text-transform: none;
    font-size: 13px;
}

/* Tabs */
.account-theme .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    height: auto;
    margin: 0 0 14px;
    padding: 0;
    border-bottom: none;
}

.account-theme .tabs li {
    margin: 0;
}

.account-theme .tabs a,
.account-theme .tabs a.active {
    padding: 0 14px;
    border: 1px solid #e4ebf1;
    border-radius: 20px;
    background: #fff;
    color: #34485c;
    font-weight: bold;
    line-height: 32px;
}

/* Explicit background: order_detail's inline CSS also paints hovered tabs orange */
.account-theme .tabs a:hover {
    border-color: #f7c89e;
    background: #fff4e9;
    color: #e07b28;
}

.account-theme .tabs a.active {
    border-color: #f28b35;
    background: #f28b35;
    color: #fff;
}

.account-theme .tabs a sup {
    color: inherit;
    opacity: .7;
}

/* Paging */
.account-theme .paging a {
    display: inline-block;
    min-width: 30px;
    padding: 0 8px;
    border: 1px solid #e4ebf1;
    border-radius: 8px;
    background: #fff;
    color: #34485c;
    font-size: 13px;
    line-height: 30px;
    box-sizing: border-box;
}

.account-theme .paging a.active,
.account-theme .paging a:hover {
    border-color: #f28b35;
    background: #f28b35;
    color: #fff;
    text-decoration: none;
}

/* Form controls */
.account-theme .acc-body input[type="text"],
.account-theme .acc-body input[type="password"],
.account-theme .acc-body input[type="email"],
.account-theme .acc-body select,
.account-theme .acc-body textarea {
    padding: 6px 10px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background-color: #fff;
    color: #26364a;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.account-theme .acc-body input[type="text"],
.account-theme .acc-body input[type="password"],
.account-theme .acc-body input[type="email"],
.account-theme .acc-body select {
    min-height: 34px;
    box-sizing: border-box;
}

.account-theme .acc-body input:focus,
.account-theme .acc-body select:focus,
.account-theme .acc-body textarea:focus {
    border-color: #f28b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 139, 53, .15);
}

.account-theme .acc-body input[type="submit"],
.account-theme .acc-body input[type="button"],
.account-theme .acc-body button,
.account-theme .acc-body .button {
    padding: 7px 16px;
    border: none;
    border-radius: 8px;
    background: #f28b35;
    color: #fff;
    font-weight: bold;
    text-shadow: none;
    box-shadow: none;
    transition: background .2s ease;
}

.account-theme .acc-body input[type="submit"]:hover,
.account-theme .acc-body input[type="button"]:hover,
.account-theme .acc-body button:hover,
.account-theme .acc-body .button:hover {
    background: #e07b28;
    text-decoration: none;
}

/* Order steps (cart, confirm, order detail) */
.account-theme .acc-page #steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    height: auto;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e4ebf1;
}

.account-theme .acc-page #steps li {
    margin: 0;
    color: #9aabbb;
    font-size: 12px;
    line-height: 24px;
}

.account-theme .acc-page #steps .number {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: #dce4ec;
    color: #647589;
    line-height: 24px;
}

.account-theme .acc-page #steps .active {
    color: #e07b28;
}

.account-theme .acc-page #steps .active .number {
    background: #f28b35;
    color: #fff;
}

.account-theme .acc-page #steps .end {
    color: #17334b;
}

.account-theme .acc-page #steps .end .number {
    background: #17334b;
}

/* Cart (module=cart) */
.account-theme .cart-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 18px;
}

.account-theme .cart-head h2 {
    float: none;
    font-size: 30px;
}

.account-theme .cart-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.account-theme .cart-head .rate {
    float: none;
    margin: 0;
    padding: 8px 14px 8px 34px;
    border: 1px solid #e4ebf1;
    border-radius: 10px;
    background-color: #fff;
    background-position: 10px 50%;
    color: #52677a;
}

.account-theme .cart-head .rate strong {
    color: #d63c1f;
}

.account-theme .cart-btn,
.account-theme .acc-page .cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 2px solid #f28b35;
    border-radius: 10px;
    background: #f28b35;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.account-theme .cart-btn:hover {
    border-color: #e07b28;
    background: #e07b28;
    color: #fff;
    text-decoration: none;
}

.account-theme .cart-btn-ghost,
.account-theme .acc-page .cart-btn-ghost {
    border-color: #dce4ec;
    background: #fff;
    color: #17334b;
}

.account-theme .cart-btn-ghost:hover,
.account-theme .acc-page .cart-btn-ghost:hover {
    border-color: #f28b35;
    background: #fff;
    color: #e07b28;
}

.account-theme .cart-btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

.account-theme .acc-page .carhd {
    margin: 0 0 14px;
    padding: 12px 6px;
    border-radius: 12px;
    background: #17334b;
    font-size: 12px;
    letter-spacing: .3px;
}

.account-theme .acc-page .carhd td {
    vertical-align: middle;
}

.account-theme .acc-page .carhd .cart-select-heading {
    text-align: left;
}

.account-theme .acc-page .carhd .cart-select-heading label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.account-theme .acc-page .carhd .cart-select-heading input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #f28b35;
    cursor: pointer;
}

.account-theme .acc-page .carhd .delete-all {
    color: #f6a865;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0;
}

.account-theme .cart-center {
    text-align: center;
}

.account-theme .acc-page .carcare {
    margin-bottom: 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
}

.account-theme .acc-page .carcare thead th {
    padding: 12px 10px;
    border-bottom: 1px solid #e5ebf0;
    background: #f8fafc;
    color: #34485c;
    font-size: 12px;
    vertical-align: middle;
}

.account-theme .cart-seller {
    text-align: left;
}

.account-theme .cart-seller > span {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.account-theme .cart-seller-name {
    margin-right: 10px;
    color: #17334b;
    font-size: 14px;
}

.account-theme .cart-seller-name .fa {
    margin-right: 6px;
    color: #f28b35;
}

.account-theme .cart-type {
    margin-right: 18px;
    padding: 2px 10px;
    border-radius: 20px;
    background: #e8f0f7;
    color: #1f4f72;
    font-size: 11px;
    font-weight: bold;
}

.account-theme .cart-customer {
    gap: 6px;
    font-weight: normal;
}

.account-theme .cart-customer label {
    margin: 0;
    color: #647589;
    font-weight: bold;
}

.account-theme .acc-page .carcare input[type="text"] {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    color: #26364a;
    font-size: 12px;
    box-sizing: border-box;
}

.account-theme .acc-page .carcare input[type="text"]:focus {
    border-color: #f28b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 139, 53, .15);
}

.account-theme .cart-customer input[type="text"] {
    width: 180px;
}

.account-theme .acc-page .carcare input[type="button"] {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
    color: #17334b;
    font-size: 12px;
    font-weight: bold;
}

.account-theme .acc-page .carcare input[type="button"]:hover {
    border-color: #f28b35;
    color: #e07b28;
}

.account-theme .delete-shop {
    padding: 5px 10px;
    border: 1px solid #f5c2b8;
    border-radius: 8px;
    background: #fff;
    color: #c0362c;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.account-theme .delete-shop:hover {
    background: #fdecea;
}

.account-theme .acc-page .carcare tbody td {
    padding: 14px 10px;
    border-bottom-color: #f1f4f7;
    vertical-align: top;
}

.account-theme .acc-page .carcare tbody tr:last-child td {
    border-bottom: none;
}

.account-theme .acc-page .carcare tbody tr:hover td {
    background: #fbfcfd;
}

.account-theme .acc-page .carcare tbody td .thumb img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e5ebf0;
    border-radius: 10px;
}

.account-theme .acc-page .carcare .info .link {
    margin-bottom: 6px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.account-theme .acc-page .carcare .info .desc {
    margin-bottom: 10px;
    color: #34485c;
}

.account-theme .cart-note {
    display: flex;
    gap: 6px;
    max-width: 600px;
}

.account-theme .cart-note input[type="text"] {
    flex: 1;
    min-width: 0;
}

.account-theme .acc-page .carcare .cart-price {
    color: #17334b;
    font-weight: bold;
}

.account-theme .acc-page .carcare .cart-unit-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #f2f6f9;
    color: #17334b;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.account-theme .acc-page .carcare .cart-unit-price small {
    color: #647589;
    font-size: 10px;
    font-weight: normal;
}

/* Quantity stepper */
.account-theme .acc-page .quantum {
    display: inline-flex;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
}

.account-theme .acc-page .quantum a,
.account-theme .acc-page .quantum input {
    float: none;
}

.account-theme .acc-page .quantum a {
    width: 26px;
    padding: 0;
    background: #f2f6f9;
    color: #17334b;
    font-size: 15px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
}

.account-theme .acc-page .quantum a:hover {
    background: #fff4e9;
    color: #e07b28;
}

.account-theme .acc-page .carcare .quantum input[type="text"] {
    width: 38px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
}

/* Per-item delete: always visible, trash icon */
.account-theme .acc-page .delete {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff;
    text-indent: 0;
    text-align: center;
    line-height: 30px;
}

.account-theme .acc-page .delete:before {
    content: "\f014";
    color: #9aabbb;
    font-family: FontAwesome;
    font-size: 15px;
}

.account-theme .acc-page .delete:hover {
    background: #fdecea;
}

.account-theme .acc-page .delete:hover:before {
    color: #c0362c;
}

.account-theme .cart-empty {
    padding: 50px 20px;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    color: #647589;
    text-align: center;
}

.account-theme .cart-empty > .fa {
    color: #c3ced8;
    font-size: 46px;
}

.account-theme .cart-empty p {
    margin: 12px 0 18px;
    font-size: 15px;
}

/* Sticky checkout bar */
.account-theme .acc-page .cart-bottom {
    padding: 0;
}

.account-theme .cart-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    border-top: 1px solid #e4ebf1;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(23, 51, 75, .1);
}

.account-theme .cart-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px;
    box-sizing: border-box;
}

.account-theme .cart-bar-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #34485c;
    font-weight: bold;
    cursor: pointer;
}

.account-theme .cart-bar-delete {
    color: #c0362c;
    font-weight: bold;
}

.account-theme .cart-bar-total {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 22px;
    color: #52677a;
    font-size: 13px;
}

.account-theme .cart-bar-count strong {
    color: #17334b;
}

.account-theme .cart-bar-money strong {
    color: #d63c1f;
    font-size: 20px;
}

.account-theme .cart-bar-money em {
    margin-left: 4px;
    color: #17334b;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
}

.account-theme .cart-bar form {
    margin: 0;
}

/* Leave room so the sticky bar never covers the footer text */
.account-theme:has(.cart-bar) .acc-footer {
    padding-bottom: 96px;
}

/* Order ship lookup (order_ship) */
.account-theme .ship-filter {
    padding: 18px 20px 4px;
}

.account-theme .ship-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

.account-theme .ship-field {
    flex: 1 1 180px;
    margin-bottom: 14px;
}

.account-theme .ship-field-wide {
    flex: 2 1 320px;
}

.account-theme .ship-field label {
    display: block;
    margin-bottom: 6px;
    color: #34485c;
    font-size: 12px;
    font-weight: bold;
}

.account-theme .ship-field input[type="text"],
.account-theme .ship-field select {
    width: 100%;
    height: 38px;
}

.account-theme .ship-date {
    position: relative;
}

.account-theme .ship-date .fa {
    position: absolute;
    top: 50%;
    left: 12px;
    margin-top: -7px;
    color: #9aabbb;
    pointer-events: none;
}

.account-theme .ship-date input[type="text"] {
    padding-left: 34px;
}

.account-theme .ship-field-action {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
}

.account-theme .ship-field-action button {
    height: 38px;
    padding: 0 22px;
}

.account-theme .ship-count {
    margin: 0 0 12px;
    color: #647589;
}

.account-theme .ship-count strong {
    color: #17334b;
}

.account-theme .ship-table th,
.account-theme .ship-table td {
    text-align: center;
    vertical-align: middle;
}

.account-theme .ship-table .ship-left {
    text-align: left;
}

.account-theme .ship-table thead tr:first-child th {
    border-bottom: 1px solid #e5ebf0;
}

.account-theme .ship-table th.ship-group {
    background: #17334b;
    color: #fff;
    border-left: 2px solid #fff;
}

.account-theme .ship-table thead tr:nth-child(2) th {
    background: #eef3f7;
    color: #52677a;
    font-size: 11px;
}

.account-theme .ship-code {
    display: block;
    color: #17334b;
}

.account-theme .ship-sub {
    display: block;
    color: #647589;
    font-size: 12px;
}

/* Completed step: one-line green tag "✓ time" */
.account-theme .ship-done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
    background: #e9f7ef;
    color: #1d7a45;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.account-theme .ship-done .fa {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1f9d55;
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
}

.account-theme .ship-pending {
    color: #c3ced8;
}

.account-theme .ship-table td.ship-empty {
    padding: 34px 10px;
    color: #647589;
}

.account-theme .ship-empty .fa {
    display: block;
    margin-bottom: 8px;
    color: #c3ced8;
    font-size: 32px;
}

/* Shipment history (user_baohuo) */
.account-theme .baohuo-page:after {
    content: "";
    display: table;
    clear: both;
}

.account-theme .baohuo-page #content {
    margin-left: 0;
    min-width: 0;
}

.account-theme .baohuo-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
}

.account-theme .baohuo-heading h1 {
    margin: 4px 0 5px;
    font-size: 28px;
}

.account-theme .baohuo-heading p {
    margin: 0;
    color: #647589;
}

.account-theme .baohuo-eyebrow {
    color: #e07b28;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.account-theme .baohuo-filter {
    padding: 18px 20px 20px !important;
}

.account-theme .baohuo-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.account-theme .baohuo-filter-title h2 {
    margin: 0;
    font-size: 17px;
}

.account-theme .baohuo-filter-title h2 .fa {
    margin-right: 7px;
    color: #f28b35;
}

.account-theme .baohuo-reset {
    color: #647589;
    font-size: 12px;
}

.account-theme .baohuo-reset:hover {
    color: #e07b28;
}

.account-theme .baohuo-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.account-theme .baohuo-filter-field {
    min-width: 0;
}

.account-theme .baohuo-filter-wide {
    grid-column: span 2;
}

.account-theme .baohuo-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: #52677a;
    font-size: 12px;
    font-weight: bold;
}

.account-theme .baohuo-filter-field input,
.account-theme .baohuo-filter-field select {
    width: 100%;
    height: 38px;
}

.account-theme .baohuo-filter-action button {
    width: 100%;
    height: 38px;
    white-space: nowrap;
}

.account-theme .baohuo-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.account-theme .baohuo-summary-card {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #fbfcfd;
}

.account-theme .baohuo-summary-icon {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 10px;
    background: #fff1e5;
    color: #e07b28;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

.account-theme .baohuo-summary-card > div {
    min-width: 0;
}

.account-theme .baohuo-summary-label {
    display: block;
    margin-bottom: 4px;
    color: #647589;
    font-size: 11px;
}

.account-theme .baohuo-summary-card strong {
    display: block;
    overflow: hidden;
    color: #17334b;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-theme .baohuo-summary-card small {
    color: #647589;
    font-size: 11px;
    font-weight: normal;
}

.account-theme .baohuo-list {
    margin-top: 18px;
}

.account-theme .baohuo-table {
    min-width: 1120px;
    border-collapse: collapse;
    text-align: left;
}

.account-theme .baohuo-table th {
    white-space: nowrap;
}

.account-theme .baohuo-table td {
    color: #34485c;
    font-size: 12px;
}

.account-theme .baohuo-table td:nth-child(2) {
    color: #17334b;
    font-weight: bold;
    white-space: nowrap;
}

.account-theme .baohuo-status-cell {
    min-width: 120px;
}

.account-theme .baohuo-status-badge {
    display: inline-block;
    margin: 0 3px 4px 0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.account-theme .baohuo-status-waiting {
    background: #fff4e5;
    color: #b86b16;
}

.account-theme .baohuo-status-shipped {
    background: #eaf3ff;
    color: #2766a6;
}

.account-theme .baohuo-status-received {
    background: #e7f6ec;
    color: #21834a;
}

.account-theme .baohuo-status-closed {
    background: #fdecec;
    color: #c0362c;
}

.account-theme .baohuo-status-time {
    display: block;
    margin: 2px 0;
    color: #c0362c;
    font-size: 11px;
    white-space: nowrap;
}

.account-theme .baohuo-actions {
    min-width: 150px;
}

.account-theme .baohuo-actions a {
    display: inline-block;
    margin: 2px 0;
}

.account-theme .baohuo-actions .baohuo-action-primary {
    padding: 6px 9px;
    border-radius: 6px;
    background: #eaf3ff;
    color: #2766a6;
    font-weight: bold;
    white-space: nowrap;
}

.account-theme .baohuo-actions .baohuo-action-primary:hover {
    background: #dcecff;
    text-decoration: none;
}

.account-theme .baohuo-actions .baohuo-file-link {
    color: #647589;
    font-size: 11px;
}

.account-theme .baohuo-note {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}

.account-theme .baohuo-note input[type="text"] {
    width: 100px;
    min-width: 0;
    height: 30px;
    padding: 4px 7px;
    font-size: 11px;
}

.account-theme .baohuo-note .save_note {
    align-self: center;
    font-size: 11px;
    white-space: nowrap;
}

.account-theme .baohuo-table td.baohuo-empty {
    padding: 42px 12px;
    color: #647589;
    text-align: center;
}

.account-theme .baohuo-empty .fa,
.account-theme .baohuo-empty strong,
.account-theme .baohuo-empty span:last-child {
    display: block;
}

.account-theme .baohuo-empty .fa {
    margin-bottom: 9px;
    color: #c3ced8;
    font-size: 30px;
}

.account-theme .baohuo-empty strong {
    margin-bottom: 5px;
    color: #34485c;
    font-size: 14px;
}

/* Footer */
.account-theme .acc-footer {
    padding: 22px 0;
    background: #17334b;
    color: #b9c8d6;
    font-size: 13px;
}

.account-theme .acc-footer a {
    color: #fff;
}

@media (max-width: 991px) {
    .account-theme .acc-slogan,
    .account-theme .acc-sitelinks {
        display: none;
    }

    .account-theme .acc-main .acc-wrap {
        justify-content: space-between;
    }

    .account-theme .baohuo-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-theme .baohuo-filter-wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .account-theme .acc-topbar .acc-wrap {
        justify-content: flex-end;
    }

    .account-theme .acc-cart-text {
        display: none;
    }

    .account-theme .acc-cart {
        padding: 6px;
    }

    .account-theme #nav.acc-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .account-theme #nav.acc-nav li a {
        white-space: nowrap;
    }

    .account-theme #sidebar {
        float: none;
        width: auto;
        margin-bottom: 16px;
    }

    .account-theme #content {
        margin-left: 0;
        overflow-x: auto;
    }

    .account-theme .profile input[type="text"],
    .account-theme .profile input[type="password"],
    .account-theme .profile select {
        max-width: 100%;
    }

    .account-theme .baohuo-heading h1 {
        font-size: 24px;
    }

    .account-theme .baohuo-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-theme .baohuo-filter-wide {
        grid-column: span 2;
    }

    .account-theme .baohuo-summary {
        grid-template-columns: 1fr;
    }

    .account-theme .baohuo-summary-card {
        padding: 10px 12px;
    }
}

/* Full-width layout for cart / order detail (layout 1col.php, body.acc-wide):
   header, menu, content and checkout bar all stretch together */
.account-theme.acc-wide .acc-wrap,
.account-theme.acc-wide #nav.acc-nav ul,
.account-theme.acc-wide #body.acc-page,
.account-theme.acc-wide .cart-bar-inner {
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
}

/* Cart: line totals and delete aligned with the price tag and quantity stepper */
.account-theme .acc-page .carcare tbody td.cart-unit-price-cell,
.account-theme .acc-page .carcare tbody td.cart-price {
    padding-top: 14px;
}

.account-theme .acc-page .carcare tbody td.cart-price {
    color: #d63c1f;
    font-size: 14px;
    line-height: 30px;
}

/* Order detail (module=order_detail, wrapper .od-page) */
.account-theme .od-page {
    margin: 0;
}

.account-theme .od-page #page-tl h2 {
    font-size: 22px !important;
}

.account-theme .od-page .carhd {
    padding: 0;
}

.account-theme .od-page .carhd td {
    padding: 13px 10px;
}

.account-theme .od-page .button {
    text-transform: none;
}

.account-theme .od-page .carcare tbody td.textright {
    color: #17334b;
    font-weight: bold;
}

.account-theme .od-page .carcare thead th {
    padding: 14px 14px;
    background: #f8fafc;
    line-height: 1.6;
}

.account-theme .od-page .od-shop-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.account-theme .od-page .od-shop-line + .od-shop-line,
.account-theme .od-page .od-buyer {
    margin-top: 8px;
}

.account-theme .od-page .od-shop-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #17334b;
    font-size: 14px;
    font-weight: bold;
}

.account-theme .od-page .od-shop-code .fa {
    color: #f28b35;
}

.account-theme .od-page .od-opts {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.account-theme .od-page .od-opts label,
.account-theme .od-page .od-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid #e4ebf1;
    border-radius: 20px;
    background: #fff;
    color: #52677a;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
}

.account-theme .od-page .od-opts label img {
    height: 16px;
}

.account-theme .od-page .od-label {
    margin-right: 6px;
    color: #8193a5;
    font-weight: normal;
}

.account-theme .od-page .od-buyer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #17334b;
}

.account-theme .od-page .od-buyer > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-theme .od-page .od-buyer .form-buyer {
    display: inline-flex;
    gap: 6px;
    margin: 0;
}

.account-theme .od-page .od-buyer .form-buyer input[type="text"] {
    width: 170px;
}

.account-theme .od-page .od-seller {
    color: #1476a8;
    font-weight: bold;
}

.account-theme .od-page .od-tracking strong {
    color: #17334b;
}

.account-theme .od-page .od-tracking a {
    font-weight: normal;
}

.account-theme .od-page .od-shop-status {
    white-space: nowrap;
}

.account-theme .od-page .od-shop-status .button {
    margin-left: 8px;
}

/* "Sửa" links: the legacy .icon-edit hides its text behind a missing sprite */
.account-theme .od-page .icon-edit {
    display: inline-flex;
    width: auto;
    height: 24px;
    min-height: 24px;
    margin-left: 6px;
    padding: 0 10px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    color: #17334b;
    font-size: 11px;
    font-weight: bold;
    line-height: 22px;
    text-indent: 0;
    vertical-align: middle;
}

.account-theme .od-page .icon-edit:before {
    content: "\f040";
    margin-right: 5px;
    font-family: FontAwesome;
    font-weight: normal;
}

.account-theme .od-page .icon-edit:hover {
    border-color: #f28b35;
    color: #e07b28;
    text-decoration: none;
}

.account-theme .od-page .carcare .note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 640px;
    margin-bottom: 8px;
    background: #fffaf3;
    border-color: #f6e2c8;
}

.account-theme .od-page .od-note-label {
    color: #a3622a;
    font-weight: bold;
}

.account-theme .od-page .carcare tbody td.bo-l {
    color: #34485c;
    line-height: 1.7;
}

.account-theme .od-page .carcare tbody td.bo-l strong {
    color: #d63c1f;
    font-size: 14px;
}

/* Shop chat */
.account-theme .od-page .carcare tfoot td {
    padding: 0 !important;
    border-top: 1px solid #edf1f4;
    background: #fbfcfd;
}

.account-theme .od-page .carcare tfoot .note-view {
    margin: 12px 14px 0;
    max-height: 140px;
    overflow: auto;
    border-radius: 10px;
    background: #fff;
}

.account-theme .od-page .carcare tfoot .note-view:empty {
    display: none;
}

.account-theme .od-page .od-chat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 12px 14px 14px;
}

.account-theme .od-page .od-chat input[type="text"] {
    flex: 1 1 360px;
    height: 36px;
    min-width: 0;
}

.account-theme .od-page .od-chat .button {
    height: 36px;
    padding: 0 16px;
}

/* Summary cards */
.account-theme .od-page .od-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 6px 0 20px;
    padding: 0;
    font-size: 13px;
}

.account-theme .od-page .od-card {
    flex: 1 1 420px;
    padding: 20px 22px;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
}

.account-theme .od-page .od-card h3 {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f4;
    color: #17334b;
    font-size: 17px;
}

.account-theme .od-page .od-card h3 .fa {
    margin-right: 6px;
    color: #f28b35;
}

.account-theme .od-page .od-card th,
.account-theme .od-page .od-card td {
    padding: 8px 0;
    border-bottom: 1px dashed #edf1f4;
    color: #34485c;
    font-size: 13px;
    vertical-align: top;
}

.account-theme .od-page .od-card th {
    width: 45%;
    padding-right: 12px;
    color: #647589;
    font-weight: normal;
    text-align: left;
}

.account-theme .od-page .od-card td {
    text-align: right;
}

/* Same line as the NDT amount, like the original "x NDT - y VND" */
.account-theme .od-page .od-card .od-vnd {
    display: inline;
    color: #34485c;
    white-space: nowrap;
}

.account-theme .od-page .od-card .od-vnd:before {
    content: "- ";
}

.account-theme .od-page .od-card .od-highlight td,
.account-theme .od-page .od-card .od-highlight th {
    border-bottom: none;
}

.account-theme .od-page .od-card-order .od-highlight td[colspan] {
    padding: 10px 12px;
    border-radius: 10px;
    background: #e9f7ef;
    color: #1d7a45;
    text-align: left;
}

.account-theme .od-page .od-card .od-grand th,
.account-theme .od-page .od-card .od-grand td {
    border-bottom: none;
    color: #17334b;
    font-size: 15px;
}

.account-theme .od-page .od-card .od-grand strong {
    color: #d63c1f;
    font-size: 20px;
}

.account-theme .od-page .od-card .od-grand + .od-grand th,
.account-theme .od-page .od-card .od-grand + .od-grand td {
    padding-top: 0;
}

.account-theme .od-page .od-card tr:not(.od-grand) + .od-grand th,
.account-theme .od-page .od-card tr:not(.od-grand) + .od-grand td {
    padding-top: 12px;
    border-top: 2px solid #17334b;
}

.account-theme .od-page .od-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.account-theme .od-page .od-actions:empty {
    display: none;
}

.account-theme .od-page .od-actions .button,
.account-theme .od-page .od-chat .button,
.account-theme .od-page .od-shop-status .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: none;
    border-radius: 10px;
    background: #17334b;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

.account-theme .od-page .od-shop-status .button.btn-yell {
    background: #ff9600;
}

.account-theme .od-page .od-shop-status .button.btn-red {
    background: #e70000;
}

.account-theme .od-page .od-shop-status .button.btn-blue {
    background: #0084cf;
}

.account-theme .od-page .od-shop-status .button.btn-green {
    background: #42a500;
}

.account-theme .od-page .od-shop-status .button.btn-black {
    background: #333;
}

.account-theme .od-page .od-shop-status .button.btn-gray {
    background: #888;
}

.account-theme .od-page .od-shop-status .button.btn-hethang {
    background: #bf3ea2;
}

.account-theme .od-page .od-shop-status .button.label {
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 11px;
    letter-spacing: .2px;
    cursor: default;
}

.account-theme .od-page .od-actions .button:hover,
.account-theme .od-page .od-chat .button:hover {
    background: #e07b28;
}

.account-theme .od-page .od-actions .od-btn-primary {
    margin-left: auto;
    padding: 11px 22px;
    background: #f28b35;
    font-size: 14px;
}

.account-theme .od-page .od-actions .od-btn-danger {
    border: 1px solid #f5c2b8;
    background: #fff;
    color: #c0362c;
}

.account-theme .od-page .od-actions .od-btn-danger:hover {
    background: #fdecea;
    color: #c0362c;
}

/* Confirm cart (module=confirm_cart) */
.account-theme .acc-page .carcare .confirm-note {
    display: inline-block;
    max-width: 600px;
    padding: 6px 10px;
    border: 1px solid #f6e2c8;
    border-radius: 8px;
    background: #fffaf3;
    color: #34485c;
}

.account-theme .acc-page .carcare .confirm-note span {
    color: #a3622a;
    font-weight: bold;
}

.account-theme .confirm-qty {
    display: inline-block;
    min-width: 44px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #f2f6f9;
    color: #17334b;
    font-weight: bold;
}

.account-theme .acc-page .carcare tfoot .confirm-shop-total td {
    padding: 12px 14px;
    border-top: 1px solid #edf1f4;
    background: #fbfcfd;
    color: #647589;
    vertical-align: middle;
}

.account-theme .acc-page .carcare .confirm-shop-total strong {
    color: #17334b;
    font-size: 15px;
}

.account-theme .acc-page .carcare .confirm-shop-total .vnd {
    display: block;
    margin-top: 2px;
    color: #8193a5;
    font-size: 12px;
}

.account-theme .acc-page .confirm-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
    margin: 6px 0 10px;
    padding: 0;
    font-size: 13px;
}

.account-theme .confirm-notice,
.account-theme .confirm-checkout {
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
}

.account-theme .confirm-notice {
    flex: 1 1 380px;
    padding: 20px 22px;
    border-color: #f6e2c8;
    background: #fffaf3;
}

.account-theme .confirm-notice h3,
.account-theme .confirm-checkout h3 {
    margin: 0 0 12px;
    color: #17334b;
    font-size: 17px;
}

.account-theme .confirm-notice h3 .fa {
    margin-right: 6px;
    color: #e07b28;
}

.account-theme .confirm-notice ul {
    margin: 0;
    padding-left: 18px;
    color: #52677a;
    line-height: 1.8;
}

.account-theme .confirm-checkout {
    flex: 0 1 420px;
    margin-left: auto;
    padding: 20px 22px;
}

.account-theme .confirm-checkout h3 {
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f4;
}

.account-theme .confirm-checkout h3 .fa {
    margin-right: 6px;
    color: #f28b35;
}

.account-theme .confirm-checkout form {
    margin: 0;
}

.account-theme .confirm-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    color: #647589;
}

.account-theme .confirm-row strong {
    color: #17334b;
}

.account-theme .confirm-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 2px solid #17334b;
    color: #17334b;
    font-size: 15px;
}

.account-theme .confirm-total div {
    text-align: right;
}

.account-theme .confirm-total strong {
    display: block;
    color: #d63c1f;
    font-size: 22px;
}

.account-theme .confirm-total em {
    color: #17334b;
    font-size: 13px;
    font-style: normal;
    font-weight: bold;
}

.account-theme .confirm-ship {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0 18px;
}

.account-theme .confirm-ship-title {
    grid-column: 1 / -1;
    color: #34485c;
    font-weight: bold;
}

.account-theme .confirm-ship label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    background: #fff;
    color: #34485c;
    font-weight: normal;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.account-theme .confirm-ship label:hover {
    border-color: #f7c89e;
}

.account-theme .confirm-ship label .fa {
    color: #9aabbb;
}

.account-theme .confirm-ship input[type="radio"] {
    margin: 0;
    accent-color: #f28b35;
}

.account-theme .confirm-ship label:has(input:checked) {
    border-color: #f28b35;
    background: #fff4e9;
    color: #17334b;
    font-weight: bold;
}

.account-theme .confirm-ship label:has(input:checked) .fa {
    color: #e07b28;
}

.account-theme .acc-page .confirm-submit {
    justify-content: center;
    width: 100%;
}

/* Admin order detail (module=admin_order_detail, wrapper .od-page.od-admin) */
.account-theme .od-admin #page-tl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 10px 0 16px;
}

.account-theme .od-admin #page-tl h2 {
    float: none;
    margin: 0;
    color: #17334b;
    font-size: 20px !important;
    line-height: 1.5;
}

.account-theme .od-admin #page-tl .rate {
    float: none;
    margin: 0;
    padding: 8px 14px 8px 34px;
    border: 1px solid #e4ebf1;
    border-radius: 10px;
    background-color: #fff;
    background-position: 10px 50%;
}

.account-theme .od-admin .order-info {
    margin-bottom: 16px;
}

.account-theme .od-admin .oda-panel {
    margin-bottom: 22px;
    padding: 16px 20px 18px;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 51, 75, .05);
}

.account-theme .od-admin .oda-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f4;
}

.account-theme .od-admin .oda-panel-head h3 {
    margin: 0;
    color: #17334b;
    font-size: 16px;
}

.account-theme .od-admin .oda-panel-head h3 .fa {
    margin-right: 6px;
    color: #f28b35;
}

.account-theme .od-admin .oda-status {
    padding: 5px 14px;
    border-radius: 20px;
    background: #17334b;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.account-theme .od-admin .oda-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px 16px;
}

.account-theme .od-admin .oda-field-wide {
    grid-column: span 2;
}

.account-theme .od-admin .oda-field label {
    display: block;
    margin-bottom: 5px;
    color: #647589;
    font-size: 12px;
    font-weight: bold;
}

.account-theme .od-admin .oda-ctrl {
    display: flex;
    gap: 6px;
}

.account-theme .od-admin .oda-ctrl select,
.account-theme .od-admin .oda-ctrl input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
    color: #26364a;
    font-size: 13px;
    box-sizing: border-box;
}

.account-theme .od-admin input[type="button"],
.account-theme .od-admin .carcare form button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
    color: #17334b;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.account-theme .od-admin .oda-ctrl input[type="button"] {
    height: 34px;
}

.account-theme .od-admin input[type="button"]:hover,
.account-theme .od-admin .carcare form button:hover {
    border-color: #f28b35;
    color: #e07b28;
}

.account-theme .od-admin .carcare input[type="text"] {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    color: #26364a;
    font-size: 12px;
    box-sizing: border-box;
}

.account-theme .od-admin input[type="text"]:focus,
.account-theme .od-admin select:focus {
    border-color: #f28b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 139, 53, .15);
}

/* Shop header */
.account-theme .od-admin .carcare thead th {
    padding: 12px 12px;
    line-height: 1.6;
    vertical-align: middle;
}

.account-theme .od-admin .oda-id {
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 20px;
    background: #eef3f7;
    color: #647589;
    font-size: 11px;
    font-weight: normal;
}

.account-theme .od-admin .oda-inline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.account-theme .od-admin .oda-inline > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.account-theme .od-admin .oda-inline .taobao_code,
.account-theme .od-admin .oda-inline .syns_order {
    width: 150px;
}

.account-theme .od-admin .oda-inline .editable {
    color: #17334b;
    font-weight: bold;
}

.account-theme .od-admin .od-shop-status {
    white-space: normal;
}

.account-theme .od-admin .od-shop-status .button,
.account-theme .od-admin .od-shop-status input[type="button"] {
    margin: 2px 0 2px 6px;
}

/* Item rows */
.account-theme .od-admin .link,
.account-theme .od-admin .info {
    width: auto;
    max-width: 520px;
}

.account-theme .od-admin .carcare tbody td {
    color: #34485c;
}

.account-theme .od-admin .carcare tbody td.bg-delete {
    background-color: #f6f1ef !important;
    color: #9aabbb;
}

.account-theme .od-admin .carcare .info > div:first-child {
    margin-bottom: 4px;
    color: #8193a5;
    font-size: 11px;
    word-break: break-all;
}

.account-theme .od-admin .carcare .note:not(:empty) {
    display: inline-block;
    margin: 4px 0 6px;
    padding: 5px 10px;
    border: 1px solid #f6e2c8;
    border-radius: 8px;
    background: #fffaf3;
    color: #6b4a2e;
}

.account-theme .od-admin .carcare .note-view {
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f8fafc;
}

.account-theme .od-admin .item-comment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.account-theme .od-admin .item-comment input[type="text"] {
    width: 220px;
}

.account-theme .od-admin .carcare .icon-edit:empty {
    width: 24px;
    padding: 0;
    justify-content: center;
}

.account-theme .od-admin .carcare .icon-edit:empty:before {
    margin: 0;
}

.account-theme .od-admin .carcare tbody td.bo-l {
    font-size: 12px;
    line-height: 1.7;
    vertical-align: top;
}

.account-theme .od-admin .carcare tbody td.bo-l > div:first-child strong {
    color: #d63c1f;
    font-size: 16px;
}

/* Wider "Tổng tiền" column: same class on the header cell and the body cell keeps them aligned */
.account-theme .od-admin .oda-col-total {
    width: 230px !important;
    min-width: 230px;
    box-sizing: border-box;
}

/* Title TQ / Title VN / KL: label on its own line, input and "Lưu" on one row */
.account-theme .od-admin .carcare tbody td.bo-l p:has(.oda-lbl) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 6px;
    margin: 8px 0;
    text-align: left;
}

.account-theme .od-admin .carcare tbody td.bo-l p .oda-lbl {
    grid-column: 1 / -1;
    color: #647589;
    font-weight: bold;
}

.account-theme .od-admin .carcare tbody td.bo-l p input[type="text"] {
    width: 100% !important;
    min-width: 0;
}

.account-theme .od-admin .carcare tbody td.bo-l hr {
    margin: 10px 0;
    border: none;
    border-top: 1px dashed #dce4ec;
}

.account-theme .od-admin .carcare .empty {
    color: #c0362c;
    font-weight: bold;
}

.account-theme .od-admin .carcare .empty-item {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #f5c2b8;
    border-radius: 8px;
    color: #c0362c;
    font-size: 11px;
    font-weight: bold;
}

/* Shop chat (inline width 700px in the markup) */
.account-theme .od-admin .carcare tfoot td {
    border-top: 1px solid #edf1f4;
    background: #fbfcfd;
}

.account-theme .od-admin .carcare tfoot .note-view {
    margin: 12px 14px 0;
    max-height: 140px;
    overflow: auto;
    background: #fff;
}

.account-theme .od-admin .carcare tfoot .note-view.thong-bao-khan {
    border: 1px solid #f5c2b8;
}

.account-theme .od-admin .shop-comment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0;
    padding: 12px 14px 14px;
}

.account-theme .od-admin .shop-comment input[type="text"] {
    flex: 1 1 360px;
    width: auto !important;
    height: 36px !important;
}

.account-theme .od-admin .shop-comment .button {
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: #17334b;
    color: #fff;
    text-transform: none;
}

.account-theme .od-admin .shop-comment .button:hover {
    background: #e07b28;
    color: #fff;
}

/* Summary */
.account-theme .od-admin .od-summary .od-card-order .oda-actions {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f4;
}

.account-theme .od-admin .od-actions .od-btn-warn {
    border: 1px solid #f7c89e;
    background: #fff;
    color: #d97525;
}

.account-theme .od-admin .od-actions .od-btn-warn:hover {
    background: #fff4e9;
    color: #d97525;
}

.account-theme .od-admin .od-card tr.total th,
.account-theme .od-admin .od-card tr.total td {
    color: #1d7a45;
}

.account-theme .od-admin .od-card tr.oda-remain th,
.account-theme .od-admin .od-card tr.oda-remain td {
    padding-top: 10px;
    border-top: 1px solid #dce4ec;
    color: #d63c1f;
    font-size: 15px;
    font-weight: bold;
}

.account-theme .od-admin .od-card .t-red {
    color: #d63c1f;
}

.account-theme .od-admin .carcare .note-view:empty {
    display: none;
}
