/* Brecollive | Draft-first application workflow, 2026-11-15
   Soft clay panels and crisp high-contrast actions, mobile responsive. */
:root { --bc-indigo:#0a3577; --bc-blue:#167ac5; --bc-gold:#d7a341; --bc-mist:#f4f8ff; --bc-border:rgba(19,70,127,.13); }

/* First-time application: pricing is intentionally not displayed. */
.bc-review-draft { margin:1rem 0; padding:1.1rem 1.25rem; border-radius:20px; background:#eaf6fc;
  border:1px solid #b7dcec; box-shadow:inset 3px 3px 7px rgba(25,82,127,.05),5px 6px 12px rgba(7,64,124,.05); color:#183c67; }
.bc-review-draft strong { display:block; font-size:1.08rem; font-weight:800; }
.bc-review-draft p { line-height:1.6; margin:.4rem 0 0; }
.bc-draft-aside { background:linear-gradient(145deg,#f9fdff,#eaf4fd)!important; border:1px solid #d3e8f7; }
.bc-draft-aside h2 { font-size:clamp(1.65rem,3vw,2.25rem)!important; line-height:1.18!important; color:#123b75; }
.bc-draft-aside .fee-row { align-items:center; }

/* Clear saved-draft confirmation, with next step to verify account ownership. */
.bc-draft-success { min-height:70vh; max-width:700px; padding:clamp(2rem,6vw,4rem); margin:clamp(1.25rem,4vw,3rem) auto;
  border-radius:32px; background:linear-gradient(155deg,#fff,#ecf5ff); box-shadow:10px 15px 35px #bfd7f052,inset -5px -5px 14px #fff;
  color:#16375c; text-align:center; border:1px solid var(--bc-border); }
.bc-draft-success img { display:block; max-width:190px; width:55%; margin:0 auto 1.6rem; }
.bc-success-pill { display:inline-block; padding:.5rem 1rem; background:#d8f4e7; color:#176447; border-radius:999px; font-weight:800; }
.bc-draft-success h1 { font-size:clamp(1.65rem,4vw,2.4rem); line-height:1.2; margin:1.1rem 0; }
.bc-draft-success p { line-height:1.65; }
.bc-success-reference { display:grid; gap:.35rem; margin:1.5rem auto; padding:1.2rem; border-radius:18px; background:#e2f0fd; border:1px dashed #76b0da; }
.bc-success-reference small { color:#516b8d; }
.bc-success-reference strong { font-size:clamp(1.1rem,3vw,1.6rem); letter-spacing:.05em; overflow-wrap:anywhere; }
.bc-success-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.8rem; margin-top:1.6rem; }
.bc-solid-btn,.bc-success-actions button,.bc-shortlist-btn { cursor:pointer; background:linear-gradient(130deg,#0d66b3,#154384); color:white; border:0; border-radius:13px;
  display:inline-flex; justify-content:center; align-items:center; text-decoration:none; font-weight:800; font-size:.95rem; padding:.85rem 1.25rem;
  box-shadow:0 5px 12px #0c4c9250; transition:transform .16s ease,box-shadow .16s ease; }
.bc-solid-btn:hover,.bc-success-actions button:hover,.bc-shortlist-btn:hover { transform:translateY(-1px); box-shadow:0 7px 18px #0c4c9250; }
.bc-solid-btn:disabled,.bc-shortlist-btn:disabled { opacity:.6; cursor:not-allowed; }
.bc-success-actions button { background:#e5effb; color:#123a75; box-shadow:none; border:1px solid #b9d1ea; }

/* Applicant dashboard — draft/shortlist/payment tracking cards. */
.applicant-dashboard-page { max-width:1230px; }
.applicant-dashboard-stats { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:1rem; }
.applicant-stat-card { border:1px solid var(--bc-border); border-radius:24px!important; background:linear-gradient(145deg,#fff,#eff6ff)!important;
  box-shadow:8px 10px 24px #b6cfe446,inset -3px -3px 10px #fff; }
.applicant-stat-card h2 { color:#174c88; font-size:clamp(1.65rem,3vw,2.5rem); }
.bc-request-stat { border-color:#edca86; background:linear-gradient(145deg,#fffdf5,#ffefd2)!important; }
.bc-payment-action { margin-top:1rem; padding:1rem 1.1rem; background:#f0f7ff; border:1px solid #cee1f4; border-radius:16px; }
.bc-payment-action p { margin:0 0 .7rem; line-height:1.5; color:#365b7d; }
.bc-payment-action .bc-solid-btn { width:100%; }
.bc-payment-action .bc-shortlist-prompt { padding:.4rem 0; color:#905606; font-weight:750; }
.bc-payment-complete { padding:.9rem; border-radius:14px; background:#e3f8ed; color:#135b3f; font-weight:750; }
.bc-payment-closed { color:#8a4437; font-weight:600; }
.bc-pay-error { color:#842f38; background:#fff0f0; padding:.8rem 1rem; border-radius:12px; border:1px solid #f2babd; }
.applicant-application-card { border-radius:20px!important; border:1px solid #e1ecf5; background:white; }

/* Admin command center — a scannable dashboard with action-oriented workflow. */
.admin-shell { background:linear-gradient(160deg,#f9fbff 0%,#eaf3fc 100%); min-height:100vh; }
.admin-shell .admin-header { background:linear-gradient(100deg,#0a3165,#1760aa); border-radius:0 0 24px 24px; }
.admin-shell .admin-header h1,.admin-shell .admin-header .admin-eyebrow { color:white!important; }
.admin-dashboard-layout { gap:1.3rem!important; }
.admin-content { border-radius:26px!important; min-width:0; }
.admin-toolbar h2 { letter-spacing:-.025em; font-weight:850; color:#173f76; }
.admin-summary-grid { grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important; gap:.9rem!important; }
.admin-summary-card { border:1px solid #e2ebf6!important; border-radius:21px!important; background:linear-gradient(140deg,#fff,#f1f6fe)!important;
  box-shadow:7px 9px 20px #b5cbe23b,inset -3px -3px 9px #fff; }
.admin-summary-card span { color:#45628a; font-weight:700; }
.admin-summary-card h3 { color:#174a82; font-size:clamp(1.45rem,2vw,2rem); overflow-wrap:anywhere; }
.bc-admin-drafts { border-color:#f0d49d!important; background:linear-gradient(145deg,#fffdf4,#fff0cf)!important; }
.bc-admin-drafts h3 { color:#a66a10; }
.bc-admin-shortlisted { background:linear-gradient(145deg,#f8fdff,#e4f7fb)!important; border-color:#bcdfea!important; }
.bc-admin-shortlisted h3 { color:#147a90; }
.admin-sidebar { border-radius:22px!important; }
.admin-sidebar-link { border-radius:13px!important; }
.admin-sidebar-link.active { background:#dcecff!important; color:#134981!important; font-weight:800; }
.admin-sidebar-count { display:inline-flex; min-width:1.4rem; justify-content:center; background:#e9f2fa; border-radius:99px; }
.admin-search input { border-radius:13px!important; min-height:44px; }
.admin-table-wrap { border-radius:18px; overflow:auto; border:1px solid #dbe7f4; }
.admin-table tbody tr:hover { background:#edf6ff; }
.admin-table th { position:sticky; top:0; background:#e9f2fc; color:#244d7b; font-weight:850; z-index:1; }
.admin-table td,.admin-table th { padding:1rem .7rem!important; }
.admin-status { display:inline-block; margin:.12rem 0; padding:.25rem .55rem; border-radius:99px; background:#f1f4fa; font-size:.79rem; }
.bc-state-draft { background:#fff0cc; color:#875400; }
.bc-state-shortlisted { background:#d8f7eb; color:#116547; }
.bc-state-under_review { background:#e1eafc; color:#245695; }
.bc-state-rejected { background:#fff0ef; color:#9b343a; }
.admin-status-controls { display:flex!important; gap:.6rem!important; flex-wrap:wrap; align-items:center; }
.bc-shortlist-btn { background:linear-gradient(120deg,#d3a443,#b27b25); color:#1e2938; }
.admin-status-message { overflow-wrap:anywhere; }

@media(max-width:1000px) { .applicant-dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media(max-width:640px) {
  .applicant-dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .bc-draft-success { margin:1rem; padding:1.5rem; min-height:auto; }
  .admin-toolbar,.admin-status-controls { flex-wrap:wrap; }
  .admin-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .admin-summary-card { padding:.85rem!important; }
  .admin-table { min-width:750px; }
  .bc-success-actions .bc-solid-btn,.bc-success-actions button { width:100%; }
}
