@charset "utf-8";

/* ==========================================
   01. 기본 설정 및 배경
========================================== */

html {
    min-height: 100%;
}

body.admission-page {
    margin: 0;
    padding: 24px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient( 135deg, rgba(0, 20, 50, 0.80), rgba(0, 40, 85, 0.55) ), url("../images/login_bg.webp") center center / cover no-repeat;
    background-color: #003876;
    background-attachment: fixed;
}

.admission-page *,
.admission-page *::before,
.admission-page *::after {
    box-sizing: border-box;
}

/* ==========================================
   02. 전체 레이아웃
========================================== */

.admission-page .examMainbody {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 0;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.admission-page .admissionCard {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

/* ==========================================
   03. 상단 헤더
========================================== */

.admission-page .examHeader {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0 10px 24px;
    background: transparent;
    border: none;
}

/* ==========================================
   04. 로고 및 입학처 명칭
========================================== */

.admission-page .examHeader h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 22px;
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
}

.admission-page .examHeader h1 img {
    display: block;
    width: 60px;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    object-fit: contain;
}

.admission-page .brandText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: #ffffff;
    text-align: left;
}

.admission-page .brandKr {
    display: block;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.8px;
}

.admission-page .brandEn {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.admission-page .titleLine {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 1px;
    margin: 0 auto 22px;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.55), transparent );
}

/* ==========================================
   05. 발표 제목
========================================== */

.admission-page .examHeader h2 {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.admission-page .resultTitle {
    display: block;
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.admission-page .examHeader h2 .fontS {
    display: block;
    margin: 0;
    color: #e4edf8;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    word-break: normal;
}

/* ==========================================
   06. 콘텐츠 영역
========================================== */

.admission-page .examContent {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

/* ==========================================
   07. Glass 정보 조회 패널
========================================== */

.admission-page .searchPanel {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    padding: 35px 40px;
    background: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,15,40,0.20);
    color: #17395e;
}

/* 정보 조회 제목 */

.admission-page .formTitle,
.admission-page .searchIcon {
    display: none;
}

.admission-page .searchTitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.admission-page .searchTitleEn {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}

/* ==========================================
   08. FORM 초기화
========================================== */

.admission-page .searchPanel form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.admission-page .searchPanel fieldset {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent;
}

.admission-page fieldset legend,
.admission-page table.dataTable caption {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ==========================================
   09. 입력 테이블
========================================== */

.admission-page table.dataTable {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.admission-page table.dataTable colgroup {
    display: none;
}

.admission-page table.dataTable tbody,
.admission-page table.dataTable tbody tr,
.admission-page table.dataTable tbody th,
.admission-page table.dataTable tbody td {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
}

/* 항목별 한 줄 배치 */

.admission-page table.dataTable tbody tr {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    margin: 0 0 10px;
}

.admission-page table.dataTable tbody tr:last-child {
    margin-bottom: 0;
}

.admission-page table.dataTable tbody th {
    padding: 4px 0 0;
    color: #17395e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.admission-page table.dataTable tbody th span {
    display: block;
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}

.admission-page table.dataTable tbody td {
    min-width: 0;
}

/* ==========================================
   10. 입력란
========================================== */

.admission-page table.dataTable td > div.inputBox {
    display: block;
    width: 100% !important;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.admission-page .inputBox .inputWrap {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.admission-page .inputBox .inputWrap input[type=text] {
    display: block;
    width: 100% !important;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    background: #eaf0f6;
    border: 1px solid #d5dfeb;
    border-radius: 6px;
    color: #003876;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 600;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.admission-page .inputBox .inputWrap input[type=text]:hover {
    background: #f3f6fa;
    border-color: #a7b9cd;
}

.admission-page .inputBox .inputWrap input[type=text]:focus {
    background: #ffffff;
    border-color: #003876;
    box-shadow: 0 0 0 3px rgba(0,56,118,0.10);
}

/* 입력 예시 */

.admission-page table.dataTable .exTxt {
    display: block;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin: 4px 0 0;
    padding: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================
   11. 조회 버튼
========================================== */

.admission-page .btnGroup {
    width: 100%;
    max-width: none;
    margin: 16px 0 0;
    padding: 0;
    overflow: visible;
}

.admission-page .btnGroup a.btnType03 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 43px;
    margin: 0;
    padding: 0 35px;
    background: #003876 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: background-color 0.2s, box-shadow 0.2s;
}

/* 버튼 오른쪽 화살표 */

.admission-page .btnGroup a.btnType03::after {
    content: "→";
    position: absolute;
    right: 17px;
    font-size: 21px;
    font-weight: 400;
    transition: transform 0.2s;
}

.admission-page .btnGroup a.btnType03:hover {
    background: #12549a !important;
    box-shadow: 0 4px 12px rgba(0,56,118,0.18);
}

.admission-page .btnGroup a.btnType03:hover::after {
    transform: translateX(3px);
}

.admission-page .btnGroup a.btnType03:focus-visible {
    outline: 3px solid #80aee0;
    outline-offset: 3px;
}

/* ==========================================
   12. 안내사항
========================================== */

.admission-page .cautionBox {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 24px auto 0;
    padding: 18px 10px 0;
    background: transparent;
    border: none;
}

.admission-page .cautionBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.55), transparent );
}

.admission-page .cautionBox ol.indent {
    margin: 0;
    padding: 0;
    list-style: none;
    text-indent: 0;
}

.admission-page .cautionBox ol.indent li {
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
    list-style: none;
    text-indent: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.admission-page .cautionBox ol.indent li:last-child {
    margin-bottom: 0;
}

.admission-page .cautionBox .txtDarkBlue {
    color: #ffffff !important;
}

.admission-page .cautionBox .noticeEnglish {
    display: block;
    margin-top: 2px;
    color: #e4edf8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    word-break: normal;
}

/* ==========================================
   13. COPYRIGHT
========================================== */

.admission-page .examFooter {
    width: 100%;
    height: auto;
    margin: 40px 0 0;
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.8px;
    text-align: center;
}

/* ==========================================
   14. 높이가 낮은 PC 화면
========================================== */

@media screen and (max-height: 750px)
              and (min-width: 801px) {
    body.admission-page {
        padding: 12px 20px;
    }

    .admission-page .examHeader {
        padding-bottom: 16px;
    }

    .admission-page .examHeader h1 {
        margin-bottom: 14px;
    }

    .admission-page .searchPanel {
        padding: 25px 26px;
    }

    .admission-page .formTitle {
        margin-bottom: 12px;
    }

    .admission-page table.dataTable tbody tr {
        margin-bottom: 7px;
    }

    .admission-page .inputBox .inputWrap input[type=text] {
        height: 36px;
    }

    .admission-page .btnGroup {
        margin-top: 12px;
    }

    .admission-page .cautionBox {
        margin-top: 16px;
    }

    .admission-page .cautionBox ol.indent li {
        margin-bottom: 7px;
    }

    .admission-page .examFooter {
        padding-top: 12px;
    }
}

/* ==========================================
   15. 모바일 및 태블릿
========================================== */

@media screen and (max-width: 800px) {
    body.admission-page {
        display: block;
        padding: 22px 16px;
        background-attachment: scroll;
    }

    .admission-page .examMainbody {
        max-width: 560px;
        margin: 0 auto;
    }

    .admission-page .examHeader {
        padding: 0 0 20px;
    }

    .admission-page .examHeader h1 {
        gap: 10px;
        margin-bottom: 16px;
    }

    .admission-page .examHeader h1 img {
        width: 56px;
    }

    .admission-page .brandKr {
        font-size: 20px;
    }

    .admission-page .brandEn {
        font-size: 10px;
    }

    .admission-page .examHeader h2,
    .admission-page .resultTitle {
        font-size: 19px;
        line-height: 1.5;
    }

    .admission-page .examHeader h2 .fontS {
        font-size: 14px;
    }

    .admission-page .searchPanel {
        padding: 28px 18px;
        border-radius: 12px;
    }

    .admission-page .formTitle {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .admission-page .searchTitleEn {
        font-size: 11px;
    }

    .admission-page table.dataTable tbody tr {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
    }

    .admission-page table.dataTable tbody th {
        font-size: 14px;
    }

    .admission-page table.dataTable tbody th span {
        font-size: 11px;
    }

    .admission-page .inputBox .inputWrap input[type=text] {
        height: 42px;
    }

    .admission-page table.dataTable .exTxt {
        font-size: 11px;
    }

    .admission-page .cautionBox {
        margin-top: 20px;
        padding: 14px 4px 0;
    }

    .admission-page .cautionBox ol.indent li {
        font-size: 13px;
    }

    .admission-page .cautionBox .noticeEnglish {
        font-size: 12px;
    }

    .admission-page .examFooter {
        margin-top: 30px;
        padding: 0;
    }
}

/* ==========================================
   16. 작은 모바일 화면
========================================== */

@media screen and (max-width: 380px) {
    body.admission-page {
        padding: 18px 10px;
    }

    .admission-page .searchPanel {
        padding: 14px;
    }

    .admission-page .brandKr {
        font-size: 18px;
    }

    .admission-page .brandEn {
        font-size: 9px;
    }

    .admission-page table.dataTable tbody tr {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 8px;
    }
}

/* 17. Result page only - initial search page unchanged */

body.admission-page.result-page {
    display: block;
    padding: 28px 20px;
}

.admission-page.result-page .examMainbody {
    max-width: 900px;
    margin: 0 auto;
}

.admission-page.result-page .examHeader {
    padding-bottom: 24px;
}

.admission-page.result-page .examContent {
    color: #243b55;
}

.admission-page.result-page table.dataTable {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    overflow: hidden;
    color: #243b55;
    font-size: 15px;
}

.admission-page.result-page table.dataTable colgroup {
    display: none;
}

.admission-page.result-page table.dataTable colgroup col {
    display: table-column;
    width: auto !important;
}

.admission-page.result-page table.dataTable tbody {
    display: table-row-group;
}

.admission-page.result-page table.dataTable tbody tr {
    display: table-row;
}

.admission-page.result-page table.dataTable tbody th,
.admission-page.result-page table.dataTable tbody td {
    display: table-cell;
    width: auto;
    padding: 14px 20px;
    border-bottom: 1px solid #e1e7ef;
    vertical-align: middle;
    text-align: left;
    overflow-wrap: anywhere;
}

.admission-page.result-page table.dataTable tbody th {
    width: 32%;
    background: #f1f5f9;
    color: #17395e;
    font-weight: 700;
}

.admission-page.result-page table.dataTable tbody td {
    background: #fff;
    color: #243b55;
    line-height: 1.7;
}

.admission-page.result-page table.dataTable:not(.scholarshipTable) tbody tr:last-child > * {
    border-bottom: 0;
}

.admission-page.result-page table.scholarshipTable tbody tr:last-child > td {
    border-bottom: 0;
}

.admission-page.result-page .resultInfo .onlyTxt {
    font-weight: 600;
}

.admission-page.result-page .resultInfo .lookupError {
    font-weight: 400;
    padding: 22px;
}

.admission-page.result-page .resultInfo li {
    list-style-position: inside;
}

.admission-page.result-page .cautionBox.resultNotice {
    max-width: none;
    margin: 20px 0 0;
    padding: 24px 28px;
    background: #fff;
    color: #243b55;
    border: 1px solid #dce4ed;
    border-radius: 12px;
}

.admission-page.result-page .cautionBox.resultNotice::before {
    display: none;
}

.admission-page.result-page .cautionBox.resultNotice .txtDarkBlue {
    color: #243b55 !important;
}

.admission-page.result-page .resultNotice .indent {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
}

.admission-page.result-page .resultNotice .resultHeadline {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1.4;
}

.admission-page.result-page .cautionBox.resultNotice .resultHeadline {
    color: #003876 !important;
}

.admission-page.result-page .cautionBox.resultNotice .neutralHeadline {
    color: #34465b !important;
    font-size: 21px;
}

.admission-page.result-page .cautionBox .txtpurple {
    color: #d32f2f !important;
    font-weight: 700;
}

.admission-page.result-page #introVideo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    background: #10253e;
}

.admission-page.result-page table.scholarshipTable {
    display: block;
    margin: 0 0 20px;
}

.admission-page.result-page table.scholarshipTable colgroup {
    display: none;
}

.admission-page.result-page table.scholarshipTable tbody,
.admission-page.result-page table.scholarshipTable tbody tr,
.admission-page.result-page table.scholarshipTable tbody th,
.admission-page.result-page table.scholarshipTable tbody td {
    display: block;
    width: 100%;
}

.admission-page.result-page table.scholarshipTable tbody th {
    padding: 16px 24px;
    background: #eaf0f7;
    color: #003876;
    border-bottom: 1px solid #dce4ed;
}

.admission-page.result-page table.scholarshipTable tbody td {
    padding: 24px;
    font-size: 15px;
    line-height: 1.85 !important;
}

.admission-page.result-page table.scholarshipTable td > font > b {
    font-weight: 400;
}

.admission-page.result-page table.scholarshipTable font[color=blue] {
    color: #003876;
    font-weight: 700;
}

.admission-page.result-page table.scholarshipTable font[color=red] {
    color: #a32121;
    font-weight: 700;
}

.admission-page.result-page .btnGroup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 0;
}

.admission-page.result-page .btnGroup a.btnType99,
.admission-page.result-page .btnGroup a.btnType02,
.admission-page.result-page .btnGroup a.btnType03 {
    display: flex;
    flex: 1 1 190px;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 48px;
    height: auto;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #003876 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
}

.admission-page.result-page .btnGroup a.bgOrange,
.admission-page.result-page .btnGroup a.bgSky.btnType99 {
    background: #fff !important;
    color: #003876 !important;
    border-color: #dce4ed;
}

.admission-page.result-page .btnGroup a.bgGray,
.admission-page.result-page .btnGroup a.btnType02 {
    background: #34465b !important;
}

.admission-page.result-page .btnGroup a.btnType03::after {
    content: none;
}

.admission-page.result-page .btnGroup a:hover {
    box-shadow: 0 0 0 2px #9db7d5;
}

.admission-page.result-page .btnGroup a:focus-visible {
    outline: 3px solid #9db7d5;
    outline-offset: 3px;
}

.admission-page.result-page .examFooter {
    margin: 30px 0 0;
    padding: 0;
}

/* 합격자 조회 결과 테이블 열 너비 조정 */

.admission-page.result-page table.dataTable.resultInfo colgroup {
    display: table-column-group;
}

.admission-page.result-page table.dataTable.resultInfo colgroup col:first-child {
    width: 32% !important;
}

.admission-page.result-page table.dataTable.resultInfo colgroup col:last-child {
    width: 68% !important;
}

@media screen and (max-width:800px) {
    body.admission-page.result-page {
        padding: 20px 12px;
    }

    .admission-page.result-page table.dataTable tbody th,
    .admission-page.result-page table.dataTable tbody td {
        padding: 12px;
        font-size: 14px;
    }

    .admission-page.result-page table.dataTable tbody th {
        width: 38%;
    }

    .admission-page.result-page .cautionBox.resultNotice {
        padding: 18px;
    }

    .admission-page.result-page table.scholarshipTable tbody th,
    .admission-page.result-page table.scholarshipTable tbody td {
        padding: 16px;
    }

    .admission-page.result-page .btnGroup a.btnType99,
    .admission-page.result-page .btnGroup a.btnType02,
    .admission-page.result-page .btnGroup a.btnType03 {
        flex-basis: 100%;
    }

    .admission-page.result-page table.dataTable.resultInfo colgroup col:first-child {
        width: 38% !important;
    }

    .admission-page.result-page table.dataTable.resultInfo colgroup col:last-child {
        width: 62% !important;
    }
}

@media print {
    body.admission-page.result-page {
        background: #fff !important;
        color: #000;
        padding: 0;
    }

    .admission-page.result-page .examHeader h2,
    .admission-page.result-page .examHeader h2 .fontS,
    .admission-page.result-page .brandText,
    .admission-page.result-page .examFooter {
        color: #000 !important;
    }

    .admission-page.result-page #introVideo,
    .admission-page.result-page .btnGroup {
        display: none !important;
    }

    .admission-page.result-page table.dataTable,
    .admission-page.result-page .cautionBox.resultNotice {
        box-shadow: none;
    }
}

/* 영상과 합격 안내문 사이 구분선 */

.admission-page.result-page .videoDivider {
    width: 100%;
    height: 1px;
    margin: 25px auto;
    background: linear-gradient( 90deg, transparent, rgba(0, 56, 118, 0.40), transparent );
}

/* ==========================================
   18. 외국인전형 안내문 줄바꿈 전용
========================================== */

.admission-page:not(.result-page) .cautionBox .intlNoticeItem {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    text-align: left;
}

.admission-page:not(.result-page) .cautionBox .intlNoticeNumber {
    flex-shrink: 0;
}

.admission-page:not(.result-page) .cautionBox .intlNoticeContent {
    flex: 1;
    min-width: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.admission-page:not(.result-page) .cautionBox .intlNoticeContent .noticeEnglish {
    display: block;
    margin-top: 5px;
    word-break: normal;
    overflow-wrap: break-word;
}
