/* Import Cairo font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* Override Bootstrap primary color variables */
:root {
  --bs-primary: #008793;
  --bs-primary-rgb: 0, 135, 147;
  --bs-primary-text-emphasis: #004d56;
  --bs-primary-bg-subtle: #cce5e8;
  --bs-primary-border-subtle: #80bdc4;
  --bs-link-color-rgb: 0, 135, 147;
  --bs-link-hover-color-rgb: 0, 109, 118;
  --bs-focus-ring-color: rgba(0, 135, 147, 0.25);
  --bs-btn-focus-shadow-rgb: 0, 135, 147;
}

/* Custom table header styling */
.table-dark {
  --bs-table-bg: #008793;
  --bs-table-striped-bg: #007380;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #006d77;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #007380;
  --bs-table-hover-color: #fff;
  color: #fff;
  border-color: #006d77;
  background-color: #008793;
}

.table-light thead {
  background-color: #008793;
  color: #fff;
}

/* Override all btn-primary styles */
.btn-primary {
  --bs-btn-bg: #008793 !important;
  --bs-btn-border-color: #006d77 !important;
  --bs-btn-hover-bg: #006d77 !important;
  --bs-btn-hover-border-color: #005a62 !important;
  --bs-btn-active-bg: #005a62 !important;
  --bs-btn-active-border-color: #004d56 !important;
  --bs-btn-disabled-bg: #008793 !important;
  --bs-btn-disabled-border-color: #006d77 !important;
  background-color: #008793 !important;
  border-color: #006d77 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #006d77 !important;
  border-color: #005a62 !important;
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary {
  background-color: #005a62 !important;
  border-color: #004d56 !important;
}

/* Global font family */
* {
  font-family: 'Cairo', sans-serif;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #008793;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Cairo', sans-serif;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.login-form {
  width: 360px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.login-header {
  margin-bottom: 1.5rem;
  text-align: center;
}