/* 365available Trial - shared styles */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f6f8fa;
  color: #1f2328;
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e1e4e8;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1f6feb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.brand-title { font-weight: 700; font-size: 16px; }
.brand-sub   { font-size: 12px; color: #57606a; }

.wrap {
  max-width: 540px;
  margin: 48px auto;
  padding: 0 16px;
}
.card {
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.card h1 {
  margin: 0 0 8px;
  font-size: 22px;
}
.card .lead {
  margin: 0 0 20px;
  color: #57606a;
  font-size: 14px;
}

.steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.steps .step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #d0d7de;
}
.steps .step.active { background: #1f6feb; }
.steps .step.done   { background: #2da44e; }

label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #24292f;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #1f2328;
}
input:focus {
  outline: none;
  border-color: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.2);
}
.hint {
  margin-top: 4px;
  font-size: 12px;
  color: #57606a;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary  { background: #1f6feb; color: #fff; }
.btn-primary:hover:not(:disabled) { background: #1a5fd0; }
.btn-ghost    { background: transparent; color: #1f6feb; border-color: #d0d7de; }
.btn-ghost:hover:not(:disabled) { background: #f6f8fa; }
.btn-block { width: 100%; }

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.row .btn { flex: 0 0 auto; }
.row .grow { flex: 1; }

.error {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #ffebe9;
  border: 1px solid #ffcecb;
  color: #cf222e;
  font-size: 13px;
}
.success {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #dafbe1;
  border: 1px solid #b4dfb8;
  color: #1a7f37;
  font-size: 13px;
}
.hidden { display: none !important; }

.foot {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #57606a;
}
.muted { color: #57606a; }
.small { font-size: 12px; }

.drop-zone {
  margin-top: 16px;
  border: 2px dashed #d0d7de;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  background: #f6f8fa;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: #1f6feb;
  background: #ddf4ff;
}
.drop-zone p { margin: 0 0 6px; color: #57606a; font-size: 14px; }
.drop-zone strong { color: #1f6feb; }

.file-info {
  margin-top: 12px;
  padding: 10px 12px;
  background: #ddf4ff;
  border: 1px solid #54aeff;
  border-radius: 6px;
  font-size: 13px;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating WhatsApp + Email contact bubbles */
.contact-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.contact-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.contact-whatsapp { background: #25D366; }
.contact-email    { background: #1f6feb; }

/* Max 10 products banner */
.banner-warn {
  margin: 18px 0;
  padding: 16px 20px;
  background: #fff8c5;
  border: 2px solid #d4a72c;
  border-radius: 10px;
  color: #614a07;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
}
.banner-warn strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #4a3a05;
}

/* Soft blue informational banner */
.banner-info {
  margin: 16px 0;
  padding: 14px 18px;
  background: #ddf4ff;
  border: 1px solid #54aeff;
  border-radius: 10px;
  color: #0950b1;
  font-size: 15px;
  line-height: 1.5;
}
.banner-info strong { font-weight: 700; }

/* Center text inside button-styled anchors */
.btn { text-align: center; }
.btn-block { width: 100%; }

/* Payment modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}
.modal-overlay.hidden { display: none !important; }
.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  padding: 26px 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 18px;
}
.pay-table td {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #1f2328;
}
.pay-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pay-table .pay-total td {
  border-top: 2px solid #d0d7de;
  border-bottom: none;
  font-size: 18px;
  padding-top: 12px;
}
.gst-fields {
  margin: 16px 0;
  padding: 12px 14px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 13px;
}
.gst-fields summary {
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0;
  list-style: revert;
}
.gst-fields[open] summary { margin-bottom: 8px; }
.gst-fields input, .gst-fields textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 4px;
  font-family: inherit;
}
.gst-fields textarea { resize: vertical; min-height: 60px; }
.gst-fields label {
  font-size: 12px;
  font-weight: 600;
  color: #24292f;
  margin: 8px 0 4px;
}

/* Always-open GST block (replaces the old <details> dropdown) */
.gst-open {
  margin: 16px 0;
  padding: 14px 16px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 13px;
}
.gst-open .gst-heading {
  font-weight: 700;
  font-size: 14px;
  color: #24292f;
  margin-bottom: 4px;
}
.gst-open .hint { margin-top: 0; margin-bottom: 10px; }
.gst-open label {
  font-size: 12px;
  font-weight: 600;
  color: #24292f;
  margin: 8px 0 4px;
}
.gst-open input,
.gst-open textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 4px;
  font-family: inherit;
}
.gst-open textarea { resize: vertical; min-height: 60px; }

/* Wallet chip in topbar (paid_upload + dashboard) */
.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Wallet balance row inside the payment modal */
.wallet-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 8px;
  margin: 8px 0 16px;
  font-size: 13px;
  color: #027a48;
}
.wallet-status strong { font-size: 16px; font-variant-numeric: tabular-nums; }

/* "Successful" green state on Continue button */
.btn-success {
  background: #2da44e !important;
  color: #fff !important;
  border-color: #2da44e !important;
  cursor: default !important;
  opacity: 1 !important;
}
