@font-face {
  font-family: "NanumSquare";
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/NanumSquareEB.woff2)
    format("woff2");
}

@font-face {
  font-family: "NanumSquare";
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/NanumSquareB.woff2)
    format("woff2");
}

@font-face {
  font-family: "NanumSquare";
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/NanumSquareR.woff2)
    format("woff2");
}

@media (min-width: 1200px) {
  /* Large */
  .course-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 40px;
    gap: 5px;
  }

  .course-item {
    font-size: 1.2rem;
  }

  html,
  body {
    max-width: none;
  }

  .main-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .timetable-container {
    flex: 1 1 auto;
    max-width: 840px;
  }

  .info-card {
    display: block;
    width: 380px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e8f0ff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 76, 255, 0.06);
    position: sticky;
    top: 30px;
    height: min-content;
    box-sizing: border-box;
  }

  .info-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    color: #0076ff;
    font-weight: 800;
  }

  .info-card .credits {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(90deg, #0076ff 0%, #005bb5 100%);
    box-shadow: 0 6px 18px rgba(0, 118, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .info-card .credits::before {
    content: "📚";
    display: inline-block;
    margin-right: 6px;
    font-size: 0.95rem;
  }

  .info-card .course-entry {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 3px;
    background: #fafcff;
    margin-bottom: 8px;
    border-left: 3px solid #0076ff;
  }

  .info-card .course-entry .course-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .info-card .course-entry .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    overflow: hidden;
    min-width: 0;
    line-height: 1;
  }

  .info-card .course-entry .meta .meta-title {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .info-card .course-entry .course-content {
    min-width: 0;
  }

  .info-card .course-entry .meta .meta-credit {
    background-color: #fff3e0;
    color: #e65100;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(230, 81, 0, 0.08);
  }

  .info-card .course-entry .sub {
    font-size: 0.72rem;
    color: #555;
  }

  .info-card .remove-btn {
    background: transparent;
    border: none;
    color: #ff3b30;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    margin-left: 12px;
    align-self: center; /* vertically center with content */
  }

  .info-card .empty {
    color: #777;
    text-align: center;
    padding: 12px;
  }

  .info-card .remove-btn {
    background: transparent;
    border: none;
    color: #ff3b30;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
  }
}

@media (min-width: 818px) and (max-width: 1199px) {
  /* Medium */
  .course-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 5px;
  }

  .course-item {
    font-size: 1.1rem;
  }
}

.course-items > .no-results:only-child {
  grid-column: 1 / -1;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: none;
  padding: 18px 16px;
  box-sizing: border-box;
  font-size: 1.05rem;
  margin: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-align: center;
  color: #555;
}

.no-results {
  padding: 18px 16px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: 8px;
  margin: 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-course-id] {
  color: #797979;
  cursor: pointer;
}

html,
body {
  font-family: "NanumSquare", sans-serif;
  font-weight: 800;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #f0f4ff;
  max-width: none;
  width: 100%;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

button {
  font-family: "NanumSquare", sans-serif;
  font-weight: 800;
}

.searchStyle {
  font-family: "NanumSquare", sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 4px;
  color: #0076ff;
  display: inline-block;
}

.search-input-row input {
  margin-right: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

.search-wrapper {
  position: relative;
  display: inline-block;
}

.search-wrapper .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: #0076ff;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.06));
}

.search-wrapper .search-icon path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-wrapper input {
  padding-right: 48px;
}

#detailOptionsButton.attached-left {
  height: 40px;
  /* padding: 9.5px 12px; */
  border-radius: 4px 0 0 4px;
  border-right: 1px solid #0076ff;
  background: #f9f9f9;
  color: #0076ff;
}

.button-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.button-with-label .option.small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85em;
  font-weight: 800;
}

@media (max-width: 550px) {
  .button-with-label .option.small {
    font-size: 0.8em;
  }
}

.highlight {
  background-color: #ffff0024;
}

input {
  padding: 9.5px 15px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #0076ff;
  font-size: 1em;
  line-height: 1;
  box-sizing: border-box;
  background-color: #f9f9f9;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* margin: 0 10px; */
  max-width: 300px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-2px);
  }
}

.drag-message {
  display: none;
  margin-top: 22px;
  font-size: 0.6rem;
  color: #666;
  text-align: left;
}

@media (max-width: 550px) {
  .drag-message {
    display: block;
    animation: bounce 2s infinite;
  }
}

.tips {
  border-radius: 4px;
  background-color: rgb(51 93 255 / 10%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 3px;
  margin-inline: 5px;
  color: #ff000091;
}

table {
  border-collapse: separate;
  border-style: hidden;
  width: 100%;
}

th {
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  text-align: center;
  vertical-align: middle;
  color: #797979;
}

th:first-child {
  border: none;
}

td {
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  height: 58px;
  text-align: center;
  color: white;
  vertical-align: middle;
}

.detail {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding-top: 6px;
}

.detail .meta {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
}

.detail .place {
  white-space: normal;
  overflow: visible;
  display: block;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.2;
}

@media (max-width: 550px) {
  table {
    font-size: 10pt;
  }
}

@media (min-width: 800px) {
  .modal-title div {
    font-size: 20pt !important;
  }

  .modal-desc {
    font-size: 12pt !important;
  }

  td {
    height: 80px;
  }

  .detail {
    font-size: 10pt;
  }
}

.cell.selected {
  background-color: #0076ff;
}

.drag-handle {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  /* background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(255, 255, 255, 0)
  ); */
}

.drag-handle .bar {
  width: 40px;
  height: 4px;
  background-color: #999;
  border-radius: 2px;
}

.course-list {
  border-top: 3px solid #0076ff;
  border-radius: 6px 6px 0 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
  touch-action: none;
  transition: transform 0.2s ease;
}

.course-list.show {
  transform: translateY(0);
}

.course-item {
  padding: 16px 18px;
  cursor: pointer;
  transition:
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
  margin: 8px 0;
  border-left: 3px solid #0076ff;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.course-item:hover {
  border-left-color: #005bb5;
  box-shadow: 0 6px 16px rgba(0, 76, 255, 0.12);
  transform: translateX(2px);
}

.first-line {
  margin-bottom: 10px;
}

.second-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-name {
  color: #000000;
  font-size: 1.1em;
  line-height: 1.6;
  font-weight: 800;
  display: block;
}

.course-num,
.course-depart,
.course-time,
.course-credit,
.course-grade,
.course-professor,
.course-notice,
.course-type {
  border-radius: 6px;
  font-size: 0.7em;
  padding: 4px 8px;
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
}

.course-num {
  background-color: #e3f2fd;
  color: #0d47a1;
}

.course-depart {
  background-color: #f3e5f5;
  color: #4a148c;
}

.course-time {
  background-color: #e0f2f1;
  color: #00695c;
}

.course-credit {
  background-color: #fff3e0;
  color: #e65100;
}

.course-grade {
  background-color: #fce4ec;
  color: #c2185b;
}

.course-professor {
  background-color: #f1f8e9;
  color: #33691e;
}

.course-notice {
  background-color: #ffebee;
  color: #b71c1c;
}

.course-type {
  background-color: #c5c5c5;
  color: #ffffff;
}

.department-select {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 20px;
}

.department-select > div {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.option,
.search {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.modal-desc .option {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  line-height: 1.15;
  font-weight: 800;
}

@media (max-width: 550px) {
  .modal-desc .option {
    font-size: 0.95em;
  }
}

#departmentSelect {
  padding: 9.5px 15px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #0076ff;
  font-size: 1em;
  background-color: #f9f9f9;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(1.1);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  backdrop-filter: blur(2px);
}

.modal.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  font-size: 11pt;
  font-weight: 500;
  margin: 80px auto;
  padding: 32px;
  border: 1px solid #e8f0ff;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 76, 255, 0.15);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-title {
  position: relative;
  text-align: center;
  padding: 0 40px;
  margin-bottom: 20px;
}

.modal-title div {
  font-weight: 800;
  font-size: 20pt;
  text-align: center;
  color: #0076ff;
}

.modal-desc {
  /* padding-block: 20px; */
  color: #555;
  line-height: 1.8;
}

.close-button {
  position: absolute;
  right: 10px;
  top: 50%;
  color: #0076ff;
  font-size: 24pt;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: 300;
}

.close-button:hover,
.close-button:focus {
  color: #005bb5;
}

.timetable-container {
  position: relative;
  padding-inline: 10px;
  margin-bottom: 90px;
}

#creditMessage {
  text-align: center;
  font-size: 15px;
  margin: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #0076ff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 76, 255, 0.08);
  position: relative;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

#creditMessage span:first-child {
  font-weight: 800;
  color: #0076ff;
  margin-right: 4px;
}

#downloadImageButton,
#shareButton {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #0076ff 0%, #005bb5 100%);
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 76, 255, 0.3);
  transition:
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  width: 32px;
  cursor: pointer;
}

#downloadImageButton {
  right: 10px;
}

#shareButton {
  right: 48px;
}

#downloadImageButton:hover,
#shareButton:hover {
  box-shadow: 0 6px 20px rgba(0, 76, 255, 0.4);
  transform: translateY(-52%) scale(1.08);
}

#detailOptionsButton {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  /* padding: 9.5px 12px; */
  border-radius: 4px;
  background: #f9f9f9;
  color: #0076ff;
  border: 1px solid #0076ff;
  transition:
    box-shadow 0.15s ease,
    transform 0.08s ease;
  cursor: pointer;
  /* margin: 0 10px; */
  line-height: 1;
  box-sizing: border-box;
}

#applyDetailOptions.searchStyle {
  background: linear-gradient(135deg, #0076ff 0%, #005bb5 100%);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 76, 255, 0.15);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.course-items {
  height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
}

.course-items::-webkit-scrollbar {
  width: 6px;
}

.course-items::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 4px;
}

.course-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#creditValue {
  color: #0076ff;
  border-radius: 4px;
  background-color: rgb(51 93 255 / 10%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 3px;
  margin-inline: 2px;
}

#menuButton {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  border: none;
  font-size: 14px;
  transition:
    background-color 0.3s,
    transform 0.3s;
  cursor: pointer;
}

.menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 4px 0 24px rgba(0, 76, 255, 0.15);
  transition:
    left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 30;
  padding: 24px;
  overflow-y: auto;
  border-right: 3px solid #0076ff;
  border-radius: 0 6px 6px 0;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.menu.show {
  left: 0;
  box-shadow: 8px 0 40px rgba(0, 76, 255, 0.25);
}

/* default: hide side info on small screens */
@media (max-width: 1199px) {
  .info-card {
    display: none;
  }
}

.menu h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #0076ff 0%, #005bb5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8f0ff;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin: 8px 0;
}

.menu a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: #333;
  text-decoration: none;
  transition:
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  border-bottom: 1px solid #e8f0ff;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(135deg, #0076ff 0%, #005bb5 100%);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .menu a:hover {
    background-color: #e8f4ff;
    color: #0076ff;
    transform: translateX(4px);
    padding-left: 20px;
    border-bottom-color: transparent;
  }

  .menu a:hover::before {
    transform: scaleY(1);
  }
}

@media (hover: none) {
  .menu a:active {
    background-color: #e8f4ff;
    color: #0076ff;
  }
}

/* select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-caret-down-fill%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M7.247%2011.14%202.451%205.658C1.885%205.013%202.345%204%203.204%204h9.592a1%201%200%200%201%20.753%201.659l-4.796%205.48a1%201%200%200%201-1.506%200z%22%2F%3E%3C%2Fsvg%3E")
    no-repeat right 10px center;
  background-size: 12px;
} */

/* Segmented controls: attached buttons with equal widths */
.grade-toggle,
.day-toggle,
.credit-btn,
.type-toggle {
  display: flex;
  gap: 0; /* no gaps between buttons */
  justify-content: center;
  flex-wrap: nowrap;
}

.segmented {
  display: inline-flex;
  border: 1px solid #0076ff;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.segmented button,
.grade-btn,
.type-btn,
.credit-btn,
.day-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9.5px 12px;
  height: 40px;
  border: none;
  margin: 0;
  background: transparent;
  color: #0076ff;
  cursor: pointer;
  box-sizing: border-box;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.segmented button + button {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.segmented button.active {
  background: linear-gradient(135deg, #0076ff 0%, #005bb5 100%);
  color: #ffffff;
  box-shadow: none;
}

.segmented button:focus {
  outline: 3px solid rgba(0, 118, 255, 0.14);
  outline-offset: -3px;
}

@media (max-width: 550px) {
  .segmented button {
    padding: 6px 8px;
    height: 28px;
    font-size: 0.75em;
  }
}

@media (max-width: 550px) {
  .modal-content {
    width: 90%;
    max-width: 100%;
    margin: 60px auto;
    padding: 24px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .modal-title {
    padding: 0 20px;
  }

  .modal-title div {
    font-size: 18pt;
  }

  .modal-desc {
    font-size: 9pt !important;
    /* padding-block: 15px; */
  }

  .close-button {
    font-size: 20pt;
    right: 5px;
  }

  #creditMessage {
    margin: 10px 8px;
    padding: 12px 14px;
    font-size: 13px;
    box-sizing: border-box;
  }

  #downloadImageButton,
  #shareButton {
    width: 28px;
  }

  #downloadImageButton {
    right: 8px;
  }

  #shareButton {
    right: 40px;
  }

  .course-item {
    margin: 6px 2px;
    padding: 14px 12px;
    box-sizing: border-box;
  }

  .course-name {
    font-size: 0.95em;
  }

  .course-num,
  .course-depart,
  .course-time,
  .course-credit,
  .course-grade,
  .course-professor,
  .course-notice,
  .course-type {
    font-size: 7pt;
    padding: 3px 6px;
  }

  #departmentSelect {
    margin: 0 4px;
    box-sizing: border-box;
    height: 28px;
    padding: 8px 10px;
    font-size: 0.75em;
  }

  .grade-btn,
  .type-btn,
  .credit-btn,
  .day-btn {
    padding: 6px 8px;
    height: 28px;
    font-size: 0.75em;
  }

  .grade-btn.active,
  .type-btn.active,
  .credit-btn.active,
  .day-btn.active {
    box-shadow: 0 4px 10px rgba(0, 76, 255, 0.12);
  }

  #applyDetailOptions.searchStyle {
    padding: 8px 12px;
    font-size: 0.95em;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 76, 255, 0.12);
  }

  .modal-content {
    margin: 40px auto;
    padding: 18px;
  }

  table {
    font-size: 9pt;
  }

  td {
    height: 50px;
  }

  .detail {
    font-size: 5pt;
  }

  .detail .meta {
    margin-bottom: 0px;
  }
}
