.calc {
  border: 1px solid black;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.calc tr {
  height: 50px;
}

.calc td {
  width: 100px;
  border: 1px solid black;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
}

.calc td.univName, .calc td.admissionTypeName {
  position: relative; /* 이미지 위치 기준 부모 */
}

/* 심볼 이미지 - 위쪽 중앙에 표시 */
.calc td.univName img.symbol {
  display: none;
  position: absolute;
  left: 50%;                /* 가로 중앙 */
  top: -90px;               /* td 위쪽으로 위치 (이미지 높이에 맞게 조정) */
  transform: translateX(-50%);
  cursor: pointer;
}

.item {
  width: 60px;
  height: 28px;
  line-height: 28px;
  padding: 0 6px;
  box-sizing: border-box;
  text-align: center;
}

.title {
  background-color: #f0f0f0;
  color: #333;
  font-weight: bold;
}

.readitem {
  display: none;
}

.percent:not(:empty)::after {
  content: "%";
}

.percent:not(:empty)[data-full="true"]::after {
  content: "% (미달)";
}

.meetsCutoff-value {
  display: inline-block;
}

.meetsCutoff-desc {
  display: none;
  width: 120px;
  display: inline-block;
  text-align: left;
}

/* 그래프 막대 기본 스타일 */
.bar-container {
    position: relative;
    width: 100%;
    height: 10px; /* 막대 높이 낮춤 */
    background-color: lightgray; /* 배경색, 필요시 제거 */
    border-radius: 3px;
    overflow: hidden; /* 막대가 셀을 벗어나지 않도록 */
    border: 1px solid black;
}

.bar-fill {
    height: 100%;
    background-color: green; /* 막대 색 */
    border-radius: 3px 0 0 3px;
}

.red-line {
    position: absolute;
    top: 0px; /* 막대 안쪽으로 맞춤 */
    width: 8px;
    height: 14px; /* 막대 높이보다 조금 길게 */
    background-color: red;
    transform: translateX(-50%);
}

.red-label {
    position: absolute;
    top: 16px; /* 막대 아래쪽에 위치 */
    transform: translateX(-50%);
    font-size: 10px;
    color: red;
    white-space: nowrap;
}

.yellow-line {
    position: absolute;
    top: 0px; /* 막대 안쪽으로 맞춤 */
    width: 8px;
    height: 14px; /* 막대 높이보다 조금 길게 */
    background-color: yellow;
    transform: translateX(-50%);
}

/* .focus {
  color: yellow;
  filter: drop-shadow(0 0 2px black);
} */

.focus1 {
  width: 80px;
  background-color: rgba(0, 0, 0, 0.05); /* 배경 색상 */
  color: red;            /* 글자 색상 */
  display: inline-block;    /* 글자 크기만큼 영역 유지 */
  padding: 0px;         /* 여백 (선택 사항) */
  border-radius: 5px;       /* 모서리 둥글게 (선택 사항) */
}

.focus2 {
  width: 80px;
  background-color: black; /* 배경 색상 */
  color: yellow;            /* 글자 색상 */
  display: inline-block;    /* 글자 크기만큼 영역 유지 */
  padding: 0px;         /* 여백 (선택 사항) */
  border-radius: 5px;       /* 모서리 둥글게 (선택 사항) */
}

/* .focus {
  color: yellow;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  font-weight: bold;
} */

.focus1:empty, .focus2:empty {
  display: none;
}

.ratio-slider {
  appearance: none;
  width: 100px;
  height: 6px;
  background: linear-gradient(to right, rgba(255,0,0,0.3) 0%, rgba(0,0,255,0.3) 100%);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
}

.ratio-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.ratio-slider::-webkit-slider-thumb:hover {
  background: #ff5722;
}

.meetsCutoff-slider {
  appearance: none;
  width: 100px;
  height: 6px;
  background: linear-gradient(to right, rgba(0, 102, 204, 0.4) 0%, rgba(0, 204, 102, 0.4) 100%);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
}

.meetsCutoff-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.meetsCutoff-slider::-webkit-slider-thumb:hover {
  background: #00cc99;
}

td.univName {
  position: relative; /* img 위치 기준이 될 부모 */
}

td.univName img.symbol {
  display: none;
  position: absolute;
  left: 18px;          /* 왼쪽 여백 (조정 가능) */
  top: 50%;            /* 수직 가운데 정렬 */
  transform: translateY(-50%);
  cursor: pointer;
}

td.univName img.link {
  display: none;
  position: absolute;
  right: 25px;          /* 오른쪽 여백 (조정 가능) */
  top: 50%;            /* 수직 가운데 정렬 */
  transform: translateY(-50%);
  cursor: pointer;
}

/* 상단 알림 문구 */
.top-guide {
  width: 1040px;
  margin: 50px auto 0;
  text-align: center;
  background-color: #fafafa; /* 밝고 깔끔한 회백색 배경 */
  border: 1px solid #e5e7eb; /* 연한 회색 테두리 */
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b; /* 짙은 남회색 */
  letter-spacing: -0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); /* 은은한 그림자 */
  backdrop-filter: blur(2px); /* 미세한 유리 느낌 (지원 브라우저에서만) */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* 반응형 제외 (PC 기준 고정) */
@media (min-width: 1040px) {
  .top-guide {
    width: 1040px;
  }
}

/* 공지 / 설명 박스 */
.notice-box {
  width: 1040px;
  background: #f9fbff;                /* 부드러운 하늘색 톤 */
  border: 1px solid #d0e2ff;          /* 파란빛 연한 테두리 */
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 30px;
  text-align: left;
  line-height: 1.7;
  font-size: 15px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* 은은한 그림자 */
}

/* 제목 */
.notice-box b {
  display: inline-block;
  font-size: 16px;
  color: #1e3a8a;  /* 진한 파랑 */
  margin-bottom: 10px;
}

/* 용어 강조 */
.notice-box .term {
  font-weight: 600;
  color: #0f172a; /* 짙은 남색 */
}

/* 링크 스타일 */
.notice-box a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.notice-box a:hover {
  color: #ff5722;
}

/* 단락 간격 */
.notice-box p {
  margin: 12px 0;
}

/* 하단 응원 이미지 부모 div 중앙 정렬 */
.settings-cheer-container {        /* 부모 div */
  display: flex;
  justify-content: center;         /* 가로 중앙 정렬 */
  align-items: center;             /* 세로 중앙 정렬 (높이 있을 때도 중앙) */
  margin-top: 40px;                /* 위쪽 여백 */
}

/* 하단 응원 이미지 중앙 배치 */
.settings-cheer {
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 마우스 오버 시 살짝 강조 */
.settings-cheer:hover {
  transform: scale(1.05);
  opacity: 1;
}

.memoBlock {
  display: table-row;
}

.memo {
  width: 100%;
  height: 100px;
  margin: 0;
  border: 0;
  outline: none;           /* 포커스 시 테두리 제거 */
  resize: none;            /* 크기 조절 핸들 제거 (선택사항) */
  overflow: hidden;        /* 스크롤 숨김 */
  font-size: 14px;         /* 보기 좋은 기본 글자 크기 */
  font-family: inherit;    /* 페이지 기본 폰트 사용 */
  padding: 8px;            /* 내용 여백 */
  box-sizing: border-box;  /* 패딩 포함 너비 계산 */
}

.memo-readItem {
  display: none;
  top: 0;                      /* 수직정렬: 위로 붙임 */
  left: 0;
  text-align: left;
  white-space: pre-wrap;       /* 줄바꿈 유지 + 자동 줄바꿈 */
  word-wrap: break-word;       /* 긴 단어도 줄바꿈 */
  font-size: 14px;             /* 보기 좋은 기본 글자 크기 */
  font-family: inherit;        /* 페이지 기본 폰트 사용 */
  padding: 8px;                /* 내용 여백 */
  margin: 0px;
}

/* 각 버튼별 포인트 색상 */
.btns a.upBtn:hover    { background-color: #16a34a; }  /* 초록 */
.btns a.downBtn:hover  { background-color: #0284c7; }  /* 파랑 */
.btns a.resetBtn:hover { background-color: #eab308; }  /* 노랑 */
.btns a.delBtn:hover   { background-color: #dc2626; }  /* 빨강 */
.btns a.cpt1Btn:hover  { background-color: #2563eb; } /* 파란색 */
.btns a.save1Btn:hover  { background-color: #2563eb; } /* 파란색 */

.univDept2 {
  display: none;
}

.bg0 {
  background-color: #eef4fb;
}

.bg1 {
  background-color: #f5fbe4;
}

.bg2 {
  background-color: #fbf1e4;
}

.bg3 {
  background-color: #fcf4fa;
}

.result-bars {
  position: absolute;
  top: -55px;          /* 전형구분 셀 위로 50px */
  left: 50%;
  transform: translateX(-50%); /* 가운데 정렬 */
  display: flex;
  flex-direction: column;   /* 세로로 쌓기 */
  justify-content: flex-end;
  align-items: center;
  gap: 1px;
}

.result-bar {
  width: 20px;
  height: 3px;
  background-color: white;
  border-radius: 0px;
}

.result-bar-green {
  background-color: #16F525;
}

.result-bar-blue {
  background-color: #92A5F7;
}
