/* File: /assets/css/style.css
 * Mobile-first styling tambahan (tidak konflik dengan Bootstrap 5).
 */

:root{
  --app-radius: 14px;
  --app-shadow: 0 6px 18px rgba(0,0,0,.06);
  --app-text: #0f172a;
  --app-muted: #64748b;
}

/* Global readability */
html, body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--app-text);
}

.container{
  /* Bootstrap already responsive; we only help mobile feel */
}

.card{
  border-radius: var(--app-radius);
  border-color: rgba(0,0,0,.08);
  box-shadow: var(--app-shadow);
}

.card .card-body{
  padding: 1rem;
}

.navbar{
  backdrop-filter: saturate(180%) blur(8px);
}

/* Soft inputs */
.form-control{
  border-radius: 12px;
}

.btn{
  border-radius: 12px;
}

/* Sticky bottom button area (use in campaign detail etc.) */
.sticky-bottom-bar{
  position: sticky;
  bottom: 0;
  z-index: 1030;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: .75rem;
  backdrop-filter: blur(8px);
}

.sticky-bottom-bar .btn{
  width: 100%;
}

/* Status badge (compatible with text in #payStatus) */
.status-badge{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
  line-height: 1.2;
  border: 1px solid transparent;
  background: #f1f5f9;
  color: #0f172a;
}

/* Color variations (no bootstrap conflicts) */
.status-PENDING{
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.status-PAID{
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.status-FAILED{
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.status-EXPIRED{
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

/* Small helpers */
.text-muted{
  color: var(--app-muted) !important;
}

.font-monospace{
  font-variant-ligatures: none;
}

/* Improve iframe wrapper on small screens */
.ratio{
  border-radius: 12px;
}

/* Spacing for mobile */
@media (max-width: 576px){
  .card .card-body{ padding: .95rem; }
}
