.paycal-inv-wrap{ direction: rtl; }
.paycal-inv-hero{
  background: linear-gradient(135deg, #0B2A4A, #1366D6);
  color:#fff;
  border-radius:16px;
  padding:18px;
  margin:14px 0 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.paycal-inv-hero h1{ margin:0; font-size:22px; }
.paycal-inv-hero p{ margin:8px 0 0; color:#E6F4FF; opacity:.95; }

.paycal-inv-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media(max-width: 1100px){ .paycal-inv-grid{ grid-template-columns: 1fr; } }

.paycal-inv-card{
  background:#fff;
  border:1px solid #E3ECFA;
  border-radius:16px;
  padding:16px;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}
.paycal-inv-card h2{ margin-top:0; }

.paycal-field{ margin-bottom:12px; }
.paycal-field label{ display:block; font-weight:800; margin-bottom:6px; color:#0F172A; }
.paycal-field input[type="text"], .paycal-field select{
  width:100%;
  border:1px solid #E3ECFA;
  border-radius:12px;
  padding:10px 12px;
  outline:none;
}
.paycal-row2{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.paycal-row2 > *{ flex: 1 1 220px; }

.paycal-check{ display:inline-flex; gap:8px; align-items:center; font-weight:700; color:#334155; }

.paycal-muted{ color:#64748B; }

.paycal-inv-wrap .notice,
.paycal-inv-wrap div.notice,
.paycal-inv-wrap .notice p{
  color:#111827 !important;
}

.paycal-inv-wrap .notice{
  border-radius:12px;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  border-top:1px solid rgba(17,24,39,.08);
  border-right:1px solid rgba(17,24,39,.08);
  border-bottom:1px solid rgba(17,24,39,.08);
}

.paycal-inv-wrap .notice-info{
  background:#eff6ff !important;
  border-left-color:#2563eb !important;
}

.paycal-inv-wrap .notice-success{
  background:#ecfdf5 !important;
  border-left-color:#059669 !important;
}

.paycal-inv-wrap .notice-warning{
  background:#fff8e5 !important;
  border-left-color:#d97706 !important;
}

.paycal-inv-wrap .notice-error{
  background:#fff4f4 !important;
  border-left-color:#dc2626 !important;
}

.paycal-notice,
.paycal-banner,
.paycal-admin-notice{
  color:#1f2937 !important;
}

.paycal-notice p,
.paycal-banner p,
.paycal-admin-notice p{
  color:inherit !important;
}

.paycal-notice--warning,
.paycal-banner--warning{
  background:#fff7ed !important;
  color:#7c2d12 !important;
  border-inline-start:4px solid #fb923c !important;
}

.paycal-notice--error,
.paycal-banner--error{
  background:#fef2f2 !important;
  color:#7f1d1d !important;
  border-inline-start:4px solid #dc2626 !important;
}

.paycal-notice--info,
.paycal-banner--info{
  background:#eff6ff !important;
  color:#1e3a8a !important;
  border-inline-start:4px solid #3b82f6 !important;
}

.paycal-notice--success,
.paycal-banner--success{
  background:#ecfdf5 !important;
  color:#065f46 !important;
  border-inline-start:4px solid #10b981 !important;
}

.paycal-notice a,
.paycal-banner a,
.paycal-admin-notice a{
  color:inherit !important;
  text-decoration:underline;
  font-weight:600;
}

.paycal-inv-wrap .paycal-notice,
.paycal-inv-wrap .paycal-banner,
.paycal-inv-wrap .paycal-admin-notice,
.paycal-inv-wrap .notice,
.paycal-inv-hero .paycal-notice,
.paycal-inv-hero .paycal-banner,
.paycal-inv-hero .paycal-admin-notice,
.paycal-inv-hero .notice{
  background:#ecfdf5 !important;
  color:#064e3b !important;
  border-inline-start:4px solid #10b981 !important;
  border-left-color:#10b981 !important;
}

.paycal-inv-wrap .paycal-notice *,
.paycal-inv-wrap .paycal-banner *,
.paycal-inv-wrap .paycal-admin-notice *,
.paycal-inv-wrap .notice *,
.paycal-inv-hero .paycal-notice *,
.paycal-inv-hero .paycal-banner *,
.paycal-inv-hero .paycal-admin-notice *,
.paycal-inv-hero .notice *{
  color:#064e3b !important;
}

.paycal-inv-wrap .paycal-notice a,
.paycal-inv-wrap .paycal-banner a,
.paycal-inv-wrap .paycal-admin-notice a,
.paycal-inv-wrap .notice a,
.paycal-inv-hero .paycal-notice a,
.paycal-inv-hero .paycal-banner a,
.paycal-inv-hero .paycal-admin-notice a,
.paycal-inv-hero .notice a{
  color:#065f46 !important;
  text-decoration:underline;
  font-weight:600;
}

.paycal-inv-wrap .paycal-notice button,
.paycal-inv-wrap .paycal-banner button,
.paycal-inv-wrap .paycal-admin-notice button,
.paycal-inv-wrap .notice button,
.paycal-inv-hero .paycal-notice button,
.paycal-inv-hero .paycal-banner button,
.paycal-inv-hero .paycal-admin-notice button,
.paycal-inv-hero .notice button{
  color:#111827 !important;
}

.paycal-logo-row{ display:flex; gap:10px; margin-bottom:10px; }
.paycal-logo-preview{
  border:1px dashed #E3ECFA;
  border-radius:14px;
  background:#F5F9FF;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:80px;
}
.paycal-logo-preview img{ max-height:64px; border-radius:10px; }

.paycal-preview{
  border:1px solid #E3ECFA;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
