/*
Armstrong Tennis Center - LibreBooking theme
Matches the WordPress/Kadence palette and compact visual style.
*/

:root {
  --bs-primary: #126b65;
  --bs-primary-rgb: 18, 107, 101;
  --bs-secondary: #697171;
  --bs-secondary-rgb: 105, 113, 113;
  --bs-body-color: #202323;
  --bs-body-bg: #f8faf9;
  --bs-link-color: #126b65;
  --bs-link-hover-color: #0b514d;
  --bs-border-color: #d9dedc;

  --atc-primary: #126b65;
  --atc-primary-dark: #0b514d;
  --atc-text: #202323;
  --atc-text-muted: #697171;
  --atc-border: #d9dedc;
  --atc-bg: #f8faf9;
  --atc-bg-alt: #f2f5f4;
  --atc-white: #ffffff;
}

html, body {
  background: var(--atc-bg);
}

body {
  color: var(--atc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--atc-text);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--atc-primary);
}

a:hover,
a:focus {
  color: var(--atc-primary-dark);
}

#main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.navbar-brand img,
.logo {
  max-height: 82px;
  width: auto;
}

body > .d-flex.align-items-center.gap-2.m-2 {
  max-width: 1180px;
  margin: 0.4rem auto !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

body > .d-flex.align-items-center.gap-2.m-2 h5 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem !important;
}

.navbar {
  background-color: var(--atc-white) !important;
  border-top: 1px solid #eef1f0;
  border-bottom: 1px solid var(--atc-border);
  box-shadow: none !important;
}

.navbar .container-fluid {
  max-width: 1180px;
  margin: 0 auto;
}

.navbar .nav-link {
  color: #5f6868 !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 0.8rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.show {
  color: var(--atc-primary) !important;
}

.dropdown-menu {
  border: 1px solid var(--atc-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 35, 35, 0.08);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--atc-primary-dark);
  background-color: var(--atc-bg-alt);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #126b65;
  --bs-btn-border-color: #126b65;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #0b514d;
  --bs-btn-hover-border-color: #0b514d;
  --bs-btn-focus-shadow-rgb: 18, 107, 101;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #0b514d;
  --bs-btn-active-border-color: #0b514d;
}

.btn-outline-primary {
  --bs-btn-color: #126b65;
  --bs-btn-border-color: #126b65;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #126b65;
  --bs-btn-hover-border-color: #126b65;
}

.card,
.default-box {
  border: 1px solid var(--atc-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  background: var(--atc-white);
}

.card-header,
.card-footer {
  background: var(--atc-bg-alt);
  border-color: var(--atc-border);
}

.card-body {
  padding: 1rem 1.1rem;
}

#page-login {
  padding-top: 0.5rem;
}

#page-login .card {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

#page-login .login-icon img {
  max-width: 220px !important;
  width: 55% !important;
}

.form-control,
.form-select,
.input-group-text {
  border-color: var(--atc-border);
  border-radius: 6px;
}

.form-control,
.form-select {
  color: var(--atc-text);
  background-color: var(--atc-white);
}

.input-group-text {
  color: var(--atc-primary-dark);
  background-color: var(--atc-bg-alt);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--atc-primary);
  box-shadow: 0 0 0 0.2rem rgba(18, 107, 101, 0.14);
}

.form-check-input:checked {
  background-color: var(--atc-primary);
  border-color: var(--atc-primary);
}

.table {
  --bs-table-color: #202323;
  --bs-table-bg: #ffffff;
  --bs-table-border-color: #d9dedc;
  --bs-table-striped-bg: #f8faf9;
  --bs-table-hover-bg: #f2f5f4;
}

.table thead th {
  color: var(--atc-text);
  background-color: var(--atc-bg-alt);
  border-bottom-color: var(--atc-border);
  font-weight: 700;
}

.table > :not(caption) > * > * {
  padding: 0.55rem 0.65rem;
}

.alert {
  border-radius: 8px;
}

.page-link {
  color: var(--atc-primary);
  border-color: var(--atc-border);
}

.page-link:hover {
  color: var(--atc-primary-dark);
  background-color: var(--atc-bg-alt);
}

.active > .page-link,
.page-link.active {
  color: #ffffff;
  background-color: var(--atc-primary);
  border-color: var(--atc-primary);
}

.modal-content {
  border: 1px solid var(--atc-border);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(32, 35, 35, 0.14);
}

footer {
  color: var(--atc-text-muted);
  background-color: var(--atc-bg-alt) !important;
  border-top: 1px solid var(--atc-border) !important;
  font-size: 0.82rem;
  padding: 0.65rem 1rem !important;
}

footer a {
  color: var(--atc-primary-dark);
}

.text-primary,
.link-primary {
  color: var(--atc-primary) !important;
}

.bg-primary {
  background-color: var(--atc-primary) !important;
}

.border-primary {
  border-color: var(--atc-primary) !important;
}

.text-muted {
  color: var(--atc-text-muted) !important;
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }

  #main {
    padding-top: 0.75rem;
  }

  .navbar-brand img,
  .logo {
    max-height: 64px;
  }

  .card-body {
    padding: 0.85rem;
  }
}
/* Armstrong Tennis Center - hide Resource Filter */
.toggle-sidebar,
#reservations-left {
    display: none !important;
}

/* Expand the schedule to full width */
#reservations-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
