/* CreedForge client-facing page system. Navigation is intentionally isolated in client-navigation.css. */
.cf-main{margin-left:236px!important;min-height:100vh!important;background:var(--cf-page,#f5f8fd)!important}
.cf-top{height:78px!important;background:#fff!important;border-bottom:1px solid #e6edf5!important;display:flex!important;align-items:center!important;gap:20px!important;padding:0 32px!important}
.cf-search{width:min(460px,52%)!important;height:42px!important;border-radius:22px!important;background:#f5f8fc!important;border:1px solid #edf1f6!important;display:flex!important;align-items:center!important;padding:0 16px!important;gap:10px!important}
.cf-search input{font-size:11px!important}
.cf-userbar{margin-left:auto!important;display:flex!important;align-items:center!important;gap:9px!important}
.cf-icon{width:38px!important;height:38px!important;border-radius:50%!important;background:#f5f8fc!important;border:1px solid #edf1f6!important}
.cf-profile-page,.cf-orders-page{max-width:1320px!important;margin:0 auto!important;padding:30px 34px 100px!important}
.cf-page-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:18px!important}
.cf-page-heading h1{font-size:27px!important}.cf-page-heading p{font-size:11px!important;color:#8290a5!important}
.cf-heading-btn{min-height:40px!important;padding:0 15px!important;border-radius:11px!important;background:#1677f9!important;color:#fff!important;font-size:10px!important;box-shadow:0 9px 22px rgba(22,119,249,.18)!important}

/* Orders */
.cf-order-filters{display:flex!important;gap:8px!important;overflow:auto!important;padding:0 0 16px!important}
.cf-order-filters a{padding:8px 13px!important;border-radius:999px!important;background:#fff!important;border:1px solid #e4ebf4!important;color:#738198!important;font-size:9px!important}
.cf-order-filters a.active{background:#1677f9!important;border-color:#1677f9!important;color:#fff!important}
.cf-orders-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.cf-order-card{background:#fff!important;border:1px solid #e3eaf3!important;border-radius:18px!important;padding:18px!important;box-shadow:0 8px 26px rgba(23,45,82,.05)!important;min-width:0!important}
.cf-order-card:hover{border-color:#c8dcf7!important;box-shadow:0 14px 34px rgba(23,45,82,.08)!important}
.cf-order-main{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:14px!important;align-items:center!important}
.cf-order-thumb{width:86px!important;height:86px!important;border-radius:15px!important;background:#f1f6fd!important;border:1px solid #e6edf5!important;overflow:hidden!important}
.cf-order-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.cf-order-project{font-size:7px!important;letter-spacing:1.1px!important;color:#1677f9!important;font-weight:800!important}
.cf-order-info h3{font-size:15px!important;margin:4px 0 5px!important;color:#17243b!important}
.cf-order-info p{font-size:9px!important;color:#8a96a8!important}
.cf-order-meta{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-top:15px!important}
.cf-order-meta div{padding:11px!important;background:#f8fafd!important;border:1px solid #edf1f6!important;border-radius:11px!important}
.cf-order-meta span{font-size:7px!important;color:#8a96a8!important}.cf-order-meta b{font-size:10px!important;color:#26364e!important}
.cf-order-card .cf-progress-line{margin-top:14px!important}.cf-order-card .cf-progress-line a{font-size:8px!important}
.cf-progress{height:7px!important;margin-top:7px!important;background:#eaf0f7!important}.cf-progress>span{background:linear-gradient(90deg,#1677f9,#4fa0ff)!important}
.cf-order-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:15px!important;padding-top:13px!important;border-top:1px solid #edf1f6!important}
.cf-order-actions .cf-primary-btn,.cf-order-actions .cf-secondary-btn{min-height:36px!important;padding:8px 11px!important;font-size:9px!important}
.cf-empty-orders{background:#fff!important;border:1px dashed #cfdbea!important;border-radius:18px!important;box-shadow:0 8px 25px rgba(23,45,82,.03)!important}

/* Profile */
.cf-profile-hero{border-radius:20px!important;padding:24px!important;margin-bottom:16px!important;background:linear-gradient(120deg,#062b68,#0754c8 70%,#1677f9)!important}
.cf-feature-project{grid-template-columns:220px minmax(0,1fr)!important;border-radius:18px!important}
.cf-feature-media{min-height:210px!important}.cf-feature-body{padding:24px!important}
.cf-profile-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important;gap:16px!important}
.cf-action-grid{grid-template-columns:repeat(4,1fr)!important}
.cf-action-grid a{min-height:105px!important;justify-content:center!important}
.cf-orders-section{margin-top:0!important}.cf-account-strip{grid-template-columns:repeat(3,1fr)!important}

@media(max-width:1150px){
  .cf-orders-grid{grid-template-columns:1fr!important}
  .cf-action-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:900px){
  .cf-main{margin-left:0!important}
  .cf-client-sidebar{display:none!important}
  .cf-top{padding:0 20px!important}
  .cf-profile-page,.cf-orders-page{padding-left:20px!important;padding-right:20px!important}
}
@media(max-width:700px){
  .cf-main{padding-bottom:100px!important}
  .cf-top{height:64px!important;padding:0 12px!important;gap:8px!important}
  .cf-mobile-brand{display:block!important;flex:0 0 auto!important}
  .cf-mobile-brand-logo{height:29px!important;max-width:112px!important}
  .cf-search{height:38px!important;width:auto!important;flex:1!important;min-width:0!important;padding:0 12px!important}
  .cf-search input{font-size:10px!important}
  .cf-userbar .cf-icon:first-child{display:none!important}
  .cf-profile-page,.cf-orders-page{padding:19px 12px 104px!important}
  .cf-page-heading{align-items:flex-start!important}.cf-page-heading h1{font-size:22px!important}.cf-page-heading p{font-size:9px!important;line-height:1.6!important}
  .cf-heading-btn{min-height:36px!important;padding:0 11px!important;font-size:8px!important}
  .cf-orders-grid{grid-template-columns:1fr!important}.cf-order-card{padding:14px!important;border-radius:16px!important}
  .cf-order-main{grid-template-columns:66px minmax(0,1fr)!important;gap:11px!important}.cf-order-thumb{width:66px!important;height:66px!important;border-radius:13px!important}
  .cf-order-info h3{font-size:13px!important}.cf-order-meta{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.cf-order-meta div{padding:9px 7px!important}
  .cf-order-actions .cf-primary-btn,.cf-order-actions .cf-secondary-btn{flex:1 1 calc(50% - 7px)!important}
  .cf-feature-project{grid-template-columns:1fr!important}.cf-feature-media{min-height:160px!important;height:160px!important}.cf-feature-body{padding:17px!important}
  .cf-profile-grid{grid-template-columns:1fr!important}.cf-action-grid{grid-template-columns:repeat(2,1fr)!important}.cf-account-strip{grid-template-columns:1fr!important}
}
.cf-orders-grid{align-items:start!important}
.cf-order-card{align-self:start!important;height:max-content!important}
