/*
 * Bootswatch v5.3.8 — Lux theme overrides
 * Extracted from the combined Bootswatch Lux + Bootstrap CSS.
 * These rules override the standard Bootstrap 5.3.8 variables and components.
 */

@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;500;600;700&display=swap");

/* ─── Variable Overrides ──────────────────────────────────────────── */
:root,[data-bs-theme=light] {
  --bs-blue:  #007bff;
  --bs-indigo:  #6610f2;
  --bs-purple:  #6f42c1;
  --bs-pink:  #e83e8c;
  --bs-red:  #d9534f;
  --bs-orange:  #fd7e14;
  --bs-yellow:  #f0ad4e;
  --bs-green:  #4bbf73;
  --bs-teal:  #20c997;
  --bs-cyan:  #1f9bcf;
  --bs-black:  #000;
  --bs-white:  #fff;
  --bs-gray:  #919aa1;
  --bs-gray-dark:  #343a40;
  --bs-gray-100:  #f8f9fa;
  --bs-gray-200:  #f0f1f2;
  --bs-gray-300:  #e0e1e2;
  --bs-gray-400:  #cdcecf;
  --bs-gray-500:  #adb5bd;
  --bs-gray-600:  #919aa1;
  --bs-gray-700:  #55595c;
  --bs-gray-800:  #343a40;
  --bs-gray-900:  #1a1a1a;
  --bs-primary:  #1a1a1a;
  --bs-secondary:  #fff;
  --bs-success:  #4bbf73;
  --bs-info:  #1f9bcf;
  --bs-warning:  #f0ad4e;
  --bs-danger:  #d9534f;
  --bs-light:  #f0f1f2;
  --bs-dark:  #343a40;
  --bs-primary-rgb:  26, 26, 26;
  --bs-secondary-rgb:  255, 255, 255;
  --bs-success-rgb:  75, 191, 115;
  --bs-info-rgb:  31, 155, 207;
  --bs-warning-rgb:  240, 173, 78;
  --bs-danger-rgb:  217, 83, 79;
  --bs-light-rgb:  240, 241, 242;
  --bs-dark-rgb:  52, 58, 64;
  --bs-primary-text-emphasis:  #0a0a0a;
  --bs-secondary-text-emphasis:  #666666;
  --bs-success-text-emphasis:  #1e4c2e;
  --bs-info-text-emphasis:  #0c3e53;
  --bs-warning-text-emphasis:  #60451f;
  --bs-danger-text-emphasis:  #572120;
  --bs-light-text-emphasis:  #55595c;
  --bs-dark-text-emphasis:  #55595c;
  --bs-primary-bg-subtle:  #d1d1d1;
  --bs-secondary-bg-subtle:  white;
  --bs-success-bg-subtle:  #dbf2e3;
  --bs-info-bg-subtle:  #d2ebf5;
  --bs-warning-bg-subtle:  #fcefdc;
  --bs-danger-bg-subtle:  #f7dddc;
  --bs-light-bg-subtle:  #fcfcfd;
  --bs-dark-bg-subtle:  #cdcecf;
  --bs-primary-border-subtle:  #a3a3a3;
  --bs-secondary-border-subtle:  white;
  --bs-success-border-subtle:  #b7e5c7;
  --bs-info-border-subtle:  #a5d7ec;
  --bs-warning-border-subtle:  #f9deb8;
  --bs-danger-border-subtle:  #f0bab9;
  --bs-light-border-subtle:  #f0f1f2;
  --bs-dark-border-subtle:  #adb5bd;
  --bs-white-rgb:  255, 255, 255;
  --bs-black-rgb:  0, 0, 0;
  --bs-font-sans-serif:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --bs-font-monospace:  SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient:  linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family:  var(--bs-font-sans-serif);
  --bs-body-font-size:  1rem;
  --bs-body-font-weight:  300;
  --bs-body-line-height:  1.5;
  --bs-body-color:  #55595c;
  --bs-body-color-rgb:  85, 89, 92;
  --bs-body-bg:  #fff;
  --bs-body-bg-rgb:  255, 255, 255;
  --bs-emphasis-color:  #000;
  --bs-emphasis-color-rgb:  0, 0, 0;
  --bs-secondary-color:  rgba(85, 89, 92, 0.75);
  --bs-secondary-color-rgb:  85, 89, 92;
  --bs-secondary-bg:  #f0f1f2;
  --bs-secondary-bg-rgb:  240, 241, 242;
  --bs-tertiary-color:  rgba(85, 89, 92, 0.5);
  --bs-tertiary-color-rgb:  85, 89, 92;
  --bs-tertiary-bg:  #f8f9fa;
  --bs-tertiary-bg-rgb:  248, 249, 250;
  --bs-heading-color:  #1a1a1a;
  --bs-link-color:  #1a1a1a;
  --bs-link-color-rgb:  26, 26, 26;
  --bs-link-decoration:  underline;
  --bs-link-hover-color:  #151515;
  --bs-link-hover-color-rgb:  21, 21, 21;
  --bs-code-color:  #e83e8c;
  --bs-highlight-color:  #55595c;
  --bs-highlight-bg:  #fcefdc;
  --bs-border-width:  1px;
  --bs-border-style:  solid;
  --bs-border-color:  #e0e1e2;
  --bs-border-color-translucent:  rgba(0, 0, 0, 0.175);
  --bs-border-radius:  0.375rem;
  --bs-border-radius-sm:  0.25rem;
  --bs-border-radius-lg:  0.5rem;
  --bs-border-radius-xl:  1rem;
  --bs-border-radius-xxl:  2rem;
  --bs-border-radius-2xl:  var(--bs-border-radius-xxl);
  --bs-border-radius-pill:  50rem;
  --bs-box-shadow:  0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm:  0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg:  0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset:  inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width:  0.25rem;
  --bs-focus-ring-opacity:  0.25;
  --bs-focus-ring-color:  rgba(26, 26, 26, 0.25);
  --bs-form-valid-color:  #4bbf73;
  --bs-form-valid-border-color:  #4bbf73;
  --bs-form-invalid-color:  #d9534f;
  --bs-form-invalid-border-color:  #d9534f;
}

[data-bs-theme=dark] {
  --bs-body-color:  #e0e1e2;
  --bs-body-color-rgb:  224, 225, 226;
  --bs-body-bg:  #1a1a1a;
  --bs-body-bg-rgb:  26, 26, 26;
  --bs-emphasis-color:  #fff;
  --bs-emphasis-color-rgb:  255, 255, 255;
  --bs-secondary-color:  rgba(224, 225, 226, 0.75);
  --bs-secondary-color-rgb:  224, 225, 226;
  --bs-secondary-bg:  #343a40;
  --bs-secondary-bg-rgb:  52, 58, 64;
  --bs-tertiary-color:  rgba(224, 225, 226, 0.5);
  --bs-tertiary-color-rgb:  224, 225, 226;
  --bs-tertiary-bg:  #272a2d;
  --bs-tertiary-bg-rgb:  39, 42, 45;
  --bs-primary-text-emphasis:  #767676;
  --bs-secondary-text-emphasis:  white;
  --bs-success-text-emphasis:  #93d9ab;
  --bs-info-text-emphasis:  #79c3e2;
  --bs-warning-text-emphasis:  #f6ce95;
  --bs-danger-text-emphasis:  #e89895;
  --bs-light-text-emphasis:  #f8f9fa;
  --bs-dark-text-emphasis:  #e0e1e2;
  --bs-primary-bg-subtle:  #050505;
  --bs-secondary-bg-subtle:  #333333;
  --bs-success-bg-subtle:  #0f2617;
  --bs-info-bg-subtle:  #061f29;
  --bs-warning-bg-subtle:  #302310;
  --bs-danger-bg-subtle:  #2b1110;
  --bs-light-bg-subtle:  #343a40;
  --bs-dark-bg-subtle:  #1a1d20;
  --bs-primary-border-subtle:  #101010;
  --bs-secondary-border-subtle:  #999999;
  --bs-success-border-subtle:  #2d7345;
  --bs-info-border-subtle:  #135d7c;
  --bs-warning-border-subtle:  #90682f;
  --bs-danger-border-subtle:  #82322f;
  --bs-light-border-subtle:  #55595c;
  --bs-dark-border-subtle:  #343a40;
  --bs-heading-color:  inherit;
  --bs-link-color:  #767676;
  --bs-link-hover-color:  #919191;
  --bs-link-color-rgb:  118, 118, 118;
  --bs-link-hover-color-rgb:  145, 145, 145;
  --bs-code-color:  #f18bba;
  --bs-highlight-color:  #e0e1e2;
  --bs-highlight-bg:  #60451f;
  --bs-border-color:  #55595c;
  --bs-border-color-translucent:  rgba(255, 255, 255, 0.15);
  --bs-form-valid-color:  #93d9ab;
  --bs-form-valid-border-color:  #93d9ab;
  --bs-form-invalid-color:  #e89895;
  --bs-form-invalid-border-color:  #e89895;
}

[data-bs-theme=dark] {
  --bs-btn-close-filter:  invert(1) grayscale(100%) brightness(200%);
}

:root,[data-bs-theme=light] {
  --bs-carousel-indicator-active-bg:  #fff;
  --bs-carousel-caption-color:  #fff;
}

[data-bs-theme=dark] {
  --bs-carousel-indicator-active-bg:  #000;
  --bs-carousel-caption-color:  #000;
  --bs-carousel-control-icon-filter:  invert(1) grayscale(100);
}

/* ─── Heading color inheritance fix for light-on-dark sections ───── */
.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6,
.text-white .h1, .text-white .h2, .text-white .h3,
.text-white .h4, .text-white .h5, .text-white .h6 {
  color: inherit;
}

/* ─── Component Overrides ─────────────────────────────────────────── */
:root {
  --bs-border-width: 0;
}

.navbar {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.navbar-nav .nav-link {
  padding-top: 0.715rem;
  padding-bottom: 0.715rem;
}
.navbar-brand {
  margin-right: 2rem;
}

.bg-light {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.bg-light.navbar-fixed-top {
  border-width: 0 0 1px;
}
.bg-light.navbar-bottom-top {
  border-width: 1px 0 0;
}

.nav-item {
  margin-right: 2rem;
}

.btn {
  font-size: 0.875rem;
  text-transform: uppercase;
}
.btn-sm, .btn-group-sm > .btn {
  font-size: 10px;
}
.btn-primary {
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
}
.btn-secondary {
  --bs-btn-hover-bg: #f0f1f2;
  --bs-btn-hover-border-color: #f0f1f2;
  --bs-btn-active-bg: #e0e1e2;
  --bs-btn-active-border-color: #e0e1e2;
}
.btn-light {
  --bs-btn-hover-bg: #e0e1e2;
  --bs-btn-hover-border-color: #e0e1e2;
  --bs-btn-active-bg: #cdcecf;
  --bs-btn-active-border-color: #cdcecf;
}
.btn-link {
  font-weight: 600;
}

.btn-outline-secondary {
  --bs-btn-color: #000;
  --bs-btn-hover-bg: #f0f1f2;
  --bs-btn-hover-border-color: #f0f1f2;
  --bs-btn-active-bg: #e0e1e2;
  --bs-btn-active-border-color: #e0e1e2;
  border-color: #f8f9fa;
}

.btn-outline-light {
  color: var(--bs-btn-active-color);
}

[class*=btn-outline-] {
  border-width: 2px;
}

.border-secondary {
  border: 1px solid #cdcecf !important;
}

[data-bs-theme=dark] .btn-primary {
  --bs-btn-bg: #080808;
  --bs-btn-hover-bg: #000;
}
[data-bs-theme=dark] .btn-outline-primary {
  color: #fff;
  border-color: #080808;
  --bs-btn-hover-bg: #000;
}
[data-bs-theme=dark] .btn-outline-secondary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #f0f1f2;
  --bs-btn-hover-border-color: #f0f1f2;
  --bs-btn-active-bg: #e0e1e2;
  --bs-btn-active-border-color: #e0e1e2;
}
[data-bs-theme=dark] .btn-outline-light {
  color: #fff;
}
[data-bs-theme=dark] .btn-outline-light:not([disabled]):not(.disabled):hover, [data-bs-theme=dark] .btn-outline-light:not([disabled]):not(.disabled):focus, [data-bs-theme=dark] .btn-outline-light:not([disabled]):not(.disabled):active {
  color: var(--bs-btn-active-color);
}
[data-bs-theme=dark] .btn-outline-dark {
  color: #fff;
}

body {
  letter-spacing: 1px;
}

h1, .h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  text-transform: uppercase;
  letter-spacing: 3px;
}

.text-secondary {
  color: #55595c !important;
}

th {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.table th,
.table td {
  padding: 1.5rem;
}
.table-sm th,
.table-sm td {
  padding: 0.75rem;
}

.table-primary,
.table-secondary,
.table-success,
.table-warning,
.table-danger,
.table-info,
.table-light {
  --bs-table-color: #55595c;
}

.form-control,
.form-select {
  border: 1px solid #ced4da;
}

[data-bs-theme=dark] .form-control {
  color: #55595c;
}
[data-bs-theme=dark] .form-control::-moz-placeholder {
  color: rgba(85, 89, 92, 0.75);
}
[data-bs-theme=dark] .form-control::placeholder {
  color: rgba(85, 89, 92, 0.75);
}
[data-bs-theme=dark] .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
  color: rgba(85, 89, 92, 0.75);
}
[data-bs-theme=dark] .form-floating > label,
[data-bs-theme=dark] .form-floating > .form-control:focus ~ label,
[data-bs-theme=dark] .form-floating > .form-control:not(:placeholder-shown) ~ label,
[data-bs-theme=dark] .form-floating > .form-control-plaintext ~ label,
[data-bs-theme=dark] .form-floating > .form-select ~ label {
  color: rgba(85, 89, 92, 0.75);
}
[data-bs-theme=dark] .form-floating > .form-control::-moz-placeholder, [data-bs-theme=dark] .form-floating > .form-control-plaintext::-moz-placeholder {
  color: transparent;
}
[data-bs-theme=dark] .form-floating > .form-control::placeholder,
[data-bs-theme=dark] .form-floating > .form-control-plaintext::placeholder {
  color: transparent;
}
[data-bs-theme=dark] .form-check-input:checked {
  background-color: rgba(85, 89, 92, 0.75);
}
[data-bs-theme=dark] .form-switch .form-check-input {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='rgba(0, 0, 0, 0.25)'/></svg>");
}
[data-bs-theme=dark] .form-range::-webkit-slider-thumb {
  background-color: #919aa1;
}
[data-bs-theme=dark] .form-range:disabled::-webkit-slider-thumb {
  background-color: #343a40;
}
[data-bs-theme=dark] .input-group-text {
  color: rgba(85, 89, 92, 0.75);
}

.dropdown-menu {
  font-size: 0.875rem;
  text-transform: none;
}

.badge {
  padding-top: 0.28rem;
}
.badge-pill {
  border-radius: 10rem;
}
.badge.bg-secondary, .badge.bg-light {
  color: #343a40;
}

.list-group-item h1,
.list-group-item h2,
.list-group-item h3,
.list-group-item h4,
.list-group-item h5,
.list-group-item h6,
.list-group-item .h1,
.list-group-item .h2,
.list-group-item .h3,
.list-group-item .h4,
.list-group-item .h5,
.list-group-item .h6,
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card .h1,
.card .h2,
.card .h3,
.card .h4,
.card .h5,
.card .h6 {
  color: inherit;
}

.modal-dialog {
  box-shadow: var(--bs-box-shadow);
}

.popover {
  --bs-popover-border-color: transparent;
  box-shadow: var(--bs-box-shadow);
}
.popover .popover-arrow {
  --bs-popover-border-width: 1px;
}

[data-bs-theme=dark] .modal-content,
[data-bs-theme=dark] .popover,
[data-bs-theme=dark] .toast {
  background-color: #272727;
}
