/* app/assets/style.css */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&family=Noto+Serif+KR:wght@400;700&display=swap');

:root {
  --bs-body-bg: #b9a58650; /* #d1dcee70; */
}

html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
}

body {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(
    to right,
    #b3968f40 20%,
    #b3968f40 80%
  );
}

.serif {
  font-family: 'Noto Serif KR', serif !important;
}

.sans {
  font-family: 'Noto Sans KR', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans KR', sans-serif !important;
}

.accordion-button {
  background-color:  #eeeeee !important;
  color: #151515 !important;
  line-height: 1.6;
}
.accordion-button:focus {
  background-color: #eeeeee;
  color: #151515;
  box-shadow: none;
  line-height: 1.6;
}
.accordion-body {
  background-color: #eeeeeedf;
  color: #151515;
  line-height: 1.6;
}

/* Change accordion toggle arrow (chevron) color */
.accordion-button::after {
  filter: invert(0.8);
}

.card-body {
  opacity: 0.9 !important;
}

.opaque-modal-content {
  color: #e0e0e0;
  background-color: #5d6b6d;
  opacity: 1;
}

.opaque-dark {
  color: #e0e0e0;
  background-color: #303030;
  opacity: 1;
}

.dropdown-menu {
  color: #e0e0e0 !important;
  background-color: #b0b0b0;
  opacity: 1;
}

.dropdown-item: disabled {
  color: #e0e0e0;
  opacity: 0.5;
  cursor: not-allowed;
}

.Select-multi-value {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.Select-multi-value-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  margin-right: 2rem; /* Prevent overlap with the close button */
}

.dropdown-style {
  white-space: nowrap;
}

.btn-outline-dark.outline-dark:hover {
  background-color: black !important;
  color: white;
  border-color: black;
}

.dash-spinner.dash-graph-spinner {
  position: absolute;
  top: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1000;
}

.vod {
  box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #000000b0;
}

.video-wrapper {
  position: relative;
  max-width: 560px;
  width: 100%;
  aspect-ratio: 16/9;
  margin: auto;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

.Select-menu {
  color: #232323;
  white-space: nowrap;
}

.radio-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.custom-radio {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.custom-radio label {
  display: flex;
  align-items: center;
  padding: 12px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.custom-radio input[type="radio"] {
    margin-right: 4px;
    cursor: pointer;
}
.custom-radio label:has(#radio-suneung) {
  background-color: #3d9bb5;
  border: 1px solid #f0f0f0e0;
}
.custom-radio label:has(#radio-grade) {
  background-color: #48ae48;
  border: 1px solid #f0f0f0e0;
}
.custom-radio label:has(#radio-international) {
  background-color: #ec4843;
  border: 1px solid #f0f0f0e0;
}
.custom-radio label:hover {
  opacity: 0.8;
}
.custom-radio input[type="radio"]:checked + label {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid black;
  text-align: center;
  line-height: 16px;
  margin: 3px;
  font-size: 15px;
}

.rectangle {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid black;
  text-align: center;
  line-height: 20px;
  margin: 3px;
  font-size: 13px;
}