body:has(.admin-light-theme) [role="dialog"],
body:has(.admin-light-theme) [role="alertdialog"],
body:has(.admin-light-theme) .affiliate-withdrawal-modal,
body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal {
  box-sizing: border-box;
  border-color: #e2e8f0 !important;
  background-color: #fff !important;
  color: #1f2937 !important;
  color-scheme: light;
  box-shadow: 0 24px 64px rgb(15 23 42 / 18%);
}

body:has(.admin-light-theme) [role="dialog"] [class~="bg-gray-950"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-gray-900"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-gray-800"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-gray-700"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-gray-950"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-gray-900"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-gray-800"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-gray-700"] {
  border-color: #e2e8f0 !important;
  background-color: #f8fafc !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#0d1117]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#101720]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#111821]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#161b22]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#1b222c]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#21262d]"],
body:has(.admin-light-theme) [role="dialog"] [class~="bg-[#263345]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#0d1117]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#101720]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#111821]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#161b22]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#1b222c]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#21262d]"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="bg-[#263345]"] {
  border-color: #e2e8f0 !important;
  background-color: #f8fafc !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-white"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-50"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-100"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-200"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-300"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-white"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-50"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-100"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-200"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-300"] {
  color: #344054 !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-400"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-500"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-400"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-500"] {
  color: #667085 !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-600"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-gray-700"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-600"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-gray-700"] {
  color: #475467 !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-blue-300"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-blue-400"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-blue-300"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-blue-400"] {
  color: #1d4ed8 !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-green-300"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-green-400"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-green-300"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-green-400"] {
  color: #15803d !important;
}

body:has(.admin-light-theme) [role="dialog"] [class~="text-red-300"],
body:has(.admin-light-theme) [role="dialog"] [class~="text-red-400"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-red-300"],
body:has(.admin-light-theme) [role="alertdialog"] [class~="text-red-400"] {
  color: #b91c1c !important;
}

body:has(.admin-light-theme) [role="dialog"] input:not([type="checkbox"]):not([type="radio"]),
body:has(.admin-light-theme) [role="dialog"] select,
body:has(.admin-light-theme) [role="dialog"] textarea,
body:has(.admin-light-theme) [role="alertdialog"] input:not([type="checkbox"]):not([type="radio"]),
body:has(.admin-light-theme) [role="alertdialog"] select,
body:has(.admin-light-theme) [role="alertdialog"] textarea {
  border-color: #cbd5e1 !important;
  background-color: #fff !important;
  color: #1f2937 !important;
}

body:has(.admin-light-theme) [role="dialog"] input::placeholder,
body:has(.admin-light-theme) [role="dialog"] textarea::placeholder,
body:has(.admin-light-theme) [role="alertdialog"] input::placeholder,
body:has(.admin-light-theme) [role="alertdialog"] textarea::placeholder {
  color: #667085 !important;
  opacity: 1;
}

body:has(.admin-light-theme) [role="dialog"] button:not([role="switch"]),
body:has(.admin-light-theme) [role="alertdialog"] button:not([role="switch"]) {
  min-height: 2.5rem;
  border-radius: 0.65rem;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

body:has(.admin-light-theme) [role="dialog"] button:not([role="switch"]):not([class*="bg-blue-"]):not([class*="bg-green-"]):not([class*="bg-red-"]):not([class*="bg-purple-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-rose-"]):not([class~="bg-destructive"]):not(.affiliate-admin-approve):not(.affiliate-admin-delete):not(.affiliate-admin-reject),
body:has(.admin-light-theme) [role="alertdialog"] button:not([role="switch"]):not([class*="bg-blue-"]):not([class*="bg-green-"]):not([class*="bg-red-"]):not([class*="bg-purple-"]):not([class*="bg-amber-"]):not([class*="bg-yellow-"]):not([class*="bg-rose-"]):not([class~="bg-destructive"]):not(.affiliate-admin-approve):not(.affiliate-admin-delete):not(.affiliate-admin-reject) {
  border: 1px solid #d0d5dd !important;
  background-color: #f8fafc !important;
  color: #344054 !important;
}

body:has(.admin-light-theme) [role="dialog"] button:not([role="switch"]):not(:disabled):hover,
body:has(.admin-light-theme) [role="alertdialog"] button:not([role="switch"]):not(:disabled):hover {
  filter: brightness(0.97);
}

body:has(.admin-light-theme) [role="dialog"] button:not([role="switch"]):not(:disabled):active,
body:has(.admin-light-theme) [role="alertdialog"] button:not([role="switch"]):not(:disabled):active {
  transform: scale(0.98);
}

body:has(.admin-light-theme) [role="dialog"] button:not([role="switch"]):focus-visible,
body:has(.admin-light-theme) [role="alertdialog"] button:not([role="switch"]):focus-visible,
body:has(.admin-light-theme) [role="dialog"] input:focus-visible,
body:has(.admin-light-theme) [role="dialog"] select:focus-visible,
body:has(.admin-light-theme) [role="dialog"] textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

body:has(.admin-light-theme) [role="dialog"] button[class*="bg-blue-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-green-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-red-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-purple-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-amber-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-yellow-"],
body:has(.admin-light-theme) [role="dialog"] button[class*="bg-rose-"],
body:has(.admin-light-theme) [role="dialog"] button[class~="bg-destructive"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-blue-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-green-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-red-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-purple-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-amber-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-yellow-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class*="bg-rose-"],
body:has(.admin-light-theme) [role="alertdialog"] button[class~="bg-destructive"] {
  color: #fff !important;
}

body:has(.admin-light-theme) [role="dialog"] button[class~="bg-destructive"],
body:has(.admin-light-theme) [role="alertdialog"] button[class~="bg-destructive"],
body:has(.admin-light-theme) [role="dialog"] .affiliate-admin-delete,
body:has(.admin-light-theme) [role="alertdialog"] .affiliate-admin-delete {
  border: 1px solid #b91c1c !important;
  background-color: #dc2626 !important;
  color: #fff !important;
}

body:has(.admin-light-theme) [role="dialog"] .affiliate-admin-approve,
body:has(.admin-light-theme) [role="alertdialog"] .affiliate-admin-approve {
  border: 1px solid #15803d !important;
  background-color: #15803d !important;
  color: #fff !important;
}

body:has(.admin-light-theme) [role="dialog"] .affiliate-admin-reject,
body:has(.admin-light-theme) [role="alertdialog"] .affiliate-admin-reject {
  border: 1px solid #fecaca !important;
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
}

body:has(.admin-light-theme) [role="dialog"] [aria-label="Close"],
body:has(.admin-light-theme) [role="dialog"] [aria-label="إغلاق"],
body:has(.admin-light-theme) [role="alertdialog"] [aria-label="Close"],
body:has(.admin-light-theme) [role="alertdialog"] [aria-label="إغلاق"] {
  width: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  background-color: #f1f5f9 !important;
  color: #475467 !important;
}

body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-summary,
body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-details > div,
body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-transfer {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #1f2937;
}

body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-details dt,
body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-header > div > span {
  color: #667085;
}

body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal-details dd {
  color: #344054;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-header {
  border-color: #e2e8f0;
  background: #fff;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-header h2 {
  color: #1f2937;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-fields {
  scrollbar-color: #cbd5e1 #f8fafc;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-fields > div {
  border-color: #e2e8f0;
  background: #f8fafc;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-fields label {
  color: #344054;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-fields label.text-xs {
  color: #667085;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-content-tools {
  border-color: #e2e8f0;
  background: #f1f5f9;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-content-tools button {
  border-color: #d0d5dd !important;
  background: #fff !important;
  color: #344054 !important;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-content-tools button:hover {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-gallery-uploader input[type="file"] {
  border-color: #cbd5e1 !important;
  background: #fff !important;
  color: #475467 !important;
}

body:has(.admin-light-theme) .article-editor-dialog .article-editor-actions {
  border-color: #e2e8f0;
  background: #fff;
}

@media (max-width: 640px) {
  body:has(.admin-light-theme) [role="dialog"],
  body:has(.admin-light-theme) [role="alertdialog"],
  body:has(.admin-light-theme) .affiliate-withdrawal-modal,
  body:has(.admin-light-theme) .affiliate-admin-withdrawal-modal {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: calc(100dvh - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.admin-light-theme) [role="dialog"] button,
  body:has(.admin-light-theme) [role="alertdialog"] button {
    transition-duration: 1ms;
  }
}

/* AFFILIATE_MODAL_DARK_THEME_FIX */
body:has(.admin-light-theme) [role="alertdialog"].affiliate-admin-delete-confirm-dialog,
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog{
  color-scheme:dark!important;
  border-color:#374151!important;
  background:#111827!important;
  color:#e5e7eb!important;
  box-shadow:0 24px 80px rgb(0 0 0 / 55%)!important;
}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="bg-gray-800"]{
  border-color:#374151!important;
  background-color:#1f2937!important;
}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-white"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-50"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-100"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-200"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-300"]{color:#e5e7eb!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-400"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-500"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-600"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-gray-700"]{color:#9ca3af!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-blue-300"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-blue-400"]{color:#93c5fd!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-red-300"],
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog [class~="text-red-400"]{color:#fca5a5!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog input:not([type="checkbox"]):not([type="radio"]),
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog select,
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog textarea{border-color:#4b5563!important;background-color:#1f2937!important;color:#f9fafb!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog input::placeholder,
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog textarea::placeholder{color:#9ca3af!important}
body:has(.admin-light-theme) [role="dialog"].affiliate-admin-coupons-dialog button:not([class*="bg-blue-"]):not([class~="bg-destructive"]){border:1px solid #4b5563!important;background-color:#374151!important;color:#f3f4f6!important}
body:has(.admin-light-theme) [role="alertdialog"].affiliate-admin-delete-confirm-dialog .affiliate-admin-withdrawal-reject-back{border:1px solid #4b5563!important;background-color:#374151!important;color:#f3f4f6!important}
body:has(.admin-light-theme) [role="alertdialog"].affiliate-admin-delete-confirm-dialog .affiliate-admin-withdrawal-reject-confirm{border:1px solid #b4232d!important;background-color:#b4232d!important;color:#fff!important}

/* AFFILIATE_COUPON_MODAL_LAYOUT_FIX */
.affiliate-admin-coupons-isolated-overlay{position:fixed!important;z-index:2147483300!important;inset:0!important;box-sizing:border-box!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))!important;background:rgba(3,8,16,.76)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.affiliate-admin-coupons-dialog{box-sizing:border-box!important;flex:0 0 auto!important;width:min(100%,52rem)!important;max-height:calc(100vh - 2rem)!important;max-height:calc(100dvh - 2rem)!important;margin-block:auto!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-gutter:stable;direction:rtl;color-scheme:dark!important}
.affiliate-admin-coupons-dialog header{position:sticky;top:-1px;z-index:1;margin:0 0 1rem!important;padding:.15rem 0 .85rem;background:#111827;border-bottom:1px solid #374151}
.affiliate-admin-coupons-dialog header h2{color:#f9fafb!important;line-height:1.4}
.affiliate-admin-coupons-dialog header p{overflow-wrap:anywhere}
.affiliate-admin-coupons-dialog article{align-items:flex-start!important}
.affiliate-admin-coupons-dialog article>div{min-width:0;overflow-wrap:anywhere}
.affiliate-admin-coupons-dialog article button{flex:0 0 auto}
.affiliate-admin-coupons-dialog form{border-color:#374151!important;background:#0b1220!important}
.affiliate-admin-coupons-dialog input:not([type=checkbox]):not([type=radio]){min-width:0}
.affiliate-admin-coupons-dialog button:focus-visible,.affiliate-admin-coupons-dialog input:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
@media(max-width:640px){.affiliate-admin-coupons-isolated-overlay{padding:max(.65rem,env(safe-area-inset-top)) max(.65rem,env(safe-area-inset-right)) max(.65rem,env(safe-area-inset-bottom)) max(.65rem,env(safe-area-inset-left))!important}.affiliate-admin-coupons-dialog{max-height:calc(100vh - 1.3rem)!important;max-height:calc(100dvh - 1.3rem)!important;padding:1rem!important;border-radius:1rem!important}.affiliate-admin-coupons-dialog header{gap:.65rem!important}.affiliate-admin-coupons-dialog header h2{font-size:1.1rem!important}.affiliate-admin-coupons-dialog article{gap:.6rem!important;padding:.75rem!important}.affiliate-admin-coupons-dialog article p{line-height:1.6}.affiliate-admin-coupons-dialog form{padding:.8rem!important}}

/* AFFILIATE_WITHDRAWAL_DIALOG_DARK_THEME */
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-dialog,body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-dialog{box-sizing:border-box!important;border-color:#374151!important;background:#111827!important;color:#e5e7eb!important;color-scheme:dark!important;box-shadow:0 24px 80px rgb(0 0 0 / 55%)!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-header h2,body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-top strong{color:#f9fafb!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-help{border-color:#374151!important;background:#1f2937!important;color:#cbd5e1!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-card{border-color:#374151!important;background:#1b2432!important;color:#e5e7eb!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-status{color:#e5e7eb!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-status-pending{background:#713f12!important;color:#fde68a!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-status-approved{background:#064e3b!important;color:#a7f3d0!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-status-rejected{background:#7f1d1d!important;color:#fecaca!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-status-paid{background:#1e3a8a!important;color:#bfdbfe!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-details dt,body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-top time{color:#9ca3af!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-details dd{color:#f3f4f6!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-note{color:#cbd5e1!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-empty{color:#cbd5e1!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-error{background:#7f1d1d!important;color:#fee2e2!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-close{border-color:#4b5563!important;background:#1f2937!important;color:#f3f4f6!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawals-footer button{border:1px solid #4b5563!important;background:#374151!important;color:#f3f4f6!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-confirm{border:1px solid #047857!important;background:#059669!important;color:#fff!important}
body:has(.admin-light-theme) .affiliate-admin-account-withdrawal-cancel{border:1px solid #991b1b!important;background:#7f1d1d!important;color:#fee2e2!important}
body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-dialog h3{color:#f9fafb!important}
body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-dialog>p{color:#cbd5e1!important}
body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-dialog>p strong{color:#fff!important}
body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-back{border:1px solid #4b5563!important;background:#374151!important;color:#f3f4f6!important}
body:has(.admin-light-theme) .affiliate-admin-withdrawal-reject-confirm{border:1px solid #b4232d!important;background:#b4232d!important;color:#fff!important}

/* AFFILIATE_COUPON_ITEM_ACTIONS */
.affiliate-admin-coupon-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.affiliate-admin-coupon-card{display:grid;gap:.85rem;min-width:0;border-color:#374151!important;background:#1f2937!important;color:#e5e7eb}
.affiliate-admin-coupon-summary{overflow-wrap:anywhere}
.affiliate-admin-coupon-actions{display:flex;flex-wrap:wrap;gap:.45rem;direction:rtl}
.affiliate-admin-coupon-actions button{flex:1 1 auto;min-width:4rem}
.affiliate-admin-coupon-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding-top:.85rem;border-top:1px solid #374151}
.affiliate-admin-coupon-edit-form input{min-height:2.5rem;box-sizing:border-box}
.affiliate-admin-coupon-edit-form input:first-child,.affiliate-admin-coupon-edit-form p,.affiliate-admin-coupon-edit-actions{grid-column:1/-1}
.affiliate-admin-coupon-edit-actions{display:flex;gap:.5rem}
.affiliate-admin-coupon-edit-actions button{flex:1}
@media(max-width:640px){.affiliate-admin-coupon-list{grid-template-columns:minmax(0,1fr)}.affiliate-admin-coupon-card{padding:.8rem!important}.affiliate-admin-coupon-edit-form{grid-template-columns:minmax(0,1fr)}}
