/* Minimal brand styling on top of Bootstrap — light mode site-wide */
:root {
  --oa-bg: #f8f9fa;
  --oa-card: #ffffff;
  --oa-border: rgba(0, 0, 0, 0.12);
}

body {
  background: #ffffff;
  color: #212529;
}

.oa-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--oa-border);
}

.oa-card {
  background: #f8f9fa;
  border: 1px solid var(--oa-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.oa-muted {
  color: #6c757d;
}

.oa-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #3730a3;
}

.oa-map {
  height: 320px;
  border-radius: 14px;
  border: 1px solid var(--oa-border);
  overflow: hidden;
}

.oa-mono { font-variant-numeric: tabular-nums; }

/* Homepage `/` — light landing */
body.oa-landing-light {
  background: #ffffff !important;
  background-image: none !important;
  color: #212529;
}

body.oa-landing-light .landing-section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.oa-landing-light .landing-card {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

body.oa-landing-light .text-white,
body.oa-landing-light h1.text-white,
body.oa-landing-light .h4.text-white,
body.oa-landing-light .h5.text-white {
  color: #212529 !important;
}

body.oa-landing-light .text-white-50 {
  color: #6c757d !important;
}

body.oa-landing-light .oa-muted {
  color: #6c757d !important;
}

body.oa-landing-light .enquiry-form .form-control,
body.oa-landing-light .enquiry-form .form-select {
  background: #fff;
  border-color: #dee2e6;
  color: #212529;
}

body.oa-landing-light .enquiry-form .form-control::placeholder {
  color: #adb5bd;
}

body.oa-landing-light .enquiry-form .form-label.text-white-50 {
  color: #6c757d !important;
}

/* App + landing: shared light rules (all pages use one of these body classes) */
body.oa-app-light,
body.oa-landing-light {
  background: #ffffff !important;
  background-image: none !important;
  color: #212529;
}

body.oa-app-light .text-white,
body.oa-landing-light .text-white,
body.oa-app-light h1.text-white,
body.oa-landing-light h1.text-white,
body.oa-app-light h2.text-white,
body.oa-landing-light h2.text-white,
body.oa-app-light .h4.text-white,
body.oa-landing-light .h4.text-white,
body.oa-app-light .h5.text-white,
body.oa-landing-light .h5.text-white,
body.oa-app-light .h6.text-white,
body.oa-landing-light .h6.text-white {
  color: #212529 !important;
}

body.oa-app-light .text-white-50,
body.oa-landing-light .text-white-50 {
  color: #6c757d !important;
}

body.oa-app-light .oa-muted,
body.oa-landing-light .oa-muted {
  color: #6c757d !important;
}

body.oa-app-light .oa-card,
body.oa-landing-light .oa-card {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

body.oa-app-light .oa-badge,
body.oa-landing-light .oa-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #3730a3;
}

body.oa-app-light .oa-map,
body.oa-landing-light .oa-map {
  border-color: rgba(0, 0, 0, 0.12);
}

body.oa-app-light .btn-outline-light,
body.oa-landing-light .btn-outline-light {
  color: #212529;
  border-color: rgba(0, 0, 0, 0.25);
}

body.oa-app-light .btn-outline-light:hover,
body.oa-landing-light .btn-outline-light:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #212529;
  border-color: rgba(0, 0, 0, 0.35);
}

body.oa-app-light .form-control,
body.oa-landing-light .form-control,
body.oa-app-light .form-select,
body.oa-landing-light .form-select {
  background: #fff;
  border-color: #dee2e6;
  color: #212529;
}

body.oa-app-light .form-control::placeholder,
body.oa-landing-light .form-control::placeholder {
  color: #adb5bd;
}

body.oa-app-light .table,
body.oa-landing-light .table {
  color: #212529;
  --bs-table-border-color: rgba(0, 0, 0, 0.1);
}

body.oa-app-light .table thead,
body.oa-landing-light .table thead,
body.oa-app-light .table th,
body.oa-landing-light .table th {
  color: #212529;
}

body.oa-app-light .oa-sidebar,
body.oa-landing-light .oa-sidebar {
  border-right-color: rgba(0, 0, 0, 0.1) !important;
  background: #f8f9fa !important;
}

body.oa-app-light .oa-listing-item,
body.oa-landing-light .oa-listing-item {
  border-color: rgba(0, 0, 0, 0.12) !important;
  background: #fff !important;
}

body.oa-app-light .oa-listing-item:hover,
body.oa-landing-light .oa-listing-item:hover {
  background: #f1f3f5 !important;
}

body.oa-app-light .oa-listing-item .text-white,
body.oa-landing-light .oa-listing-item .text-white,
body.oa-app-light .oa-listing-item .text-white-50,
body.oa-landing-light .oa-listing-item .text-white-50 {
  color: #212529 !important;
}

body.oa-app-light .oa-listing-item .text-white-50,
body.oa-landing-light .oa-listing-item .text-white-50 {
  color: #6c757d !important;
}

/* Bootstrap dark utilities — flatten to light when using legacy classes in templates */
body.oa-app-light .table-dark,
body.oa-landing-light .table-dark {
  --bs-table-bg: #f8f9fa;
  --bs-table-color: #212529;
  --bs-table-border-color: rgba(0, 0, 0, 0.1);
  color: #212529;
  border-color: rgba(0, 0, 0, 0.1);
}

body.oa-app-light .table-dark > :not(caption) > * > *,
body.oa-landing-light .table-dark > :not(caption) > * > * {
  border-color: rgba(0, 0, 0, 0.1);
}

body.oa-app-light .list-group-item.bg-transparent.text-white,
body.oa-landing-light .list-group-item.bg-transparent.text-white {
  background-color: #fff !important;
  color: #212529 !important;
  border-color: rgba(0, 0, 0, 0.125) !important;
}

body.oa-app-light .list-group-item.bg-transparent.text-white:hover,
body.oa-landing-light .list-group-item.bg-transparent.text-white:hover {
  background-color: #f8f9fa !important;
}

body.oa-app-light .bg-dark,
body.oa-landing-light .bg-dark {
  background-color: #e9ecef !important;
  color: #212529 !important;
}

body.oa-app-light .border-secondary,
body.oa-landing-light .border-secondary {
  border-color: #dee2e6 !important;
}

