html,
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  height: 100%;
  min-height: 100%;
}

.cover-page {
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  min-height: 100vh;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}

.cover-logo {
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.nav-masthead .nav-link {
  border-bottom: .25rem solid transparent;
  color: rgba(255, 255, 255, .65);
  font-weight: 700;
  padding: .25rem 0;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .85);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  border-bottom-color: #fff;
  color: #fff;
}

.login-body {
  align-items: center;
  background: #f8f9fa;
  display: flex;
  height: 100%;
  min-height: 100%;
  padding: 2rem 1rem;
}

.form-signin {
  margin: auto;
  max-width: 330px;
  width: 100%;
}

.login-logo {
  border-radius: 50%;
  height: 96px;
  object-fit: cover;
  width: 96px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin .auth-field,
.form-signin .login-field,
.form-signin .signup-field {
  margin-bottom: -1px;
}

.form-signin .auth-field-middle .form-control,
.form-signin .auth-field-last .form-control,
.form-signin .password-field .form-control,
.form-signin .signup-field-middle .form-control,
.form-signin .signup-field-last .form-control {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin .auth-field-first .form-control,
.form-signin .auth-field-middle .form-control,
.form-signin .login-field .form-control,
.form-signin .signup-field-first .form-control,
.form-signin .signup-field-middle .form-control {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-signin .social-login .btn {
  width: 100%;
}

.form-signin .social-login .row {
  gap: .5rem;
}

.form-signin .social-login [class*="col-"] {
  flex: 0 0 100%;
  width: 100%;
}

.dashboard-body {
  background: #f2f6fc;
  color: #1f2937;
}

.dashboard-shell {
  background: #f2f6fc;
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  background: #fff;
  box-shadow: .15rem 0 1.75rem 0 rgba(33, 40, 50, .12);
  min-height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  width: 280px;
  z-index: 2;
}

.dashboard-sidebar-header {
  min-height: 4rem;
}

.dashboard-sidebar-brand {
  align-items: center;
  color: #1f2937;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  gap: .75rem;
  letter-spacing: .02em;
  min-height: 4rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
}

.dashboard-sidebar-toggle {
  align-items: center;
  background: #f2f6fc;
  border: 1px solid #d4dae3;
  border-radius: .35rem;
  color: #3f4652;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.dashboard-sidebar-toggle:hover,
.dashboard-sidebar-toggle:focus {
  background: #eef4ff;
  color: #0061f2;
}

.dashboard-sidebar-heading {
  color: #a7aeb8;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 1.5rem 1.25rem .5rem;
  text-transform: uppercase;
}

.dashboard-logo {
  border-radius: .5rem;
  object-fit: cover;
}

.dashboard-sidebar .nav {
  padding: 0 .75rem;
}

.dashboard-sidebar .nav-item {
  margin-bottom: .125rem;
}

.dashboard-sidebar .nav-link {
  align-items: center;
  border-radius: .35rem;
  color: #687281;
  display: flex;
  font-size: .9rem;
  font-weight: 600;
  gap: .5rem;
  min-height: 2.65rem;
  padding: .65rem .75rem;
}

.dashboard-sidebar button.nav-link {
  background: transparent;
  border: 0;
  text-align: left;
  width: 100%;
}

.dashboard-sidebar .nav-link i {
  color: #9aa5b1;
  font-size: .95rem;
  width: 1.25rem;
}

.dashboard-sidebar .nav-link .nav-link-chevron {
  color: #c0c7d0;
  margin-left: auto;
  transition: transform .16s ease-in-out;
}

.dashboard-sidebar .nav-link[aria-expanded="true"] .nav-link-chevron {
  transform: rotate(90deg);
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link:focus {
  background: #f2f6fc;
  color: #1f2937;
}

.dashboard-sidebar .nav-link.active {
  background: #eef4ff;
  color: #0061f2;
}

.dashboard-sidebar .nav-link.active i,
.dashboard-sidebar .nav-link.active .nav-link-chevron {
  color: #0061f2;
}

.dashboard-sidebar-submenu {
  margin: .125rem 0 .5rem;
}

.dashboard-sidebar-submenu .nav-link {
  font-size: .85rem;
  min-height: 2.35rem;
  padding-left: 2.5rem;
}

.dashboard-sidebar-submenu .nav-link i {
  font-size: .85rem;
}

.dashboard-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.dashboard-topbar {
  align-items: center;
  background: #fff;
  box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .08);
  display: flex;
  gap: 1rem;
  min-height: 4rem;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1;
}

.dashboard-user-chip {
  align-items: center;
  background: transparent;
  border: 0;
  color: #687281;
  display: flex;
  font-size: .85rem;
  font-weight: 600;
  gap: .5rem;
  padding: .5rem .75rem;
}

.dashboard-user-chip:hover,
.dashboard-user-chip:focus {
  background: #f2f6fc;
  color: #1f2937;
}

.dashboard-user-menu {
  margin-left: auto;
}

.dashboard-content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem;
}

.dashboard-page-header {
  align-items: center;
  background: linear-gradient(135deg, #0061f2 0%, #6900c7 100%);
  border-radius: .5rem;
  box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .16);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
}

.dashboard-page-header h1 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.dashboard-page-header .text-body-secondary {
  color: rgba(255, 255, 255, .74) !important;
}

.dashboard-card {
  background: #fff;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .12);
  overflow: hidden;
}

.dashboard-card-header {
  align-items: center;
  background: rgba(33, 40, 50, .03);
  border-bottom: 1px solid #e3e6ec;
  color: #0061f2;
  display: flex;
  font-size: .85rem;
  font-weight: 700;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .85rem 1.25rem;
}

.dashboard-card-body {
  padding: 1.25rem;
}

.contract-content {
  color: #3f4652;
  line-height: 1.65;
}

.contract-content section + section {
  border-top: 1px solid #edf0f5;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.contract-identification dt,
.contract-identification dd {
  border-bottom: 1px solid #edf0f5;
  margin-bottom: 0;
  padding-bottom: .45rem;
  padding-top: .45rem;
}

.contract-signature {
  border-top: 1px solid #d4dae3;
  padding-top: 1.5rem;
}

.contract-answer-details {
  max-width: 42rem;
}

.dashboard-table-toolbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-table-length,
.dashboard-table-filter {
  align-items: center;
  color: #687281;
  display: flex;
  font-size: .85rem;
  gap: .5rem;
}

.dashboard-table-control {
  background-color: #fff;
  border: 1px solid #d4dae3;
  border-radius: .35rem;
  color: #3f4652;
  font-size: .85rem;
  min-height: 2.25rem;
  padding: .375rem .75rem;
}

.form-select.dashboard-table-control {
  padding-right: 2.25rem;
}

.dashboard-table-search {
  min-width: 12rem;
}

.dashboard-table {
  border: 1px solid #e3e6ec;
  color: #3f4652;
  font-size: .875rem;
  margin-bottom: 0;
}

.dashboard-table thead th {
  background: #f8f9fc;
  border-bottom: 1px solid #e3e6ec;
  border-right: 1px solid #e3e6ec;
  color: #687281;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding-bottom: .9rem;
  padding-top: .9rem;
  text-transform: uppercase;
}

.dashboard-table thead th:last-child,
.dashboard-table tbody td:last-child {
  border-right: 0;
}

.dashboard-table tbody td {
  border-color: #edf0f5;
  border-right: 1px solid #edf0f5;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.dashboard-table tbody tr:hover {
  background: #f8f9fc;
}

.dashboard-table-clickable {
  cursor: pointer;
}

.dashboard-table-clickable:focus {
  outline: 2px solid #0061f2;
  outline-offset: -2px;
}

.dashboard-table-footer {
  align-items: center;
  color: #687281;
  display: flex;
  font-size: .85rem;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.dashboard-pagination {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
}

.dashboard-pagination li {
  list-style: none;
}

.dashboard-pagination span,
.dashboard-pagination button {
  align-items: center;
  background: #fff;
  border: 1px solid #d4dae3;
  border-radius: .35rem;
  color: #687281;
  display: flex;
  font-size: .85rem;
  min-height: 2.25rem;
  min-width: 2.25rem;
  padding: .375rem .75rem;
}

.dashboard-pagination button:hover,
.dashboard-pagination button:focus {
  background: #f2f6fc;
  color: #0061f2;
}

.dashboard-pagination button:disabled {
  background: #fff;
  color: #a7aeb8;
  cursor: default;
}

.dashboard-pagination .active span,
.dashboard-pagination .active button {
  background: #0061f2;
  border-color: #0061f2;
  color: #fff;
}

.metric-card {
  background: #fff;
  border: 0;
  border-left: .25rem solid #0061f2;
  border-radius: .5rem;
  box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .12);
  padding: 1.25rem;
}

.metric-card .metric-label {
  color: #0061f2;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric-card .metric-value {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: .25rem;
}

.student-class-action {
  align-items: flex-start;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.btn-dark {
  background: #0061f2;
  border-color: #0061f2;
  box-shadow: 0 .125rem .35rem rgba(0, 97, 242, .24);
  font-weight: 700;
}

.btn-dark:hover,
.btn-dark:focus {
  background: #0052ce;
  border-color: #0052ce;
}

.btn-outline-dark {
  border-color: #c5ccd6;
  color: #3f4652;
  font-weight: 700;
}

.dashboard-page-header .btn-outline-dark {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
}

.dashboard-page-header .btn-dark {
  background: #fff;
  border-color: #fff;
  color: #0061f2;
}

.form-control,
.form-select {
  border-color: #d4dae3;
  border-radius: .35rem;
}

.form-label {
  color: #687281;
  font-size: .8rem;
  font-weight: 700;
}

#calendar {
  background: #fff;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .12);
  padding: 1rem;
}

#calendar .fc-toolbar {
  flex-wrap: wrap;
  gap: .75rem;
}

#calendar .fc-event {
  border: 0;
  border-radius: .25rem;
  font-weight: 600;
  padding: .125rem .25rem;
}

@media (max-width: 991.98px) {
  .dashboard-shell {
    flex-direction: column;
  }

  .dashboard-sidebar {
    min-height: auto;
    position: static;
    width: 100%;
  }

  .dashboard-sidebar-header {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding-right: 1rem;
  }

  .dashboard-sidebar-brand {
    flex: 1;
    min-width: 0;
  }

  .dashboard-sidebar-collapse {
    border-top: 1px solid #e5e7eb;
    padding-bottom: 1rem;
  }

  .dashboard-topbar {
    position: static;
  }

  .dashboard-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-table-toolbar,
  .dashboard-table-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-table-filter,
  .dashboard-table-search {
    width: 100%;
  }

  .student-class-action,
  .student-class-action form,
  .student-class-action .btn {
    width: 100%;
  }
}
