:root {
  --bs-primary: #6EC1E4 !important;
  --bs-secondary: #A28DCB !important;
  --bs-success: #8ED1B2 !important;
  --bs-info: #F7A072 !important;
  --bg-primary: #6EC1E4 !important;
  --bg-secondary: #A28DCB !important;
  --bg-success: #8ED1B2 !important;
  --bg-info: #F7A072 !important;
  --text-primary: #333 !important;
  --text-secondary: #666 !important;
  --text-success: #28a745 !important;
  --text-info: #17a2b8 !important;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh !important;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

.main-content {
  flex: 1 0 auto;
}

/*BOOTSTRAP OVERLOADS*/
.btn {
  color: #fff !important;
  border: none;
}

.btn:hover {
  color: #fff !important;
}

.btn:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #6EC1E4 !important;
}

.btn-primary {
  background-color: #6EC1E4 !important;
  border-color: #6EC1E4 !important;
}

.btn-primary:hover {
  background-color: #5bb8d6 !important;
  border-color: #5bb8d6 !important;
}

.btn-secondary {
  background-color: #A28DCB !important;
  border-color: #A28DCB !important;
}

.btn-secondary:hover {
  background-color: #9279b3 !important;
  border-color: #9279b3 !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333333 !important;
  font-weight: bold !important;
}

p {
  color: #333333 !important;
  line-height: 1.6 !important;
}

/* Links */
a {
  color: #6EC1E4 !important;
  text-decoration: none !important;
}

a:hover {
  color: #5bb8d6 !important;
}

a:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #6EC1E4 !important;
}

/* Navbar */
.navbar {
  background-color: #6EC1E4 !important;
  border-bottom: 1px solid #ccc;
}

.navbar-brand {
  color: #fff !important;
  font-weight: bold;
}

.navbar-brand:hover {
  color: #fff !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  text-decoration: underline;
}

.navbar-toggler {
  border-color: #fff !important;
}

.navbar-toggler:hover {
  background-color: #6EC1E4 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Form Controls */
.form-control {
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  padding: 10px !important;
  font-size: 14px !important;
}

.form-control:focus {
  border-color: #6EC1E4 !important;
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #6EC1E4 !important;
}

/* Full Calendar Customizations */
.fc-view-harness {
  color: #000;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 12px !important;
}


.fc-daygrid-event-harness {
  background-color: var(--bs-primary) !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
}

.fc-event {
  color: #fff !important;
  font-size: 12px !important;
}

.fc-event:hover {
  background-color: #5bb8d6 !important;
  color: #fff !important;
}

.fc-today-button {
  text-transform: capitalize !important;
  background-color: var(--bg-primary) !important;
  color: black !important;
}

.fc-today-button:hover {
  background-color: var(--bg-secondary) !important;
  color: #fff !important;
}

.fc-today-button:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb !important;
}

.fc-prev-button {
  background-color: var(--bg-secondary) !important;
  color: black !important;
}

.fc-prev-button:hover {
  background-color: var(--bg-primary) !important;
  color: #fff !important;
}

.fc-next-button {
  background-color: var(--bg-secondary) !important;
  color: black !important;
}

.fc-next-button:hover {
  background-color: var(--bg-primary) !important;
  color: #fff !important;
}

.fc-day {
  border: 1px solid #ccc !important;
}

.fc-day:hover {
  background-color: #e0e0e0 !important;
}

.doctor-notes-q-and-a-body td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/* Footer */
footer {
  background-color: var(--bs-secondary) !important;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  color: #fff !important;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Stylings*/
@media (max-width: 768px) {
  body {
    font-size: 12px;
  }
}

/* Desktop Stylings*/
@media (min-width: 769px) {

  /* Table Styles */
  .table {
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    overflow-y: auto;
    max-height: 400px;
    display: block;
    width: 100%;
  }

  .table th,
  .table td {
    padding: 8px;
    text-align: left;
    vertical-align: top;
  }

  .table th {
    background-color: var(--bg-secondary) !important;
    color: #fff !important;
    font-weight: bold !important;
  }

  .table tbody {
    display: block;
    width: 100%;
  }

  .table thead {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
  }
}