@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

.c2c-checkout-box { font-family:Vazirmatn,Tahoma,sans-serif; direction:rtl; background:#fff; padding:24px; border-radius:16px; box-shadow:0 8px 30px -12px rgba(0,0,0,.15); max-width:800px; margin:20px auto; }
.c2c-checkout-box h2 { margin-top:0; color:#1e3a8a; }
.c2c-amount { background:#eff6ff; padding:12px 16px; border-radius:10px; border-right:4px solid #1e3a8a; }

.c2c-cards-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; margin:24px 0 8px; }
.c2c-bank-card { background:linear-gradient(135deg,#1e3a8a,#0ea5e9); color:#fff; padding:18px; border-radius:14px; box-shadow:0 8px 20px -10px rgba(14,165,233,.5); position:relative; }
.c2c-bank-card--copyable { cursor:pointer; transition:transform .15s ease, box-shadow .15s ease; }
.c2c-bank-card--copyable:hover { transform:translateY(-2px); box-shadow:0 12px 24px -10px rgba(14,165,233,.65); }
.c2c-bank-card--copyable:active { transform:translateY(0); }
.c2c-bank-name { font-size:14px; opacity:.9; }
.c2c-bank-number { font-family:'Courier New',monospace; font-size:20px; letter-spacing:2px; margin:10px 0; direction:ltr; padding:8px; background:rgba(255,255,255,.1); border-radius:8px; text-align:center; }
.c2c-copy-hint { display:block; font-size:10px; opacity:.6; margin-top:4px; font-family:Vazirmatn; }
.c2c-copy-toast { position:absolute; top:12px; left:50%; transform:translateX(-50%) translateY(-8px); background:#10b981; color:#fff; padding:6px 14px; border-radius:8px; font-size:12px; font-weight:600; opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease; white-space:nowrap; z-index:2; }
.c2c-bank-card.is-copied .c2c-copy-toast { opacity:1; transform:translateX(-50%) translateY(0); }
.c2c-bank-holder { font-size:13px; }
.c2c-sheba { font-size:12px; opacity:.85; margin-top:6px; }

.c2c-checkout-inline { margin:20px 0 0; max-width:none; box-shadow:none; padding:20px 0 8px; border-top:1px solid #e2e8f0; }
.c2c-checkout-inline > p { line-height:1.9; color:#475569; margin:0 0 20px; }
.payment_method_c2c_gateway .payment_box { padding:1.2em 0; }

.c2c-upload-form label { display:block; margin-bottom:14px; font-size:14px; color:#334155; }
.c2c-upload-form input, .c2c-upload-form select { width:100%; padding:10px 12px; border:1px solid #cbd5e1; border-radius:8px; font-family:inherit; margin-top:6px; box-sizing:border-box; }
.c2c-upload-form input[type="file"] { padding:8px; background:#f8fafc; }

.c2c-upload-form--checkout {
  margin-top:28px;
  padding:28px 24px 24px;
  background:linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:0 10px 30px -18px rgba(30, 58, 138, 0.25);
}

.c2c-form-section-title {
  font-size:17px;
  font-weight:900;
  color:#1e3a8a;
  margin:0 0 28px;
  padding-bottom:14px;
  border-bottom:2px solid #dbeafe;
  letter-spacing:-0.2px;
}

.c2c-field {
  margin-bottom:26px;
}

.c2c-field:last-of-type {
  margin-bottom:0;
}

.c2c-field-label {
  display:block;
  font-size:14px;
  font-weight:800;
  color:#1e293b;
  margin:0 0 12px;
  line-height:1.6;
}

.c2c-field-control {
  display:block;
  width:100%;
  margin:0;
  padding:14px 16px;
  border:1.5px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  font-family:inherit;
  font-size:14px;
  color:#0f172a;
  box-sizing:border-box;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.c2c-field-control::placeholder {
  color:#94a3b8;
  opacity:1;
}

.c2c-field-control:hover {
  border-color:#93c5fd;
}

.c2c-field-control:focus {
  outline:none;
  border-color:#3b82f6;
  box-shadow:0 0 0 4px rgba(59, 130, 246, 0.15);
  background:#fff;
}

.c2c-field--file .c2c-field-file {
  padding:16px;
  background:#f1f5f9;
  border-style:dashed;
  border-color:#94a3b8;
  cursor:pointer;
}

.c2c-field--file .c2c-field-file:hover {
  background:#eff6ff;
  border-color:#60a5fa;
}


.c2c-receipt-upload-status { margin-top:20px; padding-top:16px; border-top:1px dashed #e2e8f0; font-size:13px; min-height:20px; line-height:1.8; }
.c2c-receipt-upload-status.is-loading { color:#1e3a8a; }
.c2c-receipt-upload-status.is-success { color:#065f46; }
.c2c-receipt-upload-status.is-error { color:#991b1b; }
body.c2c-jalali-open { overflow:hidden; }
.c2c-jalali-picker { direction:rtl; font-family:Vazirmatn,Tahoma,sans-serif; }
.c2c-jalali-picker select { width:100%; padding:8px 10px; border:1px solid #cbd5e1; border-radius:8px; font-family:inherit; }
.c2c-btn { padding:12px 24px; border-radius:10px; border:0; cursor:pointer; font-family:inherit; font-weight:600; font-size:14px; }
.c2c-btn-primary { background:#1e3a8a; color:#fff; }

.c2c-status { padding:14px 18px; border-radius:10px; margin:16px 0; font-weight:600; }
.c2c-status-approved { background:#d1fae5; color:#065f46; }
.c2c-status-rejected { background:#fee2e2; color:#991b1b; }
.c2c-status-pending { background:#fef3c7; color:#92400e; }
