/* CareFall Buy Page – clean white cards, soft shadows, modern inputs */

:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.06);

  /* CareFall-ish blue: tweak if you have an exact brand hex */
  --brand: #1f6feb;
  --brand-dark: #1659c7;
  --ring: rgba(31, 111, 235, 0.25);

  --radius: 18px;
  --radius-sm: 12px;

  --pad: 18px;
  --pad-lg: 24px;

  --danger: #ef4444;
  --ok: #16a34a;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, #eaf2ff 0%, var(--bg) 45%, var(--bg) 100%);
  line-height: 1.35;
}

a{ color: var(--brand); text-decoration: none; }
a:hover{ text-decoration: underline; }

.page{
  min-height: 100%;
  padding: 22px 14px 40px;
}

.container{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 18px;
}

.brandmark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #64a3ff);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.titleblock h1{
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.titleblock p{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Card */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad-lg);
}

.card + .card{ margin-top: 14px; }

.section-title{
  font-size: 15px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.small{
  font-size: 13px;
  color: var(--muted);
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
}

.grid{
  display: grid;
  gap: 12px;
}

/* Mobile first: 1 column */
.grid.cols-2,
.grid.cols-3{
  grid-template-columns: 1fr;
}

/* Desktop: switch to 2 columns */
@media (min-width: 860px){
  .page{ padding: 28px 18px 52px; }
  .titleblock h1{ font-size: 24px; }
  .grid.cols-2{ grid-template-columns: 1fr 1fr; }
  .grid.cols-3{ grid-template-columns: 1.2fr 1fr 1fr; }
}

/* Form */
.field label{
  display: block;
  font-size: 13px;
  color: #1f2937;
  margin: 0 0 6px;
}

.input,
.select,
.textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .06s ease;
}

.textarea{ min-height: 94px; resize: vertical; }

.input:focus,
.select:focus,
.textarea:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.hint{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.row{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #fbfdff;
  border-radius: var(--radius-sm);
}

.checkbox input{ margin-top: 3px; }

hr.sep{
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* Buttons */
.actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 860px){
  .actions{ flex-direction: row; justify-content: flex-end; align-items: center; }
}

.btn{
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31,111,235,0.28);
}

.btn-primary:hover{
  box-shadow: 0 12px 26px rgba(31,111,235,0.34);
}

.btn-ghost:hover{
  background: #f8fafc;
}

.btn[disabled]{
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Status / alerts */
.alert{
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 14px;
}

.alert.error{
  border-color: rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .06);
  color: #7f1d1d;
}

.alert.ok{
  border-color: rgba(22, 163, 74, .35);
  background: rgba(22, 163, 74, .06);
  color: #14532d;
}

.footer{
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.trustrow{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 860px){
  .trustrow{
    grid-template-columns: repeat(3, 1fr);
  }
}
/* honeypot hidden */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* --- polish pass --- */

/* tighten header spacing a touch */
.header { margin: 6px 0 14px; }
.titleblock p { max-width: 64ch; }

/* make the card feel slightly more premium */
.card {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);
}

/* textarea should NOT look like code */
.textarea {
  font-family: inherit;
  letter-spacing: normal;
}

/* terms block: slightly stronger "required" feel */
.checkbox {
  border-color: rgba(31, 111, 235, 0.20);
  background: rgba(31, 111, 235, 0.04);
}

/* make primary CTA a touch more confident */
.btn-primary {
  padding: 13px 18px;
  box-shadow: 0 14px 28px rgba(31,111,235,0.28);
}
.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(31,111,235,0.34);
}

/* trust badges: slightly less "pill cramped" */
.badge {
  padding: 9px 12px;
  border-color: rgba(15, 23, 42, 0.10);
}

/* reduce the bottom emptiness */
.footer { margin-top: 10px; }

/* ===== FORCE logo to behave (nuke mode) ===== */
.header { display:flex; align-items:center; gap:14px; }

.logo-wrap{
  display:inline-flex !important;
  align-items:center !important;
  height:44px !important;
  max-width:220px !important;
  overflow:hidden !important;
  flex:0 0 auto !important;
}

.logo{
  display:block !important;
  height:44px !important;
  max-height:44px !important;
  width:auto !important;
  max-width:220px !important;
  object-fit:contain !important;
  object-position:left center !important;
}

/* hard override any global img { width:100% } rules */
.header img.logo{
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 220px !important;
  display: block !important;
}
.header .logo-wrap{
  display: inline-flex !important;
  align-items: center !important;
  height: 44px !important;
  max-width: 220px !important;
  overflow: hidden !important;
}

root@ev07-server:~#
