/* ============================================================================
   PrintingProxies — DARK MODE for /my-account/ (gated on html.pp-dark)
   Exhaustive, source-audited overrides for every element across Dashboard,
   Orders, Addresses, Edit-Address, Account-Details, Payment-Methods, Vendor.
   Loaded admin-only AFTER pp-dark.css so it wins ties over the global layer.
   Palette: --d-bg #0f1216 / surf #181d25 / surf2 #20262f / ink #e7e9ee /
            mut #a6aec0 / line #2b323d / acc #e98a3c / acc-soft #2a2013 / link #f0a45f
   ============================================================================ */

/* ---- 0. Page shell + left nav + content card (sitewide §6) ---- */
html.pp-dark body.woocommerce-account { background:#0f1216 !important; }
html.pp-dark .woocommerce-account #main > .woocommerce { background:transparent !important; }

html.pp-dark .woocommerce-account .woocommerce-MyAccount-navigation {
  background:#181d25 !important; border-color:#2b323d !important; color:#e7e9ee !important;
}
html.pp-dark .woocommerce-account .woocommerce-MyAccount-navigation ul li a { color:#e7e9ee !important; }
html.pp-dark .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background:#20262f !important; color:#f0a45f !important;
}
html.pp-dark .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background:#e98a3c !important; color:#1a1208 !important;
}
html.pp-dark .woocommerce-account .woocommerce-MyAccount-content {
  background:#181d25 !important; border-color:#2b323d !important; color:#e7e9ee !important;
}

/* logged-out login / reset / register cards + their inputs */
html.pp-dark .woocommerce-account #customer_login.col2-set .u-column1,
html.pp-dark .woocommerce-account #customer_login.col2-set .u-column2,
html.pp-dark .woocommerce-account .woocommerce-ResetPassword.lost_reset_password {
  background:#181d25 !important; border-color:#2b323d !important; color:#e7e9ee !important;
}
html.pp-dark .woocommerce-account form .woocommerce-Input,
html.pp-dark .woocommerce-account form input[type="text"],
html.pp-dark .woocommerce-account form input[type="email"],
html.pp-dark .woocommerce-account form input[type="password"] {
  background:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important;
}

/* ---- 0b. Notices + core grey .button (white-on-white killers) ---- */
html.pp-dark .woocommerce-account .woocommerce-message,
html.pp-dark .woocommerce-account .woocommerce-info {
  background:#20262f !important; color:#e7e9ee !important; border-top-color:#e98a3c !important;
}
html.pp-dark .woocommerce-account .woocommerce-message a,
html.pp-dark .woocommerce-account .woocommerce-info a { color:#f0a45f !important; }
html.pp-dark .woocommerce-account .woocommerce a.button,
html.pp-dark .woocommerce-account .woocommerce button.button,
html.pp-dark .woocommerce-account .woocommerce input.button,
html.pp-dark .woocommerce-account .woocommerce-Button,
html.pp-dark .woocommerce-account .woocommerce-pagination a {
  background-color:#20262f !important; color:#e7e9ee !important; border:1px solid #2b323d !important;
}
html.pp-dark .woocommerce-account .woocommerce a.button:hover,
html.pp-dark .woocommerce-account .woocommerce button.button:hover,
html.pp-dark .woocommerce-account .woocommerce input.button:hover,
html.pp-dark .woocommerce-account .woocommerce-Button:hover,
html.pp-dark .woocommerce-account .woocommerce-pagination a:hover {
  background-color:#e98a3c !important; color:#fff !important; border-color:transparent !important;
}

/* ---- 0c. Generic text/heading safety inside the content card ---- */
html.pp-dark .woocommerce-MyAccount-content h1,
html.pp-dark .woocommerce-MyAccount-content h2,
html.pp-dark .woocommerce-MyAccount-content h3,
html.pp-dark .woocommerce-MyAccount-content legend,
html.pp-dark .woocommerce-MyAccount-content p,
html.pp-dark .woocommerce-MyAccount-content label,
html.pp-dark .woocommerce-MyAccount-content address { color:#e7e9ee !important; }

/* ============================  1. DASHBOARD (woo §9)  ===================== */
html.pp-dark .pp-dash-title,
html.pp-dark .pp-dash-welcome__title,
html.pp-dark .pp-dash-recent__title,
html.pp-dark .pp-dash-stat__num { color:#e7e9ee !important; }
html.pp-dark .pp-dash-welcome {
  border-color:#2b323d !important;
  background: radial-gradient(120% 140% at 100% 0%, #2a2013 0%, rgba(42,32,19,0) 55%), #181d25 !important;
}
html.pp-dark .pp-dash-welcome__sub,
html.pp-dark .pp-dash-empty,
html.pp-dark .pp-dash-stat__label { color:#a6aec0 !important; }
html.pp-dark .pp-dash-cta { background:#e98a3c !important; color:#fff !important; border-color:transparent !important; }
html.pp-dark .pp-dash-cta:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-dash-stat,
html.pp-dark .pp-dash-recent { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .pp-dash-stat:hover { border-color:#e98a3c !important; }
html.pp-dark .pp-dash-stat__icon { background:#2a2013 !important; color:#f0a45f !important; }

/* ============================  2. ORDERS (woo §8)  ======================= */
html.pp-dark .pp-orders-head__icon { background:#e98a3c !important; color:#1a1208 !important; }
html.pp-dark .pp-orders-head__title { color:#e7e9ee !important; }
html.pp-dark .pp-orders-head__sub { color:#a6aec0 !important; }

html.pp-dark .pp-orders-search { background:#20262f !important; border-color:#2b323d !important; }
html.pp-dark .pp-orders-search__icon { color:#a6aec0 !important; }
html.pp-dark .pp-orders-search__input { color:#e7e9ee !important; }
html.pp-dark .pp-orders-search__input::placeholder { color:#a6aec0 !important; opacity:1; }
html.pp-dark .pp-orders-search__btn { background:#e98a3c !important; color:#1a1208 !important; }
html.pp-dark .pp-orders-search__btn:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-orders-search__clear { color:#a6aec0 !important; }
html.pp-dark .pp-orders-search__clear:hover { color:#f0a45f !important; }

html.pp-dark .woocommerce-account .pp-orders-table thead th.woocommerce-orders-table__header { color:#a6aec0 !important; }
html.pp-dark .woocommerce-account .pp-orders-table tbody td.woocommerce-orders-table__cell { border-top-color:#2b323d !important; color:#e7e9ee !important; }
html.pp-dark .woocommerce-account .pp-orders-table tbody tr:hover td { background:#20262f !important; }
html.pp-dark .woocommerce-account .pp-orders-table td.woocommerce-orders-table__cell-order-number,
html.pp-dark .woocommerce-account .pp-orders-table tbody tr:hover td.woocommerce-orders-table__cell-order-number { background:#2a2013 !important; }

html.pp-dark .pp-order-number { color:#e7e9ee !important; }
html.pp-dark .pp-order-number:hover { color:#f0a45f !important; }
html.pp-dark .pp-order-date,
html.pp-dark .pp-order-items,
html.pp-dark .pp-orders-table .pp-order-shipto,
html.pp-dark .pp-orders-table .pp-order-shipto__addr,
html.pp-dark .pp-orders-noresults td { color:#a6aec0 !important; }
html.pp-dark .pp-order-total,
html.pp-dark .pp-order-total > .woocommerce-Price-amount,
html.pp-dark .pp-order-total > .woocommerce-Price-amount bdi { color:#e7e9ee !important; }
html.pp-dark .pp-order-total .awdr-you-saved-text,
html.pp-dark .pp-order-total .awdr-you-saved-text .woocommerce-Price-amount,
html.pp-dark .pp-order-total .awdr-you-saved-text .woocommerce-Price-amount bdi { color:#74e0a0 !important; }

html.pp-dark .pp-order-tracking { background:#20262f !important; border-color:#2b323d !important; color:#e7e9ee !important; }
html.pp-dark .pp-order-tracking:hover { background:#2a2013 !important; border-color:#e98a3c !important; color:#f0a45f !important; }
html.pp-dark .pp-order-tracking__label { color:#a6aec0 !important; }
html.pp-dark .pp-order-tracking:hover .pp-order-tracking__label { color:#f0a45f !important; }

/* status badges — dark muted bg + light readable text */
html.pp-dark .pp-order-badge--pending,
html.pp-dark .pp-order-badge--on-hold    { background:#3a2c10 !important; color:#f0c674 !important; border-color:#5a4518 !important; }
html.pp-dark .pp-order-badge--processing { background:#11304a !important; color:#7cc0f5 !important; border-color:#1d4a73 !important; }
html.pp-dark .pp-order-badge--printed    { background:#2a2013 !important; color:#f0b67a !important; border-color:#5a3d18 !important; }
html.pp-dark .pp-order-badge--completed  { background:#143324 !important; color:#74e0a0 !important; border-color:#1f5a3a !important; }
html.pp-dark .pp-order-badge--cancelled,
html.pp-dark .pp-order-badge--failed     { background:#3a1620 !important; color:#f59ab0 !important; border-color:#5a2230 !important; }
html.pp-dark .pp-order-badge--refunded   { background:#2a2530 !important; color:#c9c2d6 !important; border-color:#3d3848 !important; }

/* action buttons (base ghost was #fff bg + dark text → white-on-white) */
html.pp-dark .pp-order-btn { background:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important; }
html.pp-dark .pp-order-btn--view { background:#e98a3c !important; color:#1a1208 !important; border-color:transparent !important; }
html.pp-dark .pp-order-btn--view:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-order-btn--pay { background:#2a2013 !important; color:#f0a45f !important; border-color:#5a3d18 !important; }
html.pp-dark .pp-order-btn--pay:hover { background:#352617 !important; color:#f0a45f !important; }
html.pp-dark .pp-order-btn--cards { background:#20262f !important; border-color:#e98a3c !important; color:#f0a45f !important; }
html.pp-dark .pp-order-btn--cards:hover { background:#2a2013 !important; color:#f0a45f !important; }
html.pp-dark .pp-order-btn--cancel { background:#20262f !important; color:#f59ab0 !important; border-color:#5a2230 !important; }
html.pp-dark .pp-order-btn--cancel:hover { background:#3a1620 !important; }

@media (max-width:768px){
  html.pp-dark .woocommerce-account .pp-orders-table tbody tr.order { background:#181d25 !important; border-color:#2b323d !important; }
  html.pp-dark .woocommerce-account .pp-orders-table tbody td.woocommerce-orders-table__cell { border-top-color:#2b323d !important; }
  html.pp-dark .woocommerce-account .pp-orders-table tbody td.woocommerce-orders-table__cell::before { color:#a6aec0 !important; }
}

/* ===========  3. ADDRESSES + EDIT-ADDRESS + ACCOUNT-DETAILS  ============= */
html.pp-dark .pp-addr-head__icon { background:#e98a3c !important; color:#1a1208 !important; }
html.pp-dark .pp-addr-title { color:#e7e9ee !important; }
html.pp-dark .pp-addr-sub { color:#a6aec0 !important; }
html.pp-dark .pp-addr-card { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .pp-addr-card:hover { border-color:#e98a3c !important; }
html.pp-dark .pp-addr-card__head { border-bottom-color:#2b323d !important; }
html.pp-dark .pp-addr-card__icon { background:#2a2013 !important; color:#f0a45f !important; }
html.pp-dark .pp-addr-card__title { color:#e7e9ee !important; }
html.pp-dark .pp-addr-card__body { color:#e7e9ee !important; }
html.pp-dark .pp-addr-empty { color:#a6aec0 !important; }
html.pp-dark .pp-addr-btn { background:#20262f !important; color:#f0a45f !important; border-color:#e98a3c !important; }
html.pp-dark .pp-addr-btn:hover { background:#2a2013 !important; color:#f0a45f !important; }
html.pp-dark .pp-addr-btn--add { background:#e98a3c !important; color:#1a1208 !important; border-color:transparent !important; }
html.pp-dark .pp-addr-btn--add:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-addr-back { color:#a6aec0 !important; }
html.pp-dark .pp-addr-back:hover { color:#f0a45f !important; }
html.pp-dark .pp-addr-form-card { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .pp-addr-save { background:#e98a3c !important; color:#1a1208 !important; border-color:transparent !important; }
html.pp-dark .pp-addr-save:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-acct-form fieldset { border-top-color:#2b323d !important; }
html.pp-dark .pp-acct-form fieldset legend { color:#e7e9ee !important; }
html.pp-dark .pp-acct-form #account_display_name_description em { color:#a6aec0 !important; }

/* form fields (woo §3) inside the account card */
html.pp-dark .woocommerce-account form .form-row input.input-text,
html.pp-dark .woocommerce-account form .form-row textarea,
html.pp-dark .woocommerce-account form input[type="text"],
html.pp-dark .woocommerce-account form input[type="email"],
html.pp-dark .woocommerce-account form input[type="tel"],
html.pp-dark .woocommerce-account form input[type="password"],
html.pp-dark .woocommerce-account form input[type="number"],
html.pp-dark .woocommerce-account form input[type="search"],
html.pp-dark .woocommerce-account form textarea,
html.pp-dark .woocommerce-account form select {
  background-color:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important;
}
html.pp-dark .woocommerce-account form .form-row label { color:#e7e9ee !important; }
html.pp-dark .woocommerce-account form ::placeholder { color:#a6aec0 !important; opacity:1; }
html.pp-dark .woocommerce-account form select option { color:#e7e9ee !important; background:#20262f !important; }
html.pp-dark .woocommerce-account form .form-row input.input-text:focus,
html.pp-dark .woocommerce-account form textarea:focus,
html.pp-dark .woocommerce-account form select:focus {
  border-color:#e98a3c !important; box-shadow:0 0 0 3px rgba(233,138,60,.25) !important;
}

/* select2 country/state (dropdown appended to <body>) */
html.pp-dark .select2-container--default .select2-selection--single { background-color:#20262f !important; border-color:#2b323d !important; }
html.pp-dark .select2-container--default .select2-selection--single .select2-selection__rendered { color:#e7e9ee !important; }
html.pp-dark .select2-container--default .select2-selection--single .select2-selection__placeholder { color:#a6aec0 !important; }
html.pp-dark .select2-dropdown { background-color:#181d25 !important; border-color:#2b323d !important; color:#e7e9ee !important; }
html.pp-dark .select2-container--default .select2-search--dropdown .select2-search__field { background-color:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important; }
html.pp-dark .select2-container--default .select2-results__option { color:#e7e9ee !important; background-color:#181d25 !important; }
html.pp-dark .select2-container--default .select2-results__option--highlighted[aria-selected],
html.pp-dark .select2-container--default .select2-results__option--highlighted { background-color:#2a2013 !important; color:#f0a45f !important; }
html.pp-dark .select2-container--default .select2-results__option[aria-selected="true"] { background-color:#20262f !important; color:#e7e9ee !important; }

/* ===================  4. PAYMENT METHODS (woo §12 + §1)  ================= */
html.pp-dark .woocommerce-account .pp-pay-table,
html.pp-dark .woocommerce-account table.shop_table { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .woocommerce-account .pp-pay-table th,
html.pp-dark .woocommerce-account .pp-pay-table td,
html.pp-dark .woocommerce-account table.shop_table th,
html.pp-dark .woocommerce-account table.shop_table td { border-color:#2b323d !important; color:#e7e9ee !important; }
html.pp-dark .woocommerce-account .pp-pay-table thead th,
html.pp-dark .woocommerce-account table.shop_table thead th { background:#20262f !important; color:#e7e9ee !important; }
html.pp-dark .pp-pay-empty { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .pp-pay-empty__icon { background:#2a2013 !important; color:#f0a45f !important; }
html.pp-dark .pp-pay-empty__title { color:#e7e9ee !important; }
html.pp-dark .pp-pay-empty__sub { color:#a6aec0 !important; }

/* ===========================  5. VENDOR (woo §13)  ====================== */
html.pp-dark .pp-vendor { color:#e7e9ee !important; }
html.pp-dark .pp-vendor ul.custom-tab { background:#20262f !important; border-color:#2b323d !important; }
html.pp-dark .pp-vendor ul.custom-tab li a { color:#a6aec0 !important; }
html.pp-dark .pp-vendor ul.custom-tab li a:hover { color:#e7e9ee !important; }
html.pp-dark .pp-vendor ul.custom-tab li a.active,
html.pp-dark .pp-vendor ul.custom-tab li a.active.show { color:#f0a45f !important; background:#181d25 !important; }
html.pp-dark .pp-vendor #tycard.tab-pane { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .pp-vendor #tycard .row > .col-md-6:last-child { border-left-color:#2b323d !important; }
html.pp-dark .pp-vendor .col-3-shell { background:#20262f !important; border-color:#2b323d !important; }
html.pp-dark .pp-vendor .sub-section.mt-5 { border-top-color:#2b323d !important; }
html.pp-dark .pp-vendor .sub-section p[style] { color:#e7e9ee !important; }
html.pp-dark .pp-vendor .thankyoutxt,
html.pp-dark .pp-vendor input#thankyoutxt1,
html.pp-dark .pp-vendor textarea#thankyoutxt2,
html.pp-dark .pp-vendor select.thankyouRange,
html.pp-dark .pp-vendor select#txt1Style,
html.pp-dark .pp-vendor select#txt2Style {
  background:#20262f !important; background-color:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important;
}
html.pp-dark .pp-vendor .thankyoutxt::placeholder { color:#a6aec0 !important; }
html.pp-dark .pp-vendor input[type="range"].thankyouRange { background:#2b323d !important; }
html.pp-dark .pp-vendor .cta-btn1,
html.pp-dark .pp-vendor #saveListingBtn,
html.pp-dark .pp-vendor .btn-primary { background:#e98a3c !important; color:#1a1208 !important; }
html.pp-dark .pp-vendor .cta-btn1:hover,
html.pp-dark .pp-vendor #saveListingBtn:hover,
html.pp-dark .pp-vendor .btn-primary:hover { background:#cf762d !important; color:#fff !important; }
html.pp-dark .pp-vendor #addListing .parent-p-listing,
html.pp-dark .pp-vendor .parent-p-listing { background:#20262f !important; border-color:#2b323d !important; }
html.pp-dark .pp-vendor #addListing .listing-name,
html.pp-dark .pp-vendor .listing-name { background:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important; }
html.pp-dark .pp-vendor .gray-bar:before,
html.pp-dark .pp-vendor .gray-bar-h:before,
html.pp-dark .pp-vendor .gray-bar-h-p:before { background-color:#2b323d !important; }
html.pp-dark .pp-vendor .upload-listing-msg,
html.pp-dark .pp-vendor .subUploading { color:#a6aec0 !important; }
html.pp-dark .pp-vendor .custom-bx#ty-error,
html.pp-dark .pp-vendor #ty-error { background:#3a1620 !important; border-color:#5a2230 !important; color:#f59ab0 !important; }
html.pp-dark .pp-vendor #ty-error strong { color:#f59ab0 !important; }

/* vendor modals (appended to <body>) */
html.pp-dark .listingModal .modal-content { background:#181d25 !important; border-color:#2b323d !important; }
html.pp-dark .listingModal .modal-header,
html.pp-dark .listingModal .modal-footer { border-color:#2b323d !important; }
html.pp-dark .listingModal .modal-title,
html.pp-dark .listingModal .modal-body .col-form-label { color:#e7e9ee !important; }
html.pp-dark .listingModal .modal-body .form-control,
html.pp-dark .listingModal .modal-body input[type="text"] { background:#20262f !important; color:#e7e9ee !important; border-color:#2b323d !important; }
html.pp-dark .listingModal .close { color:#a6aec0 !important; }
html.pp-dark .listingModal .btn-primary { background:#e98a3c !important; color:#1a1208 !important; }
html.pp-dark .listingModal .btn-primary:hover { background:#cf762d !important; color:#fff !important; }
