.sunpal-rma-center{max-width:1220px;margin:30px auto;font-family:inherit;color:#101812}.sunpal-rma-center-hero{padding:34px;border-radius:24px;background:linear-gradient(135deg,#102418,#183b25);color:#fff;margin-bottom:22px}.sunpal-rma-center-hero h1{margin:6px 0 10px;font-size:38px;color:#fff}.sunpal-rma-center-hero p{font-size:18px;color:#d7e7dd}.sunpal-rma-kicker{font-weight:800;color:#70e08a!important;text-transform:uppercase;letter-spacing:.06em}.sunpal-rma-center-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:22px;align-items:start}.sunpal-rma-wrap{padding:24px;background:#0f1712;color:#fff;border-radius:22px}.sunpal-rma-hero{background:linear-gradient(135deg,#102418,#183b25);padding:24px;border-radius:20px;margin-bottom:20px;border:1px solid rgba(255,255,255,.12)}.sunpal-rma-hero h2{margin:0 0 10px;font-size:30px;color:#fff}.sunpal-rma-hero p{color:#d7e7dd;font-size:16px}.sunpal-rma-alert{background:#fff4d6;color:#3b2b00;padding:14px;border-radius:12px;font-weight:800}.sunpal-rma-success{background:#e7fff0;color:#083b18;padding:20px;border-radius:16px;margin-bottom:20px}.sunpal-rma-section{background:#141d17;border:1px solid rgba(255,255,255,.1);padding:20px;border-radius:18px;margin-bottom:18px}.sunpal-rma-section h3{margin-top:0;color:#54d273}.sunpal-rma-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sunpal-rma-wrap label,.sunpal-rma-confirm label{display:block;font-weight:700;color:#eaf5ee;margin-bottom:12px}.sunpal-rma-wrap input,.sunpal-rma-wrap select,.sunpal-rma-wrap textarea{width:100%;margin-top:8px;padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:#18221b;color:#fff}.sunpal-rma-wrap textarea{min-height:118px}.sunpal-rma-confirm input{width:auto;margin-right:8px}.sunpal-rma-btn,.sunpal-rma-status button{background:#28a745;color:#fff;border:0;padding:16px 24px;border-radius:14px;font-size:17px;font-weight:800;cursor:pointer;width:100%}.sunpal-rma-btn:hover,.sunpal-rma-status button:hover{background:#23913d}.sunpal-rma-track{background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 16px 45px rgba(0,0,0,.08);border-radius:22px;padding:24px}.sunpal-rma-track-head h2{margin:0 0 8px;color:#0f1712}.sunpal-rma-track-head p{margin-top:0;color:#4b5563}.sunpal-rma-status{display:flex;gap:10px;margin:14px 0 18px}.sunpal-rma-status input{padding:14px;border-radius:12px;border:1px solid #d5d9de;flex:1}.sunpal-rma-status button{width:auto;white-space:nowrap}.sunpal-rma-status-card{background:#f7fff9;border:1px solid #cdeed5;border-radius:16px;padding:18px;margin-top:16px}.sunpal-timeline div{border-left:3px solid #28a745;padding:0 0 18px 14px;margin-left:6px}.sunpal-timeline span{font-size:12px;color:#667085}.wp-admin .sunpal-rma-wrap,.wp-admin .sunpal-rma-center{max-width:none}.wp-admin .sunpal-rma-track{box-shadow:none}@media(max-width:900px){.sunpal-rma-center-grid{grid-template-columns:1fr}.sunpal-rma-grid{grid-template-columns:1fr}.sunpal-rma-center-hero h1{font-size:30px}.sunpal-rma-status{display:block}.sunpal-rma-status button{width:100%;margin-top:10px}.sunpal-rma-wrap,.sunpal-rma-track{padding:16px}}


/* Sunpal Warranty Center v1.7 Premium */
.sunpal-warranty-premium{max-width:1220px;margin:28px auto;font-family:inherit;color:#111827}.sunpal-warranty-hero{background:radial-gradient(circle at top left,rgba(40,167,69,.34),transparent 36%),linear-gradient(135deg,#07100a,#13251a 58%,#0b0f0c);color:#fff;border-radius:30px;padding:38px;margin-bottom:18px;box-shadow:0 24px 70px rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.1)}.sunpal-warranty-hero h1{color:#fff;margin:8px 0 12px;font-size:42px;letter-spacing:-.04em}.sunpal-warranty-hero p{max-width:760px;color:#dcefe2;font-size:18px}.sunpal-hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.sunpal-hero-badges span{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);padding:9px 13px;border-radius:999px;color:#edf9f0;font-weight:800;font-size:13px}.sunpal-warranty-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#f3f6f4;border:1px solid rgba(0,0,0,.08);border-radius:22px;padding:10px;margin-bottom:18px;position:sticky;top:12px;z-index:5;backdrop-filter:blur(8px)}.sunpal-warranty-tabs button{appearance:none;border:0;border-radius:16px;padding:14px 12px;background:transparent;color:#1f2937;font-weight:900;font-size:15px;cursor:pointer}.sunpal-warranty-tabs button.active{background:#111914;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.16)}.sunpal-warranty-panel{display:none}.sunpal-warranty-panel.active{display:block;animation:sunpalFade .22s ease}@keyframes sunpalFade{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}.sunpal-serial-checker,.sunpal-my-warranty{background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 16px 45px rgba(0,0,0,.08);border-radius:22px;padding:24px}.sunpal-serial-result{margin-top:18px;padding:20px;border-radius:18px}.sunpal-serial-result.ok{background:#effff3;border:1px solid #bff0ca}.sunpal-serial-result.warn{background:#fff7ed;border:1px solid #fed7aa}.sunpal-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sunpal-result-grid p,.sunpal-mini-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:14px;margin:0}.sunpal-qr-card{display:flex;gap:16px;align-items:center;margin-top:16px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:14px}.sunpal-qr-card img{width:112px;height:112px}.sunpal-qr-card code{white-space:normal;word-break:break-all}.sunpal-mini-card{margin-bottom:10px;background:#f8faf9}.sunpal-rma-embedded .sunpal-rma-hero{display:none}.sunpal-rma-embedded.sunpal-rma-wrap{box-shadow:0 16px 45px rgba(0,0,0,.08)}
@media(max-width:900px){.sunpal-warranty-hero{padding:26px;border-radius:24px}.sunpal-warranty-hero h1{font-size:32px}.sunpal-warranty-tabs{grid-template-columns:1fr;position:relative;top:auto}.sunpal-result-grid{grid-template-columns:1fr}.sunpal-qr-card{display:block;text-align:center}.sunpal-qr-card img{margin:auto auto 10px}.sunpal-warranty-premium{margin:16px auto}}

/* Sunpal Warranty Center v2.2 UI polish + product serial support */
body:has(.sunpal-warranty-premium) .rank-math-breadcrumb,
body:has(.sunpal-warranty-premium) .woocommerce-breadcrumb,
body:has(.sunpal-warranty-premium) .fusion-breadcrumbs,
body:has(.sunpal-warranty-premium) .breadcrumb,
body:has(.sunpal-warranty-premium) nav.breadcrumbs{
  display:none!important;
}
.sunpal-warranty-premium{max-width:1240px;margin:22px auto 42px;padding:0 18px}
.sunpal-warranty-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 16px;color:#667085;font-size:14px;font-weight:700}
.sunpal-warranty-breadcrumb a{color:#0b6b2c;text-decoration:none}.sunpal-warranty-breadcrumb strong{color:#111827}.sunpal-warranty-breadcrumb span{opacity:.75}
.sunpal-warranty-hero{position:relative;overflow:hidden;padding:46px;border-radius:34px}.sunpal-warranty-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:999px;background:rgba(40,167,69,.16);filter:blur(2px)}
.sunpal-warranty-hero h1{max-width:860px;line-height:1.05}.sunpal-warranty-hero p{line-height:1.55}.sunpal-hero-badges span{box-shadow:inset 0 1px rgba(255,255,255,.12)}
.sunpal-warranty-tabs{box-shadow:0 12px 32px rgba(0,0,0,.08);top:18px}.sunpal-warranty-tabs button{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.sunpal-warranty-tabs button:hover{transform:translateY(-1px)}
.sunpal-warranty-panel>.sunpal-rma-wrap,.sunpal-warranty-panel>.sunpal-rma-track,.sunpal-warranty-panel>.sunpal-serial-checker,.sunpal-warranty-panel>.sunpal-my-warranty{border-radius:26px;border:1px solid rgba(15,23,18,.08);box-shadow:0 18px 55px rgba(15,23,18,.08)}
.sunpal-rma-alert{border:1px solid rgba(245,158,11,.22);box-shadow:0 10px 28px rgba(245,158,11,.08)}
.sunpal-rma-status input,.sunpal-rma-wrap input,.sunpal-rma-wrap select,.sunpal-rma-wrap textarea{font-size:16px;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.sunpal-rma-status input:focus,.sunpal-rma-wrap input:focus,.sunpal-rma-wrap select:focus,.sunpal-rma-wrap textarea:focus{border-color:#28a745;box-shadow:0 0 0 4px rgba(40,167,69,.12)}
.sunpal-rma-btn,.sunpal-rma-status button{box-shadow:0 12px 26px rgba(40,167,69,.22);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.sunpal-rma-btn:hover,.sunpal-rma-status button:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(40,167,69,.26)}
.sunpal-serial-result.ok{background:linear-gradient(180deg,#f0fff4,#ffffff);border-color:#b7efc3}.sunpal-serial-result.warn{background:linear-gradient(180deg,#fff7ed,#ffffff)}
.sunpal-result-grid p strong{color:#0f172a}.sunpal-result-grid p{box-shadow:0 8px 20px rgba(0,0,0,.035)}
@media(max-width:900px){.sunpal-warranty-premium{padding:0 12px;margin-top:14px}.sunpal-warranty-breadcrumb{font-size:13px;margin-bottom:12px}.sunpal-warranty-hero{padding:28px 22px;border-radius:26px}.sunpal-warranty-hero h1{font-size:34px}.sunpal-hero-badges span{font-size:12px;padding:8px 11px}.sunpal-warranty-tabs{gap:8px;padding:8px;border-radius:18px}.sunpal-warranty-tabs button{padding:13px 10px;text-align:left}.sunpal-rma-section{padding:16px}.sunpal-rma-status input{width:100%}}


/* Sunpal v2.7.6 UI polish: delivery issue form + RMA Control Center */
.sunpal-delivery-issue-card{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 18px 55px rgba(15,23,42,.08);
  border-radius:26px!important;
  padding:24px!important;
}
.sunpal-delivery-issue-card h3{color:#0f8f45!important;font-size:24px;letter-spacing:-.02em;margin-bottom:10px!important}
.sunpal-delivery-issue-card p{color:#475569!important;line-height:1.6;font-size:15px}
.sunpal-delivery-issue-card p strong{color:#111827!important}
.sunpal-delivery-issue-card .sunpal-rma-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:18px 0}
.sunpal-delivery-issue-card label{display:block!important;color:#111827!important;font-weight:800!important;margin:0 0 14px!important}
.sunpal-delivery-issue-card input,
.sunpal-delivery-issue-card select,
.sunpal-delivery-issue-card textarea{
  width:100%!important;box-sizing:border-box!important;margin-top:7px!important;
  min-height:48px!important;padding:13px 14px!important;border-radius:14px!important;
  border:1px solid #d7dde5!important;background:#fff!important;color:#111827!important;
  font-size:16px!important;line-height:1.35!important;box-shadow:none!important;
}
.sunpal-delivery-issue-card textarea{min-height:112px!important;resize:vertical!important}
.sunpal-delivery-issue-card input:focus,
.sunpal-delivery-issue-card select:focus,
.sunpal-delivery-issue-card textarea:focus{border-color:#16a34a!important;box-shadow:0 0 0 4px rgba(22,163,74,.12)!important;outline:0!important}
.sunpal-delivery-issue-card .sunpal-rma-btn{margin-top:8px!important;border-radius:18px!important;min-height:56px!important;background:#16a34a!important;color:#fff!important;font-size:18px!important;box-shadow:0 14px 30px rgba(22,163,74,.22)!important}
.sunpal-delivery-issue-card a{color:#087f3b!important;font-weight:900!important}

.wp-admin .sunpal-rma-control-wrap{max-width:1280px}
.wp-admin .sunpal-rma-control-wrap .eco-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px!important}
.wp-admin .sunpal-rma-control-wrap .eco-metrics div{background:#fff;border:1px solid rgba(15,23,42,.09);border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.wp-admin .sunpal-rma-control-wrap .eco-metrics strong{display:block;font-size:32px;line-height:1;color:#0f172a}
.wp-admin .sunpal-rma-control-wrap .eco-metrics span{display:block;color:#64748b;font-weight:800;margin-top:6px}
.wp-admin .sunpal-rma-control-wrap .eco-section{background:#fff;border:1px solid rgba(15,23,42,.09);border-radius:24px;padding:20px;margin:18px 0;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.wp-admin .sunpal-rma-control-wrap .eco-section h2{margin-top:0;color:#111827}
.wp-admin .sunpal-rma-control-wrap .eco-section .button{margin:4px 4px 4px 0;border-radius:999px;border-color:#0ea5e9;color:#0369a1;background:#f0f9ff;font-weight:800;padding:6px 14px;min-height:38px}
.wp-admin .sunpal-rma-control-wrap .eco-section .button:hover{background:#e0f2fe;border-color:#0284c7;color:#075985}
.wp-admin .sunpal-rma-control-wrap .eco-rma{background:#f8fafc!important;border:1px solid rgba(15,23,42,.10)!important;border-radius:24px!important;padding:20px!important;box-shadow:0 10px 28px rgba(15,23,42,.05);color:#111827!important}
.wp-admin .sunpal-rma-control-wrap .eco-rma>strong{display:block;font-size:18px;margin-bottom:6px;color:#111827!important}
.wp-admin .sunpal-rma-control-wrap .eco-rma>span{display:inline-flex;padding:5px 10px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:900;font-size:12px;text-transform:uppercase;margin-bottom:12px}
.wp-admin .sunpal-rma-control-wrap .eco-rma p{color:#334155;line-height:1.6}
.wp-admin .sunpal-rma-control-wrap .eco-rma select,
.wp-admin .sunpal-rma-control-wrap .eco-rma input[type=text],
.wp-admin .sunpal-rma-control-wrap .eco-rma input:not([type]),
.wp-admin .sunpal-rma-control-wrap .eco-rma textarea{border:1px solid #cbd5e1;border-radius:12px;padding:8px 10px;background:#fff;color:#111827;box-shadow:none;max-width:100%}
.wp-admin .sunpal-rma-control-wrap .eco-rma textarea{width:100%;box-sizing:border-box}
.wp-admin .sunpal-rma-control-wrap .eco-rma .button-primary{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;border-radius:999px;font-weight:900}
.wp-admin .sunpal-rma-control-wrap .eco-rma form[method=post]{vertical-align:top}
@media(max-width:900px){
  .sunpal-delivery-issue-card{padding:18px!important;border-radius:22px!important}
  .sunpal-delivery-issue-card .sunpal-rma-grid{grid-template-columns:1fr!important;gap:8px!important}
  .wp-admin .sunpal-rma-control-wrap .eco-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){.wp-admin .sunpal-rma-control-wrap .eco-metrics{grid-template-columns:1fr!important}}


/* v2.7.7 RMA preset text selector */
.sunpal-preset-row{padding:12px 14px;background:#f6f9fb;border:1px solid #e3edf3;border-radius:14px;margin:14px 0!important;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sunpal-preset-row label{font-weight:700;color:#17202a}
.sunpal-preset-row select{min-width:320px;max-width:100%;padding:8px 10px;border-radius:10px;border:1px solid #cbd5df;background:#fff;color:#17202a}
.sunpal-preset-row .description{color:#667085;font-size:13px}

/* v2.8.3 Front-facing Warranty Center polish: readable customer app cards */
.sunpal-warranty-premium{--sunpal-green:#28a745;--sunpal-dark:#0f1712;--sunpal-muted:#667085;--sunpal-line:#e5e7eb;--sunpal-soft:#f6fbf7;color:#101828}
.sunpal-warranty-premium *{box-sizing:border-box}
.sunpal-warranty-panel>.sunpal-my-warranty{background:#fff!important;color:#101828!important;border-radius:28px!important;padding:32px!important}
.sunpal-my-warranty h2,.sunpal-my-warranty h3,.sunpal-my-warranty p,.sunpal-my-warranty strong,.sunpal-my-warranty span{color:inherit}
.sunpal-myw-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}
.sunpal-myw-head h2{margin:4px 0 8px;font-size:34px;letter-spacing:-.035em;color:#0f1712!important}
.sunpal-myw-head p{margin:0;color:var(--sunpal-muted)!important;font-size:16px;max-width:760px}
.sunpal-myw-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.sunpal-myw-actions a,.sunpal-empty-state a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;background:var(--sunpal-green);color:#fff!important;border-radius:14px;padding:12px 16px;font-weight:900;box-shadow:0 10px 24px rgba(40,167,69,.18)}
.sunpal-myw-actions a:first-child{background:#111914}
.sunpal-myw-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
.sunpal-myw-stats div{background:linear-gradient(180deg,#f7fff9,#fff);border:1px solid #d9f2df;border-radius:18px;padding:18px}
.sunpal-myw-stats strong{display:block;font-size:30px;line-height:1;color:#0f1712!important}
.sunpal-myw-stats span{display:block;margin-top:6px;color:var(--sunpal-muted)!important;font-weight:800}
.sunpal-myw-grid{grid-template-columns:1fr 1fr!important;gap:22px!important}
.sunpal-my-warranty .sunpal-rma-section.sunpal-myw-card{background:#fff!important;color:#101828!important;border:1px solid var(--sunpal-line)!important;border-radius:22px!important;padding:22px!important;margin:0!important;box-shadow:0 12px 34px rgba(15,23,42,.05)}
.sunpal-my-warranty .sunpal-rma-section.sunpal-myw-card h3{color:#15803d!important;margin:0 0 16px!important;font-size:24px!important}
.sunpal-empty-state{background:#f7faf8;border:1px dashed #cbd5d1;border-radius:18px;padding:22px;color:#101828!important}
.sunpal-empty-state strong{font-size:18px;color:#0f1712!important}
.sunpal-empty-state p{margin:8px 0 16px;color:var(--sunpal-muted)!important}
.sunpal-my-warranty .sunpal-mini-card.sunpal-myw-list-card{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#f8faf9!important;border:1px solid #e5e7eb!important;border-radius:16px!important;margin:0 0 10px!important;padding:16px!important;color:#101828!important}
.sunpal-my-warranty .sunpal-mini-card strong{color:#0f1712!important}
.sunpal-my-warranty .sunpal-mini-card span{color:var(--sunpal-muted)!important}
.sunpal-my-warranty .sunpal-mini-card em{font-style:normal;background:#ecfdf3;color:#15803d!important;border:1px solid #bbf7d0;border-radius:999px;padding:6px 10px;font-weight:900;white-space:nowrap}
.sunpal-warranty-tabs{overflow:auto;scrollbar-width:none}.sunpal-warranty-tabs::-webkit-scrollbar{display:none}
.sunpal-warranty-tabs button{min-height:56px;color:#18231d!important}.sunpal-warranty-tabs button.active{color:#fff!important;background:#111914!important}
.sunpal-warranty-panel>.sunpal-rma-wrap .sunpal-rma-section{background:#17221b;color:#f8fff9}.sunpal-warranty-panel>.sunpal-rma-wrap .sunpal-rma-section p{color:#d9eadf}
.sunpal-warranty-panel>.sunpal-rma-track,.sunpal-warranty-panel>.sunpal-serial-checker{color:#101828!important;background:#fff!important}
.sunpal-warranty-panel>.sunpal-rma-track p,.sunpal-warranty-panel>.sunpal-serial-checker p{color:#475467!important}
@media(max-width:900px){.sunpal-myw-head{display:block}.sunpal-myw-actions{justify-content:stretch;margin-top:14px}.sunpal-myw-actions a{flex:1}.sunpal-myw-grid,.sunpal-myw-stats{grid-template-columns:1fr!important}.sunpal-warranty-panel>.sunpal-my-warranty{padding:20px!important}.sunpal-myw-head h2{font-size:28px}.sunpal-warranty-tabs{display:flex}.sunpal-warranty-tabs button{min-width:180px;text-align:center!important}}

/* v2.8.9 Admin Dashboard Contrast Fix: force readable admin KPI cards and old RMA admin pages */
.wp-admin .wrap .sunpal-rma-section,
.wp-admin .sunpal-cds-admin .sunpal-rma-section,
.wp-admin #wpbody-content .sunpal-rma-section{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
}
.wp-admin .wrap .sunpal-rma-section h1,
.wp-admin .wrap .sunpal-rma-section h2,
.wp-admin .wrap .sunpal-rma-section h3,
.wp-admin .wrap .sunpal-rma-section h4,
.wp-admin .wrap .sunpal-rma-section p,
.wp-admin .wrap .sunpal-rma-section span,
.wp-admin .wrap .sunpal-rma-section strong,
.wp-admin .wrap .sunpal-rma-section label,
.wp-admin #wpbody-content .sunpal-rma-section h1,
.wp-admin #wpbody-content .sunpal-rma-section h2,
.wp-admin #wpbody-content .sunpal-rma-section h3,
.wp-admin #wpbody-content .sunpal-rma-section h4,
.wp-admin #wpbody-content .sunpal-rma-section p,
.wp-admin #wpbody-content .sunpal-rma-section span,
.wp-admin #wpbody-content .sunpal-rma-section strong,
.wp-admin #wpbody-content .sunpal-rma-section label{
  color:#111827!important;
}
.wp-admin .wrap .sunpal-rma-section h2,
.wp-admin #wpbody-content .sunpal-rma-section h2{
  font-size:30px!important;
  line-height:1!important;
  margin:0 0 10px!important;
  font-weight:900!important;
}
.wp-admin .wrap .sunpal-rma-section p,
.wp-admin #wpbody-content .sunpal-rma-section p{
  margin:0!important;
  color:#64748b!important;
  font-weight:800!important;
}
.wp-admin .wrap .sunpal-rma-section a,
.wp-admin #wpbody-content .sunpal-rma-section a{
  color:#047857!important;
  font-weight:900!important;
}
.wp-admin .wrap .sunpal-rma-section input,
.wp-admin .wrap .sunpal-rma-section select,
.wp-admin .wrap .sunpal-rma-section textarea,
.wp-admin #wpbody-content .sunpal-rma-section input,
.wp-admin #wpbody-content .sunpal-rma-section select,
.wp-admin #wpbody-content .sunpal-rma-section textarea{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid #cbd5e1!important;
}
.wp-admin .wrap .sunpal-rma-section input::placeholder,
.wp-admin .wrap .sunpal-rma-section textarea::placeholder,
.wp-admin #wpbody-content .sunpal-rma-section input::placeholder,
.wp-admin #wpbody-content .sunpal-rma-section textarea::placeholder{
  color:#94a3b8!important;
}
.wp-admin .wrap .sunpal-rma-section .button-primary,
.wp-admin #wpbody-content .sunpal-rma-section .button-primary{
  color:#fff!important;
}

/* v2.9.1 Customer warranty/register UI readability fix */
.sunpal-warranty-register-card,
.sunpal-serial-result .sunpal-warranty-register-card,
.sunpal-warranty-panel .sunpal-warranty-register-card,
.sunpal-rma-section.sunpal-warranty-register-card{
  background:#ffffff!important;
  color:#101828!important;
  border:1px solid #d9f2df!important;
  border-radius:22px!important;
  box-shadow:0 14px 40px rgba(15,23,42,.07)!important;
}
.sunpal-warranty-register-card h1,
.sunpal-warranty-register-card h2,
.sunpal-warranty-register-card h3{
  color:#15803d!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
}
.sunpal-warranty-register-card p,
.sunpal-warranty-register-card label,
.sunpal-warranty-register-card span,
.sunpal-warranty-register-card small,
.sunpal-warranty-register-card strong{
  color:#101828!important;
}
.sunpal-warranty-register-card p,
.sunpal-warranty-register-card small{
  color:#475467!important;
  line-height:1.55!important;
}
.sunpal-warranty-register-card label{
  display:block!important;
  font-weight:800!important;
  margin:0 0 12px!important;
}
.sunpal-warranty-register-card input,
.sunpal-warranty-register-card select,
.sunpal-warranty-register-card textarea,
.sunpal-serial-checker input,
.sunpal-serial-checker select,
.sunpal-serial-checker textarea{
  width:100%!important;
  max-width:100%!important;
  min-height:48px!important;
  border:1px solid #cfd8e3!important;
  border-radius:14px!important;
  background:#ffffff!important;
  color:#101828!important;
  padding:12px 14px!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04)!important;
  font-size:16px!important;
}
.sunpal-warranty-register-card input::placeholder,
.sunpal-warranty-register-card textarea::placeholder,
.sunpal-serial-checker input::placeholder,
.sunpal-serial-checker textarea::placeholder{
  color:#98a2b3!important;
  opacity:1!important;
}
.sunpal-warranty-register-card .sunpal-rma-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
.sunpal-warranty-register-card input[type=file]{padding:10px!important;background:#f8fafc!important}
.sunpal-warranty-register-card .sunpal-rma-btn,
.sunpal-warranty-register-card button{
  background:#16a34a!important;
  color:#ffffff!important;
  border:0!important;
  border-radius:16px!important;
  font-weight:900!important;
  min-height:52px!important;
  padding:14px 18px!important;
  box-shadow:0 12px 28px rgba(22,163,74,.18)!important;
}
.sunpal-serial-result.ok,
.sunpal-serial-result.warn{
  color:#101828!important;
}
.sunpal-serial-result.ok h3,
.sunpal-serial-result.warn h3,
.sunpal-serial-result.ok p,
.sunpal-serial-result.warn p,
.sunpal-serial-result.ok strong,
.sunpal-serial-result.warn strong{
  color:#101828!important;
}
@media(max-width:720px){
  .sunpal-warranty-register-card{padding:18px!important}
  .sunpal-warranty-register-card .sunpal-rma-grid{grid-template-columns:1fr!important;gap:12px!important}
}

/* v2.9.4 structured RMA courier address fields */
.sunpal-address-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:18px;margin:14px 0;box-shadow:0 12px 35px rgba(15,23,42,.06)}
.sunpal-address-card h4{margin:0 0 6px;color:#111827;font-size:20px}
.sunpal-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sunpal-address-grid label{color:#111827!important;font-weight:800}
.sunpal-address-grid input,.sunpal-address-grid select,.sunpal-address-grid textarea{width:100%!important;color:#111827!important;background:#fff!important;border:1px solid #dbe3ea!important;border-radius:14px!important;padding:12px 14px!important}
@media(max-width:680px){.sunpal-address-grid{grid-template-columns:1fr}}
