.wc-c2c-cardbox{margin:28px 0;padding:24px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.06);direction:rtl}.wc-c2c-card-title{font-size:20px;font-weight:800;margin-bottom:8px}.wc-c2c-card-note{color:#667085;margin-bottom:16px}.wc-c2c-payment-rows{display:grid;gap:10px}.wc-c2c-payment-rows>div{display:flex;justify-content:space-between;gap:15px;padding:12px 14px;background:#f8fafc;border-radius:12px}.wc-c2c-card-number{align-items:center}.wc-c2c-card-number strong{font-size:18px;letter-spacing:1px}.wc-c2c-card-number button{border:0;border-radius:9px;padding:8px 12px;cursor:pointer}.wc-c2c-card-help{margin-top:14px;padding:12px;border-radius:12px;background:#fff7e6}.wc-c2c-account{direction:rtl}.wc-c2c-page-head{margin-bottom:18px}.wc-c2c-page-head h2{margin-bottom:5px}.wc-c2c-page-head p{color:#667085}.wc-c2c-order-card{background:#fff;border:1px solid #e6e8ec;border-radius:20px;padding:18px;margin:16px 0;box-shadow:0 7px 24px rgba(0,0,0,.05)}.wc-c2c-order-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #eee}.wc-c2c-order-label{display:block;color:#98a2b3;font-size:12px}.wc-c2c-status-pill{padding:8px 12px;border-radius:999px;font-size:13px;font-weight:700}.wc-c2c-status-pill.pending{background:#fff4cc;color:#8a5b00}.wc-c2c-status-pill.approved{background:#e8f7ed;color:#137333}.wc-c2c-status-pill.rejected{background:#fdecec;color:#b42318}.wc-c2c-order-grid,.wc-c2c-receipt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.wc-c2c-order-grid>div,.wc-c2c-receipt-grid>div{padding:12px;border-radius:12px;background:#f8fafc}.wc-c2c-order-grid small,.wc-c2c-receipt-grid small{display:block;color:#98a2b3;margin-bottom:5px}.wc-c2c-receipt-panel{padding:15px;border-radius:15px;background:#f9fafb;border:1px dashed #d0d5dd}.wc-c2c-receipt-title{font-weight:800;margin-bottom:10px}.wc-c2c-view{display:inline-block;margin:4px 0;text-decoration:none}.wc-c2c-info-line{padding:11px 12px;border-radius:10px;background:#fff4cc;margin-top:10px}.wc-c2c-info-line.success{background:#e8f7ed}.wc-c2c-info-line.error{background:#fdecec}.wc-c2c-form{display:grid;gap:10px;margin-top:15px;padding:16px;border-radius:15px;background:#fff;border:1px solid #eaecf0}.wc-c2c-form-title{font-weight:800}.wc-c2c-form label{display:grid;gap:6px;font-weight:600}.wc-c2c-form input{padding:11px;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.wc-c2c-form button{padding:12px;border:0;border-radius:10px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.wc-c2c-msg{padding:14px;border-radius:13px;margin:0 0 16px}.wc-c2c-msg.success{background:#e8f7ed;color:#137333}.wc-c2c-msg.error{background:#fdecec;color:#b42318}.wc-c2c-empty{padding:24px;border:1px dashed #d0d5dd;border-radius:16px;text-align:center}@media(max-width:700px){.wc-c2c-order-grid,.wc-c2c-receipt-grid{grid-template-columns:1fr}.wc-c2c-payment-rows>div{flex-direction:column}.wc-c2c-card-number{align-items:flex-start}}
/* v6.3 colorful payment card */
.wc-c2c-cardbox{
  position:relative;overflow:hidden;
  border:0!important;
  background:linear-gradient(135deg,#f7f0ff 0%,#eef7ff 48%,#effcf5 100%)!important;
  box-shadow:0 12px 35px rgba(79,70,229,.14)!important;
}
.wc-c2c-cardbox:before{
  content:"";position:absolute;left:-45px;top:-55px;width:150px;height:150px;
  border-radius:50%;background:rgba(124,58,237,.12);
}
.wc-c2c-cardbox:after{
  content:"";position:absolute;right:-55px;bottom:-70px;width:180px;height:180px;
  border-radius:50%;background:rgba(16,185,129,.10);
}
.wc-c2c-card-title,.wc-c2c-card-note,.wc-c2c-payment-rows,.wc-c2c-card-help{position:relative;z-index:1}
.wc-c2c-card-title{color:#4c1d95}
.wc-c2c-card-number{
  background:linear-gradient(90deg,#ede9fe,#e0f2fe)!important;
  border:1px solid #c4b5fd;
}
.wc-c2c-card-number strong{
  color:#312e81;font-size:20px;
}
.wc-c2c-card-number button{
  background:#6d28d9;color:#fff;
}
.wc-c2c-card-number button:hover{background:#5b21b6}

/* v6.4 real Jalali calendar + polished customer cards */
.wc-c2c-order-card{position:relative;overflow:hidden}
.wc-c2c-order-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#7c3aed,#06b6d4);border-radius:20px 0 0 20px}
.wc-c2c-order-grid>div{background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #e5e7eb}
.wc-c2c-receipt-preview{margin:10px 0 14px;text-align:center;background:#fff;border-radius:14px;padding:8px;border:1px solid #e5e7eb}
.wc-c2c-receipt-image{display:block;max-width:180px;width:auto;height:auto;max-height:220px;object-fit:contain;border-radius:10px;margin:auto}
.wc-c2c-date-field{position:relative}
.wc-c2c-date-field>label{display:block;margin-bottom:6px}
.wc-c2c-date-trigger{width:100%;padding:12px 14px;border:1px solid #c7d2fe;border-radius:12px;background:linear-gradient(135deg,#eef2ff,#ecfeff);color:#3730a3;font-weight:800;cursor:pointer;text-align:right}
.wc-c2c-date-value{margin-top:7px;color:#667085;font-size:13px}
.wc-c2c-calendar{position:fixed;z-index:999999;right:50%;top:50%;transform:translate(50%,-50%);width:min(360px,calc(100vw - 28px));padding:16px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 25px 70px rgba(15,23,42,.22);direction:rtl}
.wc-c2c-calendar[hidden]{display:none}
.wc-c2c-cal-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin-bottom:12px}
.wc-c2c-cal-head button{height:38px;border:0;border-radius:10px;background:#eef2ff;color:#4338ca;font-size:24px;cursor:pointer}
.wc-c2c-cal-head strong{text-align:center}
.wc-c2c-week,.wc-c2c-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}
.wc-c2c-week span{font-size:12px;color:#98a2b3;padding:5px 0;font-weight:700}
.wc-c2c-days span{height:40px}
.wc-c2c-days button{height:40px;border:0;background:#f8fafc;border-radius:10px;cursor:pointer;font-weight:700}
.wc-c2c-days button:hover{background:#ede9fe;color:#5b21b6}
.wc-c2c-cal-close{width:100%;margin-top:12px;padding:10px;border:0;border-radius:10px;background:#111827;color:#fff;font-weight:700;cursor:pointer}
@media(max-width:700px){
 .wc-c2c-calendar{width:calc(100vw - 20px)}
 .wc-c2c-order-card{padding:14px}
}

.wc-c2c-upload-box{margin:24px 0;padding:22px;border:1px solid #e6e8ec;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.06);direction:rtl}.wc-c2c-upload-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.wc-c2c-upload-head h3{margin:0 0 5px;font-size:20px}.wc-c2c-upload-head p{margin:0;color:#667085}.wc-c2c-direct-form{margin-top:16px;background:#f8fafc;border-color:#e4e7ec}.wc-c2c-direct-form input[type=file]{padding:10px}.wc-c2c-direct-form button[type=submit]{background:#111827;color:#fff}.wc-c2c-upload-box .wc-c2c-receipt-panel{margin-top:12px}
@media(max-width:700px){.wc-c2c-upload-head{align-items:flex-start;flex-direction:column}.wc-c2c-upload-box{padding:16px}}
