/* ============================================================
   account/account.css — NUO For Life SG
   Edit Account Form — Styles cho trang My Account / Edit Account
   ============================================================ */

/* ============================================================
   BASE FORM — Kế thừa từ auth/auth.css (.nuo-form)
   ============================================================ */
.woocommerce-EditAccountForm.nuo-form label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
    line-height: 1;
}

/* Required star — hiển thị dưới dạng [*] với dấu ngoặc vuông màu xám */
.woocommerce-EditAccountForm.nuo-form label .required {
    color: #E53935 !important;
    margin-left: 5px;
    font-weight: 400;
    text-decoration: none;
}

.woocommerce-EditAccountForm.nuo-form label .required::before {
    content: "[";
    color: #F16A6A;
    margin-right: 1px;
}

.woocommerce-EditAccountForm.nuo-form label .required::after {
    content: "]";
    color: #F16A6A;
    margin-left: 1px;
}

.woocommerce-EditAccountForm.nuo-form .form-row input[type="text"],
.woocommerce-EditAccountForm.nuo-form .form-row input[type="tel"],
.woocommerce-EditAccountForm.nuo-form .form-row input[type="email"],
.woocommerce-EditAccountForm.nuo-form .form-row input[type="password"],
.woocommerce-EditAccountForm.nuo-form .form-row input[type="date"],
.woocommerce-EditAccountForm.nuo-form .form-row select,
.woocommerce-EditAccountForm.nuo-form .form-row textarea {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    background-color: #F2F2F2;
    border: 1px solid #A2A2A2;
    border-radius: 5px;
    padding: 14px 12px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.woocommerce-EditAccountForm.nuo-form .form-row input::placeholder,
.woocommerce-EditAccountForm.nuo-form .form-row textarea::placeholder,
.woocommerce-EditAccountForm.nuo-form .form-row select:invalid,
.woocommerce-EditAccountForm.nuo-form .form-row select option[value=""] {
    color: #A2A2A2 !important;
}

/* ============================================================
   SECTION LAYOUT — Tiêu đề + Divider
   ============================================================ */
.nuo-account-section {
    padding: 24px 0;
}

.nuo-section-title {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1;
}

.nuo-section-divider {
    border: none;
    border-top: 1px dashed #CCCCCC;
    margin: 0;
    width: 100%;
}

/* ============================================================
   FORM ROW GROUP — 2 cột cạnh nhau (First/Last, City/District, Ward/ZIP)
   ============================================================ */
.nuo-form-row-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4%;
}

.nuo-form-row-group .form-row-first {
    width: 48%;
}

.nuo-form-row-group .form-row-last {
    width: 48%;
}

.nuo-form-row-group .clear {
    width: 100%;
}

/* ============================================================
   SELECT WRAPPER — Custom arrow cho dropdown
   ============================================================ */
.nuo-select-wrapper {
    position: relative;
    display: block;
}

.nuo-select-wrapper select {
    background-image: url('https://nuoforlifesg.opsgreat.ws/wp-content/uploads/2026/07/arrow-down.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 40px !important;
    cursor: pointer;
}

/* ============================================================
   DATE PICKER — Custom calendar icon
   ============================================================ */
.nuo-field-date .woocommerce-input-wrapper {
    position: relative;
    display: block;
}

.nuo-field-date input[type="date"] {
    padding-right: 44px;
    position: relative;
}

.nuo-field-date input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 32px;
    height: 32px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
}

.nuo-field-date .woocommerce-input-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('https://nuoforlifesg.opsgreat.ws/wp-content/uploads/2026/07/calendar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   PASSWORD SECTION — Header row + toggle button
   ============================================================ */
.nuo-password-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.nuo-password-header .nuo-section-title {
    margin-bottom: 0;
}

.nuo-toggle-password {
    font-family: 'Familjen Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 0 !important;
    letter-spacing: 0.01em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    outline: none !important;
    box-shadow: none !important;
}

.nuo-toggle-password::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('http://localhost/nuo-sg-main/wp-content/uploads/2026/07/grp.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.nuo-toggle-password:hover {
    color: #333333;
}

/* ============================================================
   POPUP MODALS — Bank account + Password change
   Dùng chung .nuo-popup-overlay để tái sử dụng
   ============================================================ */

/* Overlay chung */
.bank-modal,
.confirm-modal,
.nuo-password-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Khi modal mở: thêm class .is-open hoặc jQuery .show() → display:flex */
.bank-modal.is-open,
.confirm-modal.is-open,
.nuo-password-modal.is-open {
    display: flex;
}

/* Modal content box */
.bank-modal-content,
.confirm-modal-content,
.nuo-password-modal-content {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    max-width: 673px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    box-sizing: border-box;
}

/* Modal header */
.bank-modal-header,
.confirm-modal-header,
.nuo-password-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.bank-modal-header h3,
.confirm-modal-header h3,
.nuo-password-modal-header h3 {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* Close button — dạng icon không viền */
.bank-modal-close,
.confirm-modal-close,
.nuo-password-modal-close {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: 24px !important;
    height: 24px !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    flex-shrink: 0;
}

.bank-modal-close img,
.confirm-modal-close img,
.nuo-password-modal-close img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Modal fields */
.bank-modal-field,
.nuo-password-modal-field {
    margin-bottom: 16px;
}

.bank-modal-field label,
.nuo-password-modal-field label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    display: block;
    margin-bottom: 6px;
}

.bank-modal-field input,
.bank-modal-field select,
.nuo-password-modal-field input {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #F2F2F2;
    border-radius: 5px;
    padding: 12px 8px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease;
}

.bank-modal-field select {
    background-image: url('https://nuoforlifesg.opsgreat.ws/wp-content/uploads/2026/07/arrow-down.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 40px !important;
    cursor: pointer;
}

.bank-modal-field input:focus,
.bank-modal-field select:focus,
.nuo-password-modal-field input:focus {
    border-color: #000000;
}

/* Modal save button — dạng khối màu đen đặc chữ trắng */
.bank-modal-save,
.nuo-password-modal-save {
    font-family: 'Familjen Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 11px 11px !important;
    cursor: pointer !important;
    margin-top: 16px !important;
    width: 100% !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.bank-modal-save:hover,
.nuo-password-modal-save:hover {
    background: #333333 !important;
    color: #FFFFFF !important;
}

/* Confirm modal */
.confirm-modal-icon {
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
    color: #E53935;
}

.confirm-modal-message {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 15px;
    color: #333333;
    text-align: center;
    margin-bottom: 24px;
}

.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-button {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
    transition: background 0.2s ease, color 0.2s ease;
}

.confirm-yes {
    background: #000000;
    color: #FFFFFF;
}

.confirm-yes:hover {
    background: #333333;
}

.confirm-cancel:hover {
    background: #F2F2F2;
}

/* ============================================================
   ACCOUNT FOOTER — Terms checkbox + Save button
   ============================================================ */
.nuo-account-footer {
    padding: 24px 0 0 0;
}

/* Terms checkbox */
.nuo-tc-row {
    margin-bottom: 24px !important;
}

.nuo-tc-row .nuo-checkbox-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
}

.nuo-tc-row .nuo-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid #CCCCCC;
    border-radius: 4px;
    background-color: #FFFFFF;
    cursor: pointer;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 !important;
    transition: border-color 0.2s ease;
}

.nuo-tc-row .nuo-checkbox-wrapper input[type="checkbox"]:checked {
    border-color: transparent;
    background-image: url('https://nuoforlifesg.opsgreat.ws/wp-content/uploads/2026/06/container.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.nuo-tc-row .nuo-checkbox-wrapper span {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.nuo-tc-row .nuo-checkbox-wrapper a {
    color: #369E84;
    text-decoration: underline;
}

.nuo-tc-row .nuo-checkbox-wrapper a:hover {
    text-decoration: none;
}

/* Save button: dùng chung .nuo-btn từ auth/auth.css */
.nuo-save-row {
    height: 58px !important;
    position: relative !important;
    overflow: visible !important;
    margin: 0 !important;
}

button.nuo-save-btn {
    color: #000000 !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

button.nuo-save-btn:hover::before {
    transform: translateY(10px) !important;
}

button.nuo-save-btn:hover::after {
    transform: translateY(-10px) !important;
}

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 767px) {

    .nuo-form-row-group .form-row-first,
    .nuo-form-row-group .form-row-last {
        width: 100%;
    }
}

/* ============================================================
   BANK ACCOUNT LIST & EMPTY STATE STYLING
   ============================================================ */
.bank-account-list .empty-state {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-account-list .empty-state b {
    font-size: 15px;
    color: #000000;
    font-weight: 700;
}

.bank-account-list .empty-state .nuo-cl-secondary {
    font-size: 13px;
    color: #888888;
    line-height: 1.5;
    margin-top: 4px;
}

/* Wrapper cho các nút phong cách gọng (nuo-btn) */
.nuo-btn-wrapper {
    height: 58px !important;
    position: relative !important;
    overflow: visible !important;
    margin: 16px 0 0 0 !important;
    width: 100% !important;
    display: block !important;
}

.nuo-btn-wrapper button.nuo-btn {
    color: #000000 !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.nuo-btn-wrapper button.nuo-btn:hover::before {
    transform: translateY(10px) !important;
}

.nuo-btn-wrapper button.nuo-btn:hover::after {
    transform: translateY(-10px) !important;
}

/* Edit bank account action link style */
.edit-bank-account,
.edit-bank-account_reg {
    color: #369E84 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}

.edit-bank-account:hover,
.edit-bank-account_reg:hover {
    text-decoration: none !important;
}

/* nuo bank account item row */
.nuo-bank-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.nuo-bank-account-item .bank-account-name {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.nuo-bank-account-item .bank-details {
    font-size: 14px;
    color: #777777;
    line-height: 1.4;
}

.nuo-divider-dashed {
    border-top: 1px dashed #CCCCCC;
    margin: 16px 0;
    width: 100%;
}

/* ============================================================
   SHARED UTILITY CLASSES — Dùng cho layout và căn chỉnh
   ============================================================ */
.nuo-flex-col,
[nuo-flex-col] {
    display: flex !important;
    flex-direction: column !important;
}

.nuo-flex-row,
[nuo-flex-row] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.nuo-radius-15,
[nuo-radius-15] {
    border-radius: 15px !important;
}

.nuo-gap-16,
[nuo-gap-16] {
    gap: 16px !important;
}

.nuo-p-16,
[nuo-p-16] {
    padding: 16px !important;
}

.nuo-flex-1,
[nuo-flex-1] {
    flex: 1 !important;
}

.nuo-fw-bold,
[nuo-fw-bold] {
    font-weight: 700 !important;
}

.nuo-cl-secondary,
[nuo-cl-secondary] {
    color: #888888 !important;
}

/* ============================================================
   ORDER HISTORY PAGE (My Account / Orders)
   ============================================================ */

.woocommerce-pagination {
    padding-left: 48px;
    padding-right: 48px;
}

@media (max-width: 767px) {
    .woocommerce-pagination {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.touch-scroll-table {
    box-shadow: none;
    padding-left: 48px;
    padding-right: 48px;
}

@media (max-width: 767px) {
    .touch-scroll-table {
        box-shadow: none;
        padding-left: 24px;
        padding-right: 24px;
        width: 100%;
        margin: 0;
    }
}

.nuo-account-orders .my-orders {
    display: flex;
    align-items: flex-start !important;
    margin-bottom: 2rem;
    /* padding-left: 48px;
    padding-right: 48px; */
}

@media (max-width: 767px) {
    .nuo-account-orders .my-orders {
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: stretch !important;
        margin-bottom: 24px !important;
        padding-left: 24px;
        padding-right: 24px;
    }
}

.nuo-account-orders .my-orders>p {
    display: block;
    flex: 1;
    margin: 0 !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    line-height: 1 !important;
    padding-top: 8px !important;
}

@media (max-width: 767px) {
    .nuo-account-orders .my-orders>p {
        text-align: left !important;
        margin-bottom: 16px !important;
        padding-top: 0 !important;
    }
}

.nuo-account-orders .my-orders .searchform {
    margin: 0;
    max-width: 688px;
    width: 100%;
}

.nuo-account-orders .my-orders .searchform .flex-row {
    height: 48px !important;
    border: 1.5px solid #000000 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    background-color: #FFFFFF !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.nuo-account-orders .my-orders .searchform .flex-col {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.nuo-account-orders .my-orders .searchform .flex-col.flex-grow {
    flex: 1 !important;
}

.nuo-account-orders .my-orders .searchform .submit-button {
    border: 0 !important;
    box-shadow: none !important;
    width: 25px !important;
    height: 25px !important;
    padding: 0px !important;
    margin: 0 !important;
    background-color: transparent !important;
    background-image: url("https://nuoforlife.com/wp-content/uploads/2024/12/icon-search-black.svg");
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.nuo-account-orders .my-orders .searchform .submit-button::after,
.nuo-account-orders .my-orders .searchform .submit-button::before {
    display: none !important;
}

.nuo-account-orders .my-orders .searchform .submit-button i {
    display: none !important;
}

.nuo-account-orders .my-orders .searchform input {
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    font-size: 16px !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    height: 100% !important;
    width: 100% !important;
    padding: 0 0 0 10px !important;
    margin: 0 !important;
    outline: none !important;
    color: #000000 !important;
}

.nuo-account-orders .my-orders .searchform input::placeholder {
    color: #A2A2A2 !important;
    opacity: 1 !important;
}

/* Search History Tags styling */
.nuo-search-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 688px !important;
    width: 100% !important;
    align-items: stretch !important;
}

.nuo-search-container .searchform {
    max-width: 100% !important;
    width: 100% !important;
}

.nuo-search-history {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 688px !important;
    width: 100% !important;
}

.nuo-search-tag {
    background-color: #F5F5F5 !important;
    color: #000000 !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    border: none !important;
    user-select: none !important;
}

.nuo-search-tag:hover {
    background-color: #EBEBEB !important;
}

.nuo-tag-qty {
    color: #A2A2A2 !important;
    font-weight: 400 !important;
}

.nuo-tag-close {
    color: #A2A2A2 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.nuo-tag-close:hover {
    color: #000000 !important;
}

.nuo-search-tag.is-active {
    background-color: #EBEBEB !important;
    border: 1.5px solid #000000 !important;
    padding-top: 6.5px !important;
    padding-bottom: 6.5px !important;
}

.nuo-search-tag.is-active .nuo-tag-close {
    color: #000000 !important;
}

/* Status Filter Menu */
.nuo-account-orders>p {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 10px 11px !important;
    height: 40px !important;
    margin-bottom: 2rem !important;
    border-style: solid !important;
    border-color: #000000 !important;
    border-width: 1px 1px 0px 1px !important;
    border-radius: 10px 10px 0 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .nuo-account-orders>p {
        flex-wrap: nowrap !important;
        height: 40px !important;
        padding: 0 11px !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin-left: 11px !important;
        margin-right: 11px !important;
        width: calc(100% - 22px) !important;
    }

    .nuo-account-orders>p::-webkit-scrollbar {
        display: none !important;
    }
}

.nuo-account-orders>p::after {
    display: none !important;
}

.nuo-account-orders>p span {
    display: none;
}

.nuo-account-orders>p a {
    position: relative !important;
    color: #000000 !important;
    opacity: 0.5 !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 2 !important;
    text-transform: uppercase !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: 0.16px !important;
    padding: 4px !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, color 0.2s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.nuo-account-orders>p b {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 2 !important;
    font-style: normal !important;
    line-height: normal !important;
    text-decoration: none !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-weight: 500 !important;
}

.nuo-account-orders>p b a {
    opacity: 1 !important;
    color: #000000 !important;
    font-weight: 500 !important;
}

@media (max-width: 767px) {

    .nuo-account-orders>p a,
    .nuo-account-orders>p b,
    .nuo-account-orders>p b a {
        font-size: 14px !important;
        letter-spacing: 0.14px !important;
    }
}

.nuo-account-orders>p a::before {
    opacity: 0;
    content: "[";
    display: inline-block !important;
    position: relative;
    top: -1px;
    transition: all 0.2s ease;
    margin-right: 2px !important;
}

.nuo-account-orders>p a::after {
    opacity: 0;
    content: "]";
    display: inline-block !important;
    position: relative;
    top: -1px;
    transition: all 0.2s ease;
    margin-left: 2px !important;
}

.nuo-account-orders>p a:hover {
    opacity: 1 !important;
}

.nuo-account-orders>p a:hover::before {
    opacity: 1 !important;
}

.nuo-account-orders>p a:hover::after {
    opacity: 1 !important;
}

.nuo-account-orders>p b a::before {
    opacity: 1 !important;
}

.nuo-account-orders>p b a::after {
    opacity: 1 !important;
}

/* Orders Cards Listing Table styling */
.nuo-account-orders table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 767px) {
    .nuo-account-orders table {
        width: calc(100% - 48px) !important;
        margin-left: 24px !important;
        margin-right: 24px !important;
    }
}

.nuo-account-orders table thead {
    display: none;
}

.nuo-account-orders table tbody tr {
    display: block;
    padding-bottom: 1rem;
    width: 100%;
}

.nuo-account-orders table tbody tr td {
    width: 100%;
    display: block;
    border: 1px solid #A2A2A2 !important;
    border-radius: 10px !important;
    padding: 24px !important;
    text-align: left;
    font-size: 1rem;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td {
        padding: 30px 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details>a {
    color: inherit !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}

.nuo-account-orders table tbody tr td .order-details .header,
.nuo-account-orders table tbody tr td .order-details .nuo-header-product {
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px dashed #A2A2A2 !important;
    padding-bottom: 22px !important;
    margin-bottom: 0 !important;
    color: black !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-header-product {
        padding-bottom: 15px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-left,
.nuo-account-orders table tbody tr td .order-details .header .nuo-right {
    display: flex;
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-left {
    flex: 1;
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-right {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-left button {
    display: inline-block !important;
    margin: 0 !important;
    border: 1px solid #369E84 !important;
    border-radius: 5px !important;
    color: #369E84 !important;
    line-height: 1.2em !important;
    text-transform: uppercase !important;
    padding: 10px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    background: transparent !important;
    cursor: pointer !important;
    letter-spacing: 0.02em !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .header .nuo-left button {
        line-height: 18px !important;
        font-size: 14px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-right .nuo-time,
.nuo-account-orders table tbody tr td .order-details .header .nuo-right span {
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    line-height: 100% !important;
}

@media (max-width: 767px) {

    .nuo-account-orders table tbody tr td .order-details .header .nuo-right .nuo-time,
    .nuo-account-orders table tbody tr td .order-details .header .nuo-right span {
        font-size: 14px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-right .nuo-date::before {
    content: "[";
}

.nuo-account-orders table tbody tr td .order-details .header .nuo-right .nuo-date::after {
    content: "]";
}

.nuo-order-store-location {
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

@media (max-width: 767px) {
    .nuo-order-store-location {
        font-size: 14px !important;
    }
}

.nuo-order-store-location strong {
    font-weight: 700 !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content {
    display: flex;
    align-items: center;
    gap: 10px !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-left {
    width: 109px !important;
    height: 109px !important;
    background: #F2F2F2 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-left {
        width: 80px !important;
        height: 80px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-left img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right {
    flex: 1;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-info {
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #000000 !important;
    margin-bottom: 4px !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    line-height: 100% !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-info {
        font-size: 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-info .nuo-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-info .nuo-name {
        font-size: 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-info .nuo-x {
    display: none;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price {
    font-size: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price {
        font-size: 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1,
.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 ul,
.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 li,
.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 p {
    flex: 1 !important;
    font-size: 20px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {

    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1,
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 ul,
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 li,
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 p {
        font-size: 14px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 .wc-item-meta {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-1 .wc-item-meta-label {
    font-weight: 400 !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-2 bdi {
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    line-height: 100% !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-products-order .nuo-item .nuo-content .nuo-right .nuo-price .nuo-2 bdi {
        font-size: 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-total-price {
    border-top: 1px dashed #A2A2A2 !important;
    padding-top: 10px !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.nuo-account-orders table tbody tr td .order-details .nuo-total-price .nuo-1 {
    flex: 1 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    color: black !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-total-price .nuo-1 {
        font-size: 16px !important;
    }
}

.nuo-account-orders table tbody tr td .order-details .nuo-total-price .nuo-2 .amount {
    font-size: 25px !important;
    font-style: normal !important;
    font-family: 'Familjen Grotesk', sans-serif !important;
    font-weight: 500 !important;
    line-height: 100% !important;
    letter-spacing: 0.01em !important;
    color: #000000 !important;
}

@media (max-width: 767px) {
    .nuo-account-orders table tbody tr td .order-details .nuo-total-price .nuo-2 .amount {
        font-size: 16px !important;
    }
}

.nuo-account-orders .woocommerce-button--next {
    border-radius: 10px;
}

/* Ẩn menu sidebar dọc mặc định của WooCommerce My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
}

/* Mở rộng khung nội dung chính sang 100% chiều rộng */
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}