@charset "UTF-8";
/* 대학/학과 코드 검색 페이지 스타일 */
.univ-dept-search__title {
text-align: center;
padding-top: 100px;
padding-bottom: 8px;
}
.univ-dept-search__subtitle {
font-size: 16px;
color: #535556;
text-align: center;
padding-bottom: 40px;
}
.univ-dept-search {
width: 1200px;
margin: 0 auto 100px;
display: flex;
flex-direction: column;
gap: 20px;
}
/* display:flex 등 클래스 규칙이 [hidden]의 기본 display:none을 이겨버리는 문제 방지 */
.univ-dept-search [hidden] {
display: none;
}
/* 요약 박스 */
.univ-dept-search__summary {
border: 1px solid var(--primary);
background: #e5f7f7;
border-radius: 6px;
padding: 24px 32px;
}
.univ-dept-search__summary-title {
font-size: 20px;
font-weight: 700;
}
.univ-dept-search__summary-divider {
border-top: 1px dashed var(--primary);
margin: 16px 0;
}
.univ-dept-search__summary-row {
display: flex;
align-items: center;
gap: 16px;
}
.univ-dept-search__summary-field {
display: flex;
align-items: center;
gap: 12px;
}
.univ-dept-search__summary-label {
font-size: 14px;
color: #8a8d8f;
}
.univ-dept-search__summary-divider-v {
width: 1px;
height: 16px;
background: #D0D1D2;
}
.univ-dept-search__summary-divider-v--last {
margin-left: auto;
}
.univ-dept-search__summary-placeholder {
display: inline-flex;
background: #ccefef;
color: #008c8a;
border-radius: 4px;
padding: 4px 8px;
font-size: 16px;
font-weight: 600;
}
.univ-dept-search__pill {
background: #ccefef;
color: #008c8a;
border-radius: 4px;
padding: 4px 10px;
font-size: 14px;
font-weight: 600;
}
.univ-dept-search__pill--empty {
background: #1c1c1d;
color: #fff;
}
.univ-dept-search__icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
width: 128px;
height: 48px;
padding: 0 16px;
font-size: 16px;
font-weight: 500;
flex-shrink: 0;
}
.univ-dept-search__icon-btn:disabled {
opacity: .4;
cursor: not-allowed;
}
.univ-dept-search__icon-btn img {
width: 16px;
height: 16px;
}
/* 메인 컨테이너 */
.univ-dept-search__container {
width: 1200px;
border: 1px solid #e8e8e9;
border-radius: 8px;
padding: 24px;
}
/* 검색 섹션 */
.univ-dept-search__search-section {
background: #f3f4f4;
border-radius: 6px;
padding: 32px 24px;
margin-bottom: 24px;
}
.univ-dept-search__search-row {
display: flex;
align-items: center;
gap: 24px;
height: 48px;
}
.univ-dept-search__search-label {
width: 120px;
flex-shrink: 0;
font-size: 16px;
font-weight: 600;
color: #1c1c1d;
}
/* 대학 선택 입력창: 라벨+input+버튼이 하나의 입력창처럼 보이도록 wrap 자체를 박스로 스타일링 */
.univ-dept-search__input-wrap {
position: relative;
flex: 1;
display: flex;
align-items: center;
gap: 8px;
height: 48px;
padding: 0 40px 0 12px;
border: 1px solid #d0d1d2;
border-radius: 6px;
background: #fff;
}
.univ-dept-search__input-wrap:focus-within {
border-color: var(--primary);
}
.univ-dept-search__input-wrap--disabled {
background: #e8e8e9;
}
.univ-dept-search__input-wrap-label {
flex-shrink: 0;
font-size: 14px;
color: #6e7172;
white-space: nowrap;
}
.univ-dept-search__input-icon {
position: absolute;
right: 12px;
width: 18px;
height: 18px;
pointer-events: none;
}
.univ-dept-search__clear-btn {
position: absolute;
right: 10px;
display: flex;
align-items: center;
justify-content: center;
border: 0;
background: none;
color: #8a8d8f;
cursor: pointer;
padding: 4px;
}
.univ-dept-search__search-row-divider {
border-top: 1px dashed #d0d1d2;
margin: 32px 0;
}
.univ-dept-search__univ-input {
flex: 1;
width: 100%;
height: 100%;
border: 0;
background: transparent;
padding: 0;
font-size: 16px;
color: #1c1c1d;
}
.univ-dept-search__univ-input::placeholder {
color: #b9bbbc;
}
.univ-dept-search__univ-input:disabled {
color: #8a8d8f;
}
.univ-dept-search__dept-input-wrap {
position: relative;
flex: 1;
display: flex;
align-items: center;
height: 48px;
}
.univ-dept-search__dept-input {
flex: 1;
width: 100%;
height: 48px;
border: 1px solid #d0d1d2;
border-radius: 6px;
padding: 0 40px 0 12px;
background: #fff;
font-size: 16px;
outline: none;
}
.univ-dept-search__dept-input:focus {
border-color: var(--primary);
}
.univ-dept-search__search-divider-v {
width: 1px;
height: 48px;
background: #d0d1d2;
}
/* 카드 그리드 */
.univ-dept-search__card-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.univ-dept-search__card {
display: flex;
flex-direction: column;
gap: 20px;
background: #fff;
border: 1px solid #e8e8e9;
border-radius: 8px;
padding: 24px;
cursor: pointer;
}
.univ-dept-search__card-name {
font-size: 16px;
font-weight: 700;
color: #1c1c1d;
}
.univ-dept-search__card-code-row {
display: flex;
align-items: center;
gap: 8px;
}
.univ-dept-search__card-label {
font-size: 14px;
color: #8a8d8f;
}
.univ-dept-search__card-divider-v {
width: 1px;
height: 16px;
background: #d0d1d2;
}
.univ-dept-search__card-badge {
background: #f3f4f4;
color: #373839;
border-radius: 4px;
padding: 4px 10px;
font-size: 13px;
font-weight: 500;
}
.univ-dept-search__card.is-selected {
background: #e5f7f7;
border-color: var(--primary);
}
.univ-dept-search__card.is-selected .univ-dept-search__card-divider-v {
background: var(--primary);
}
.univ-dept-search__empty {
text-align: center;
color: #8a8d8f;
padding: 60px 0;
}