
:root{
  --bmc-primary:#112949;
  --bmc-primary-2:#173b69;
  --bmc-accent:#2bb673;
  --bmc-accent-2:#22a867;
  --bmc-text:#16324d;
  --bmc-text-soft:#6f8296;
  --bmc-border:#dce6ef;
  --bmc-border-2:#dde8f2;
  --bmc-surface:#ffffff;
  --bmc-surface-soft:#f8fbff;
  --bmc-surface-soft-2:#f3f7fb;
  --bmc-shadow:0 18px 40px rgba(13,30,55,.12);
}

.bmc-wrap,
.bmcam-wrap,
.bidmycamper-edit-wrap,
.bidmycamper-form-wrap,
.bmc_user,
.bmc_user_dashboard,
.bmc_vendor_dashboard{
  color:var(--bmc-text) !important;
}

.bmc-wrap,
.bmcam-wrap{
  max-width:1280px;
}

.bmc-hero,
.bmcam-hero,
.bidmycamper-form-head,
.bidmycamper-edit-head,
.bmc-admin-hero,
.bmc-portal-hero{
  background:linear-gradient(135deg,var(--bmc-primary) 0%, var(--bmc-primary-2) 55%, var(--bmc-accent) 100%) !important;
  color:#fff !important;
  box-shadow:var(--bmc-shadow) !important;
}

.bmc-hero h2,
.bmcam-hero h2,
.bidmycamper-form-head h2,
.bidmycamper-edit-head h2,
.bmc-hero p,
.bmcam-hero p,
.bidmycamper-form-head p,
.bidmycamper-edit-head p{
  color:#fff !important;
}

.bmc-card,
.bmcam-card,
.bidmycamper-section,
.bidmycamper-season-card,
.bmc-box,
.bmc_user .bmc_box,
.bmc_user .bmc-card,
.bmc-admin-card,
.bmc-panel,
.bmc-meta-box,
.bmc-note,
.bmc-kpi,
.bmc-widget,
.bmc-stats-card,
.bmc-table-wrap{
  background:var(--bmc-surface) !important;
  color:var(--bmc-text) !important;
  border:1px solid var(--bmc-border) !important;
  box-shadow:0 8px 24px rgba(13,30,55,.05) !important;
}

.bmc-title,
.bmc-subtitle,
.bmc-card h3,
.bmcam-card h3,
.bidmycamper-section h3,
.bidmycamper-season-card h4,
.bmc_user h2,
.bmc_user h3,
.bmc-admin-card h3,
.bmc-panel h3{
  color:var(--bmc-primary) !important;
}

.bmc-stat,
.bmc-kpi strong,
.bmcam-meta-box strong{
  color:var(--bmc-text) !important;
}

.bmc-wrap .bmc-nav a,
.bmcam-links a,
.bmcam-doc-links a,
.bmc-btn-secondary,
.bidmycamper-btn-outline,
.bmc-wrap .button,
.bmc-wrap .page-title-action{
  background:var(--bmc-surface) !important;
  color:var(--bmc-text) !important;
  border:1px solid var(--bmc-border) !important;
}

.bmc-nav a.active,
.bmc-btn,
.bmc-btn-sm,
.bmcam-primary,
.bidmycamper-btn,
.bmc-wrap .button-primary,
.bmc-wrap button[type=submit],
.wrap .button-primary,
.wrap .page-title-action:hover{
  background:linear-gradient(135deg,var(--bmc-accent) 0%, var(--bmc-accent-2) 100%) !important;
  color:#fff !important;
  border-color:var(--bmc-accent-2) !important;
  box-shadow:0 14px 30px rgba(43,182,115,.22) !important;
}

.bmc-wrap .bmc-field label,
.bidmycamper-field label,
.bmcam-meta-box small,
.bmc-table th,
.bmcam-links a,
.wrap .form-table th,
.wrap .widefat th{
  color:var(--bmc-primary-2) !important;
}

.bmc-field input,
.bmc-field select,
.bmc-field textarea,
.bidmycamper-field input,
.bidmycamper-field select,
.bidmycamper-field textarea,
.wrap .form-table input,
.wrap .form-table select,
.wrap .form-table textarea{
  background:#fff !important;
  color:var(--bmc-text) !important;
  border:1px solid var(--bmc-border) !important;
}

.bmc-field input:focus,
.bmc-field select:focus,
.bmc-field textarea:focus,
.bidmycamper-field input:focus,
.bidmycamper-field select:focus,
.bidmycamper-field textarea:focus,
.wrap .form-table input:focus,
.wrap .form-table select:focus,
.wrap .form-table textarea:focus{
  border-color:var(--bmc-accent) !important;
  box-shadow:0 0 0 4px rgba(43,182,115,.12) !important;
}

.bmc-table th,
.wrap .widefat thead th,
.wrap .wp-list-table thead th{
  background:var(--bmc-surface-soft) !important;
}

.bmc-table td,
.wrap .widefat td,
.wrap .widefat th,
.wrap .wp-list-table td,
.wrap .wp-list-table th{
  border-color:var(--bmc-border) !important;
  color:var(--bmc-text) !important;
}

.bmc-badge,
.bmcam-badge,
.bmc-badge.dark,
.bmc-edit-type,
.bidmycamper-edit-type{
  background:#eef6ff !important;
  color:var(--bmc-primary-2) !important;
  border:1px solid var(--bmc-border) !important;
}

.bmc-badge-open{background:rgba(43,182,115,.12) !important;color:var(--bmc-accent-2) !important;}
.bmc-badge-paid{background:rgba(43,182,115,.12) !important;color:var(--bmc-accent-2) !important;}
.bmc-badge-overdue{background:rgba(211,47,47,.10) !important;color:#b42318 !important;}
.bmc-badge-cancelled{background:#eef2f6 !important;color:#5f7086 !important;}
.bmc-badge-processing{background:#eef6ff !important;color:var(--bmc-primary-2) !important;}

.bmcam-meta-box,
.bidmycamper-check,
.bidmycamper-season-card,
.bidmycamper-edit-body,
.bidmycamper-body,
.bmc-note,
.bmc-kpi,
.bmcam-links a,
.bmcam-doc-links a{
  background:var(--bmc-surface-soft) !important;
}

.bmc-note,
.notice,
.bidmycamper-notice{
  border-radius:16px !important;
}

.bmc-note,
.bidmycamper-success,
.notice-success{
  background:#ecfdf5 !important;
  color:#166534 !important;
  border-color:#bbf7d0 !important;
}

.bidmycamper-error,
.notice-error{
  background:#fff1f2 !important;
  color:#991b1b !important;
  border-color:#fecdd3 !important;
}

/* Backend wrappers from the suite */
.wrap .card,
.wrap .postbox,
.wrap .notice,
.wrap .stuffbox{
  border-radius:16px;
}

/* Keep invoice/public views readable without the old gold/dark palette bleeding through */
body .wrap .title,
body .wrap .btn,
body .wrap .btn-dark,
body .wrap .note,
body .wrap th{
  border-radius:12px;
}
