/* FloatCommerce RC2.9.2.3 — Unified Admin Typography & UI Standardisation
   Applies ONLY to dashboard/admin pages. Public storefront themes are intentionally untouched. */

body.fc-dashboard-page{
  --fc-admin-font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --fc-admin-text: #172033;
  --fc-admin-muted: #657083;
  --fc-admin-heading: #0b2442;
  --fc-admin-control-border: #b9c5d3;
  --fc-admin-control-focus: #0b2442;
  --fc-admin-radius: 11px;
  --fc-admin-card-radius: 15px;
  font-family: var(--fc-admin-font)!important;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fc-admin-text);
}

/* One typography scale across Dashboard → Live Orders. */
body.fc-dashboard-page h1,
body.fc-dashboard-page .h1,
body.fc-dashboard-page .display-6,
body.fc-dashboard-page .fc-cms-hero h1,
body.fc-dashboard-page .fc-admin-page-head h1{
  font-family: var(--fc-admin-font)!important;
  font-size: 32px!important;
  line-height: 1.14!important;
  font-weight: 800!important;
  letter-spacing: -.025em!important;
  color: var(--fc-admin-heading)!important;
}
body.fc-dashboard-page h2,
body.fc-dashboard-page .h2{
  font-family: var(--fc-admin-font)!important;
  font-size: 24px!important;
  line-height: 1.22!important;
  font-weight: 800!important;
  color: var(--fc-admin-heading);
}
body.fc-dashboard-page h3,
body.fc-dashboard-page .h3,
body.fc-dashboard-page .fc-card-heading h3,
body.fc-dashboard-page .card-header h3{
  font-family: var(--fc-admin-font)!important;
  font-size: 19px!important;
  line-height: 1.28!important;
  font-weight: 800!important;
  color: var(--fc-admin-heading);
}
body.fc-dashboard-page h4,
body.fc-dashboard-page .h4{
  font-family: var(--fc-admin-font)!important;
  font-size: 16px!important;
  line-height: 1.32!important;
  font-weight: 800!important;
}
body.fc-dashboard-page p,
body.fc-dashboard-page td,
body.fc-dashboard-page li,
body.fc-dashboard-page .form-check-label{
  font-size: 15px;
}
body.fc-dashboard-page small,
body.fc-dashboard-page .small,
body.fc-dashboard-page .text-muted,
body.fc-dashboard-page .fc-help,
body.fc-dashboard-page .fc-field-help,
body.fc-dashboard-page .fc-card-heading p,
body.fc-dashboard-page .fc-admin-page-head p{
  font-size: 13.5px!important;
  line-height: 1.45!important;
}

/* Stable admin identity/navigation typography. */
body.fc-dashboard-page .fc-admin-identity small{
  font-size: 12.5px!important;
  font-weight: 700!important;
}
body.fc-dashboard-page .fc-admin-identity h2{
  font-size: 22px!important;
  line-height: 1.2!important;
}
body.fc-dashboard-page .fc-admin-tabs{
  gap: 7px!important;
}
body.fc-dashboard-page .fc-admin-tabs a{
  min-height: 40px!important;
  padding: 9px 13px!important;
  border-radius: 9px!important;
  font-size: 13.5px!important;
  line-height: 1.1!important;
  font-weight: 700!important;
}

/* Forms: readable on inexpensive/touch restaurant displays. */
body.fc-dashboard-page .form-label,
body.fc-dashboard-page .fc-field>label,
body.fc-dashboard-page .fc-stack-fields label:not(.fc-switch-line),
body.fc-dashboard-page .fc-variation-row label,
body.fc-dashboard-page .fc-extra-row label,
body.fc-dashboard-page .fc-delivery-field>label{
  font-size: 14px!important;
  line-height: 1.3!important;
  font-weight: 750!important;
  color: #26364c!important;
  margin-bottom: 6px;
}
body.fc-dashboard-page .form-control,
body.fc-dashboard-page .form-select,
body.fc-dashboard-page input[type="text"],
body.fc-dashboard-page input[type="email"],
body.fc-dashboard-page input[type="number"],
body.fc-dashboard-page input[type="tel"],
body.fc-dashboard-page input[type="url"],
body.fc-dashboard-page input[type="date"],
body.fc-dashboard-page input[type="datetime-local"],
body.fc-dashboard-page input[type="time"],
body.fc-dashboard-page textarea,
body.fc-dashboard-page select{
  min-height: 44px;
  border-radius: var(--fc-admin-radius)!important;
  border-color: var(--fc-admin-control-border)!important;
  font-family: var(--fc-admin-font)!important;
  font-size: 15.5px!important;
  line-height: 1.35!important;
  color: #111827;
}
body.fc-dashboard-page textarea{min-height: 96px}
body.fc-dashboard-page .form-control:focus,
body.fc-dashboard-page .form-select:focus,
body.fc-dashboard-page input:focus,
body.fc-dashboard-page textarea:focus,
body.fc-dashboard-page select:focus{
  border-color: var(--fc-admin-control-focus)!important;
  box-shadow: 0 0 0 3px rgba(11,36,66,.12)!important;
}
body.fc-dashboard-page input[type="checkbox"],
body.fc-dashboard-page input[type="radio"]{
  width: 18px;
  height: 18px;
}

/* Product/Menu editor operational readability. */
body.fc-dashboard-page .fc-product-editor{
  font-size: 15px;
}
body.fc-dashboard-page .fc-product-editor .fc-editor-card{
  border-radius: var(--fc-admin-card-radius)!important;
}
body.fc-dashboard-page .fc-product-editor .fc-card-heading{
  margin-bottom: 18px!important;
}
body.fc-dashboard-page .fc-product-editor .fc-card-heading h3{
  font-size: 20px!important;
}
body.fc-dashboard-page .fc-product-editor .fc-card-heading p{
  font-size: 13.5px!important;
}
body.fc-dashboard-page .fc-variation-row,
body.fc-dashboard-page .fc-extra-row{
  font-size: 15px!important;
}
body.fc-dashboard-page .fc-variation-row input,
body.fc-dashboard-page .fc-extra-row input,
body.fc-dashboard-page .fc-variation-row select,
body.fc-dashboard-page .fc-extra-row select{
  min-height: 44px!important;
  font-size: 15px!important;
}
body.fc-dashboard-page .fc-check-card,
body.fc-dashboard-page .fc-switch-line,
body.fc-dashboard-page .fc-toggle-stack label{
  font-size: 14.5px!important;
}
body.fc-dashboard-page .fc-check-card span,
body.fc-dashboard-page .fc-switch-line b,
body.fc-dashboard-page .fc-toggle-stack b{
  font-size: 14.5px!important;
  font-weight: 750!important;
}
body.fc-dashboard-page .fc-toggle-stack small,
body.fc-dashboard-page .fc-switch-line small{
  font-size: 13px!important;
}
body.fc-dashboard-page .fc-allergen-manager h4{
  font-size: 17px!important;
}
body.fc-dashboard-page .fc-allergen-manager strong{
  font-size: 15px!important;
}
body.fc-dashboard-page .fc-allergen-options label,
body.fc-dashboard-page .fc-allergen-options li,
body.fc-dashboard-page .fc-allergen-options span{
  font-size: 14px!important;
}

/* Cards/panels use one visual language across operational modules. */
body.fc-dashboard-page .card,
body.fc-dashboard-page .fc-card,
body.fc-dashboard-page .fc-cms-form,
body.fc-dashboard-page .fc-editor-card,
body.fc-dashboard-page .fc-data-card{
  border-radius: var(--fc-admin-card-radius)!important;
}
body.fc-dashboard-page .card-header,
body.fc-dashboard-page .fc-card-heading{
  font-size: 15px;
}

/* Tables and reports: readable without becoming oversized. */
body.fc-dashboard-page .table{
  font-size: 14.5px!important;
  line-height: 1.42;
}
body.fc-dashboard-page .table th{
  font-size: 13.5px!important;
  line-height: 1.25!important;
  font-weight: 800!important;
  letter-spacing: .01em;
  padding-top: 12px!important;
  padding-bottom: 12px!important;
}
body.fc-dashboard-page .table td{
  font-size: 14.5px!important;
  padding-top: 12px!important;
  padding-bottom: 12px!important;
  vertical-align: middle;
}
body.fc-dashboard-page .badge{
  font-size: 12.5px!important;
  line-height: 1!important;
  font-weight: 750!important;
  padding: 7px 9px!important;
  border-radius: 999px!important;
}

/* One button contract across Dashboard, Orders, CMS, Menu, Restaurant,
   Website, Delivery, Reports and Live Orders. Colours remain semantic. */
body.fc-dashboard-page .btn,
body.fc-dashboard-page .fc-primary-action,
body.fc-dashboard-page .fc-secondary-action,
body.fc-dashboard-page .fc-btn-red,
body.fc-dashboard-page .fc-delete{
  min-height: 42px!important;
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  gap: 7px;
  padding: 9px 15px!important;
  border-radius: 10px!important;
  font-family: var(--fc-admin-font)!important;
  font-size: 14.5px!important;
  line-height: 1.15!important;
  font-weight: 750!important;
  text-decoration: none!important;
}
body.fc-dashboard-page .btn-sm{
  min-height: 36px!important;
  padding: 7px 11px!important;
  font-size: 13.5px!important;
}
body.fc-dashboard-page .btn-dark,
body.fc-dashboard-page .fc-primary-action{
  background:#0b2442!important;
  border-color:#0b2442!important;
  color:#fff!important;
}
body.fc-dashboard-page .btn-dark:hover,
body.fc-dashboard-page .fc-primary-action:hover{
  background:#12375f!important;
  border-color:#12375f!important;
}
body.fc-dashboard-page .btn-outline-dark,
body.fc-dashboard-page .fc-secondary-action{
  background:#fff!important;
  border:1px solid #aebaca!important;
  color:#0b2442!important;
}
body.fc-dashboard-page .btn-outline-dark:hover,
body.fc-dashboard-page .fc-secondary-action:hover{
  background:#edf2f7!important;
  border-color:#7e8da1!important;
  color:#07192d!important;
}
body.fc-dashboard-page .btn-danger,
body.fc-dashboard-page .fc-delete{
  background:#b42335!important;
  border-color:#b42335!important;
  color:#fff!important;
}
body.fc-dashboard-page .btn-success{
  background:#16834b!important;
  border-color:#16834b!important;
  color:#fff!important;
}
body.fc-dashboard-page .btn-warning{
  color:#342400!important;
}
body.fc-dashboard-page .btn:focus-visible,
body.fc-dashboard-page a:focus-visible,
body.fc-dashboard-page button:focus-visible{
  outline:3px solid rgba(11,36,66,.28)!important;
  outline-offset:2px!important;
}
body.fc-dashboard-page .d-flex.gap-1,
body.fc-dashboard-page .fc-action-group,
body.fc-dashboard-page .fc-row-actions{
  gap:10px!important;
}

/* Alerts/messages should match the larger operational typography. */
body.fc-dashboard-page .alert{
  font-size: 14.5px!important;
  line-height: 1.45!important;
  border-radius: 12px!important;
}

/* Responsive scale: preserve readability while fitting tablets/mobile. */
@media (max-width: 991.98px){
  body.fc-dashboard-page{font-size:14.5px}
  body.fc-dashboard-page h1,
  body.fc-dashboard-page .h1,
  body.fc-dashboard-page .display-6,
  body.fc-dashboard-page .fc-cms-hero h1,
  body.fc-dashboard-page .fc-admin-page-head h1{font-size:28px!important}
  body.fc-dashboard-page .fc-admin-tabs a{font-size:13px!important}
}
@media (max-width: 575.98px){
  body.fc-dashboard-page h1,
  body.fc-dashboard-page .h1,
  body.fc-dashboard-page .display-6,
  body.fc-dashboard-page .fc-cms-hero h1,
  body.fc-dashboard-page .fc-admin-page-head h1{font-size:25px!important}
  body.fc-dashboard-page h2,body.fc-dashboard-page .h2{font-size:21px!important}
  body.fc-dashboard-page h3,body.fc-dashboard-page .h3{font-size:18px!important}
  body.fc-dashboard-page .form-control,
  body.fc-dashboard-page .form-select,
  body.fc-dashboard-page input,
  body.fc-dashboard-page textarea,
  body.fc-dashboard-page select{font-size:16px!important} /* avoids mobile browser zoom */
  body.fc-dashboard-page .btn{font-size:14px!important}
}
