.bg-wbvs {
  background-color: #efefef;
}

#home {
  width: 100%;
  height: 400px;
  background-color: #ffffff;
}

.btn-wbv {
  background-color: #0a4585;
  color: #ffffff;
}

.form-control:focus {
  border-color: #0a4585 !important;
  box-shadow: 0 0 0.2rem #0a407a;
}

#copyright-text {
  background-color: #efefef;
  text-align: center;
  font-size: 12px;
  color: #0a4585;
  margin: 0;
  padding-bottom: 10px;
}

#dashboard {
  min-height: 800px;
  width: 100%;
}

#logout {
  position: absolute;
  color: #0a4585;
  right: 20px;
  top: 35px;
}

table {
  color: #6c757d !important;
}

.wbvs-check {
  color: #378438;
  font-size: 32px;
  right: 10px;
  position: absolute;
}

a {
  color: #304680;
}

#left-pane .card li {
  cursor: pointer;
}

#left-pane .card li:hover {
  background-color: #f5f4f4;
}

body {
  background-color: #efefef;
}

#actions-required {
  padding: 20px;
  background-color: rgba(220, 228, 251, 0.55);
}

#actions-required .btn-wbv {
  margin-top: 10px;
}

#no-actions {
  padding: 20px;
  background-color: rgba(61, 134, 55, 0.15);
}

#consent-fields {
  background-color: rgb(243 248 255);
  padding: 20px;
}

.slot-card {
  cursor: pointer;
}

.slot-card:hover {
  background-color: #efefef;
}

.student-card:hover {
  background-color: #efefef;
  cursor: pointer;
}

.slot-card h6 {
  text-decoration: none;
}

.book-badge {
}

.btn-wbv:hover {
  background-color: #034c9a;
  color: #fff;
}

#student-image {
  margin: 0;
  padding: 0px;
  width: 75px;
  height: 75px;
  border: 1px solid #e8e8e8;
}

#switch-account-icon {
  margin-left: 7px;
  cursor: pointer;
}

#welcome-parents-evening:hover {
  margin: 0;
  padding: 0;
  background-color: rgb(249, 249, 249);
  border: 1px solid #e9e9e9;
  height: 271px;
  overflow: hidden;
}

#student-card {
  padding: 0.9rem;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
}

#welcome-parents-evening {
  cursor: pointer;
}

#parent-pay-activation .banner {
  background-color: rgb(1, 157, 223);
}

.parent-pay-alert {
  max-width: 400px;
  min-height: auto;
  padding: 10px;
  background-color: #f4f4f4;
  margin-top: 20px;
  margin-bottom: 30px;
}

#parent-pay-activation {
  cursor: pointer;
}

.dashboard-card:hover {
  background-color: #fbfbfb;
}

.dashboard-card {
  cursor: pointer;
}

#site-home-link {
  text-decoration: none !important;
  color: unset;
}

.student-image-wrapper {
  width: 100px;
  height: 100px;
  border: 1px solid #dbdbdb;
  overflow: hidden;
}

#student_img {
  width: 100%;
}

.credits-icon-small {
  width: 20px;
  margin-right: 5px;
}

.graph-icon-small {
  width: 16px;
  margin-right: 10px;
}

.hr-block {
  position: relative;
  text-align: center;
}

.hr-text {
  position: absolute;
  top: -10px;
  width: 100%;
}

.event-date {
  width: 60px;
  margin: 10px;
  border: 1px solid #dbdbdb;
  text-align: center;
  color: #013163;
}

.event-date span {
  display: block;
}

.event-date .day_number {
  font-size: 30px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.event-date .month_name {
  padding: 0px;
}

#points-timeline .card {
  margin-top: 10px;
}

#points-timeline .event-description {
  width: auto;
  margin-top: 15px;
  margin-left: 10px;
}

#event_table_container {
  overflow-y: scroll;
  min-height: 800px;
}

.location-text {
  font-size: 12px;
}

.event-card {
  min-width: 150px;
}

.event-card:hover {
  cursor: pointer;
  background-color: #f3f3f3;
}

.navigation_arrow:hover {
  cursor: pointer;
  fill: #6c757d !important;
}

#day_navigation {
  user-select: none !important;
  -webkit-user-select: none;
}

.btn-light {
  border-color: #c7c7c7 !important;
}

.active-participation-badge:hover {
  cursor: pointer;
  opacity: 0.7;
}

#day_view_date {
  width: 270px;
  text-align: center;
}

.attendance_present_badge:hover {
  cursor: pointer;
  opacity: 0.7;
}

.attendance_absent_badge:hover {
  cursor: pointer;
  opacity: 0.7;
}

#session_attendance_toolbar img:hover {
  cursor: pointer;
}

#student_tiles {
  user-select: none !important;
  -webkit-user-select: none;
  margin-bottom: 100px;
}

#add_student_modal-student_tiles {
  min-height: 100px;
  max-height: 300px;
  overflow-y: scroll;
}

.pointer:hover {
  cursor: pointer;
}

.card-selected {
  border: 1px solid #034c9a;
}

#save_status_block {
  color: color(srgb 0.1882 0.2745 0.502);
}

.border {
  border: 1px solid #dbdbdb;
}

.session_attendance_table tbody tr:hover {
  background-color: rgb(251, 251, 251);
}

.session_attendance_table a {
  color: #414141 !important;
}

#selected_students_list {
  padding-left: 0px;
}

#selected_students_list li {
  list-style: none;
}

#selected_students_list {
  max-height: 100px;
  overflow-y: auto;
}

.remove-bin:hover {
  fill: red;
  cursor: pointer;
}

#remove_student_table_container table span {
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}

#remove_student_table_container table span:hover {
  color: red;
}

#session_mark_all_present_modal .modal-dialog {
  margin-top: 200px;
}

#delete_event_modal .modal-dialog {
  margin-top: 200px;
}

#remove_students_table {
  max-height: 800px;
  overflow-y: auto;
}

.alert-secondary {
  color: #383d41;
  background-color: #f5f5f5;
  border-color: #e3e3e3;
  padding: 19px;
  text-align: center;
  border-radius: 0px;
}

#student_tiles {
  overflow-x: scroll;
}

#credits-yg-table tbody tr:hover {
  cursor: pointer;
  background-color: #fbfbfb;
}

#day-view_time {
  width: 140px;
}

.credit-amount {
  display: inline;
}

.credit-balance {
  display: inline;
  margin-left: 5px;
  font-size: 14px;
}

#points-timeline .card:hover {
  background-color: rgb(251, 251, 251);
  cursor: pointer;
}

#session_edit_session_link {
  position: absolute;
  top: 20px;
  right: 20px;
}

#event_edit_event_link {
  position: absolute;
  top: 0px;
  right: 20px;
}

#session_edit_event_link {
  position: absolute;
  top: 0px;
  right: 20px;
}

#accepted_total {
  font-weight: 600;
  color: green;
}

#rejected_total {
  font-weight: 600;
  color: red;
}

#pending_total {
  font-weight: 600;
  color: darkslategray;
}

#offer-table tbody tr:hover {
  cursor: pointer;
  background-color: rgb(247, 245, 218);
}

#student_events_table tbody tr:hover {
  cursor: pointer;
  background-color: rgb(247, 245, 218);
}

.card-hover:hover {
  border: 1px solid #034c9a;
}

#all_events_table tbody tr:hover {
  cursor: pointer;
  background-color: rgb(247, 245, 218);
}

#session_table_body tr:hover {
  cursor: pointer;
  background-color: rgb(247, 245, 218);
}

#students_table_body tr:hover {
  cursor: pointer;
  background-color: rgb(247, 245, 218);
}

.confirm_remove_session {
  padding-left: 10px;
}

.confirm_remove_session:hover {
  cursor: pointer;
  color: #000;
  font-weight: 600;
}

#confirm_dates table td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#confirm_dates table tr:hover {
  background-color: rgb(247, 245, 218);
}

#session_details {
  min-height: 100px;
}

#session_table_body td {
  padding: 0.5rem;
}

#students_table_body td {
  padding: 0.5rem;
}

/* prevent page shift */
html {
  overflow-y: scroll;
}

#add_session_msg {
  color: #bd2130 !important;
}

@media (min-width: 768px) {
  .card-columns {
    column-count: 2;
  }
}

@media (max-width: 767px) {
  .card-columns {
    column-count: 1;
  }
}

.card-columns .card {
  border-radius: 0.25rem;
}

.img-small {
  width: 20px;
}

.attendance-calendar-table {
  font-size: 12px;
}

.attendance-calendar-table th {
  width: 16%;
}

.attendance-calendar-table td {
  width: 8.4%;
}

.present-colour {
  background-color: rgba(64, 233, 67, 0.27);
}

.circumstance-colour {
  background-color: rgba(233, 216, 166, 0.38);
}

.missing-colour {
  background-color: rgba(226, 42, 24, 0.29);
}

.late-colour {
  background-color: #e8e1ef;
}

.heatmap-table td {
  width: 40px;
  height: 40px;
}

.cell-bg {
  background-color: #f8f8f8;
}

#card-container .card:hover {
  border: 1px solid rgb(166, 166, 166);
  background-color: rgb(252, 252, 252);
  cursor: pointer;
}

#page-title {
  margin: 15px 0px 20px 0px;
}

#page-container {
  min-height: 700px;
  border: 1px solid rgb(175, 175, 175);
}

.card .active-participation-badge {
  position: absolute;
  top: 10px;
  right: 9px;
}

.required::after {
  color: red;
  content: " *";
}

#search-pane {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background-color: rgb(239, 239, 239);
  padding-top: 3rem;
  color: #535353;
}

.search-input {
  width: 100%;
  height: 50px;
  background-color: #e7e7e7;
  color: #000000;
  border: none !important;
  font-size: 2em;
  font-weight: 300;
  padding-left: 15px;
  caret-color: #090909;
}

.search-input:focus {
  border: 0 !important;
}

#search-pane h2 {
  color: #535353;
  font-weight: 300;
}

.search-title {
  margin-top: 50px;
}

/* Offers */

#accepted_total {
  font-weight: 600;
  color: green;
}

#rejected_total {
  font-weight: 600;
  color: red;
}

#pending_total {
  font-weight: 600;
  color: darkslategray;
}

#error_msg {
  color: red;
}
#status_msg {
  color: green;
}

.alz-header hr {
  top: 92px;
  width: 100%;
  z-index: 0;
  border-top-width: 3px;
}

.alz-header img {
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.nav-tabs .nav-link {
}

.alz-tabs .nav-link {
  border-radius: 0.25rem;
}

.alz-student-badge {
  height: 70px;
  width: 70px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 19px;
  background-color: #3e5a91;
}

.alz-registered {
  background-color: rgba(79, 147, 76, 0.77);
  border: 1px solid #4f934c;
}

.pending-student {
  background-color: rgba(244, 143, 46, 0.68);
  border: 1px solid #f48f2e;
}

.student-badge-archived {
  background-color: rgba(113, 203, 215, 0.72);
  border: 1px solid #71cbd7;
}

.key-stakeholders {
  width: 20px;
  height: 20px;
  background-color: rgb(130, 201, 64);
  margin-right: 10px;
}

.key-external {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: rgb(114, 191, 229);
}

.key-learning-support {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: rgb(255, 255, 9);
}

.key-internal {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: rgb(242, 186, 157);
}

.log-note-item {
  padding: 12px;
  border: 1px solid #cdcdcd;
  background-color: rgba(229, 229, 229, 0.53);
  text-align: left;
}

.drag-box {
  height: 20px;
  border: 2px dotted rgba(136, 136, 136, 0.36);
}

.drag-item-container div {
  margin: 5px;
  background-color: #e0e0e0;
  padding: 7px;
}

.timetabled-session {
  display: flex;
  flex-direction: column;
  background-color: #e0e0e0;
  color: #000000;
}

.replaced-lesson {
}

.feedback-div {
  max-height: 200px;
  overflow-y: scroll;
  margin-top: 15px;
}

/* Modern Search Styles */
#search-modal .modal-content {
  border-radius: 12px;
  border: none;
}

#search-modal .modal-header {
  background-color: #f8f9fa;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1.1rem;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 transparent;
}

.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.search-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.search-result-item {
  border-radius: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent !important;
  margin-bottom: 2px;
}

.search-result-item:hover,
.search-result-item.selected {
  background-color: #f8f9fa;
  border-color: #e9ecef !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item.selected {
  background-color: #e7f3ff;
  border-color: #0d6efd !important;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
}

.result-title {
  font-size: 0.95rem;
  color: #212529;
}

.result-subtitle {
  font-size: 0.8rem;
  margin-top: 2px;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-empty-state svg {
  opacity: 0.5;
}

.search-loading-spinner {
  z-index: 10;
}

.search-clear-btn button {
  color: #6c757d;
  transition: color 0.15s ease;
}

.search-clear-btn button:hover {
  color: #495057;
}

.search-tips kbd {
  font-size: 0.75rem;
  padding: 2px 6px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
}

/* Search highlight */
mark.bg-warning {
  background-color: #fff3cd !important;
  color: #856404;
  padding: 1px 2px;
  border-radius: 2px;
}

/* Search trigger button styles */
.search-trigger-btn {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 25px;
  color: white;
  padding: 8px 16px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.search-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.search-trigger-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.search-trigger-btn .search-icon {
  margin-right: 6px;
}

.search-trigger-btn .search-shortcut {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 0.7rem;
  margin-left: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #search-modal .modal-dialog {
    margin: 1rem;
    max-width: none;
  }

  .search-results {
    max-height: 50vh;
  }

  .search-result-item {
    padding: 16px 12px !important;
  }

  .avatar-circle {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .result-title {
    font-size: 0.9rem;
  }

  .search-tips {
    display: none;
  }
}

/* Animation for modal appearance */
#search-modal .modal-content {
  animation: searchModalSlideIn 0.3s ease-out;
}

@keyframes searchModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Legacy search overlay styles (for fallback) */
#search-pane {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Custom checkbox styling for email teachers modal */
#email_teachers .teacher-checkbox {
  accent-color: #0a4585;
}

/* Fallback for browsers that don't support accent-color */
#email_teachers .teacher-checkbox:checked {
  background-color: #0a4585;
  border-color: #0a4585;
}

#email_teachers .teacher-checkbox:focus {
  border-color: #0a4585;
  box-shadow: 0 0 0 0.2rem rgba(10, 69, 133, 0.25);
}
