@charset "utf-8";

@import("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;font-size:1.25em;font-family:pretendard, sans-serif;background:#fff;height:100%;letter-spacing:-1px;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:pretendard, sans-serif;color: #444}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}

input:focus {
    outline: none; /* 포커스 시 외곽선 제거 */
    background-color: transparent; /* 입력 시 배경색 제거 (투명하게 설정) */
}

.box {
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;    /* 수직 중앙 정렬 */
    padding: 25px 0;
    margin: 0;
    box-sizing: border-box;
}

/* 헤더와 .top을 감싸는 컨테이너 */
.box-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 컨테이너 내부 요소들을 중앙에 정렬 */
    gap: 50px; /* 헤더와 .top 사이의 간격 */
    position: relative; /* 자식 요소의 위치 기준 */
}

.header {
    align-self: flex-start; /* 컨테이너의 시작점(왼쪽)으로 정렬 */
    width: 100%; /* 컨테이너의 너비에 맞춤 */
    max-width: 600px; /* 원하는 최대 너비 설정 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    font-weight: 700;
    font-size: 20px;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .logo img {
    width: 25px;
}

/* 전체 레이아웃 */
.top {
    position: relative; /* 기준이 되는 요소 */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 상단 정렬 */
    /*padding: 20px;*/
    gap: 100px; /* 좌우 섹션 간 간격 */
    box-sizing: border-box;
}

/* 좌측 섹션 */
.left {
    max-width: 700px;
    flex: 1; /* 좌측 섹션이 더 넓어지도록 */
    display: flex;
    flex-direction: column;
    gap: 20px; /* 내부 div 간격 */
    padding-right: 40px;
}

.left h1 {
    margin-bottom: 40px;
    margin-inline: 0px;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.6em;
    color: rgba(0, 0, 0, 0.85);
    text-align: inherit;
    white-space: pre-line;
    font-style: normal;
    user-select: auto;
    word-break: break-word;
}

/* 기본 형광펜 효과 */
a.highlight {
    font-size: 23px;
    font-weight: bold;
    position: relative; /* 배경 효과를 텍스트 뒤로 보내기 위해 */
    color: rgb(0, 102, 204);
    background-color: rgb(255, 255, 0);
    padding: 1px 1px; /* 배경 여백 */
    border-radius: 2px; /* 모서리 둥글게 */
}

/* 마우스 오버 시 효과 */
a.highlight:hover {
    background-color: #ffd54f; /* 더 진한 형광색 */
    transition: background-color 0.3s ease; /* 부드러운 전환 */
}

.left div:first-of-type {
    margin-bottom: 35px;
}

.left .detail {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.75em;
    letter-spacing: -1px;
    color: #333;
}

.left a {
    font-weight: bold;
    color: #2235ec; /* 글자 색 */
}

/* 우측 섹션 */
.right {
    /*flex: 0.8; !* 우측 섹션 크기 *!*/
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 내부 콘텐츠 왼쪽 정렬 */
    gap: 20px;
}

/* 컨테이너 스타일 */
.container {
    /*background-color: #f8f8f8; !* 연한 배경색 *!*/
    font-size: 1.025rem;
    border: 1px solid #e0e0e0; /* 얇은 테두리 */
    border-radius: 8px; /* 모서리 둥글게 */
    padding: 10px 20px; /* 내부 여백 */
}

/* 항목 스타일 */
.info-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 5px; /* 상하 간격 */
}

.info-item .label {
    width: 80px;
    margin-right: 10px;
    color: #8c8c8c; /* 중간 회색 */
    display: block; /* 한 줄씩 배치 */
}

.info-item .value {
    color: #333; /* 진한 회색 */
    font-weight: bold;
    display: block; /* 한 줄씩 배치 */
}

/* 라인 */
.solid-line {
    border-bottom: 1px solid #e0e0e0;
    margin: 5px 0; /* 위아래 간격 */
}

/* 라인 */
.solid-line2 {
    border-right: 1px solid #e0e0e0;
    margin: 0 5px; /* 위아래 간격 */
}

/* 버튼 스타일 */
button {
    width: 100%;
    padding: 12px 0;
    background-color: #a8e063; /* 연한 초록색 */
    /*color: #333;*/
    font-size: 15px;
    font-weight: 900;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #82c45e; /* 진한 초록색 */
}

/* 공유하기 컨테이너 */
.share-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    gap: 10px; /* 버튼 간격 */
}

.share-container span {
    display: inline-block;
    width: 100%;
    margin: 0 20px;
    white-space: nowrap;
    color: #666; /* 텍스트 색상 */
    font-size: 14px;
    text-align: center;
}

/* 공유 아이콘 버튼 */
.share-container button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.share-container i {
    font-size: 17px;
    color: #666;
    transition: transform 0.2s ease;
}

.share-container i:hover {
    transform: scale(1.1); /* 확대 효과 */
}

/*!* 공유하기 버튼 그룹 *!*/
/*.share-container {*/
/*    display: flex;*/
/*    gap: 10px; !* 버튼 간 간격 *!*/
/*    align-items: center; !* 텍스트와 버튼을 수직 정렬 *!*/
/*}*/

/* 하단 섹션 */
.bottom {
    margin: 50px 0;
    text-align: left;
    line-height: 1.5; /* 텍스트 간격 */
}

.bottom #position {
    width: 100%;
}

.indent {
    margin-left: 30px;
    /*font-size: 0.9rem;*/
    font-size: 1.055rem;
    font-weight: 500;
    line-height: 1.75em;
    letter-spacing: -1px;
    color: #333;
}

.caution {
    font-size: 1.125rem;
}

/* 반응형 */
@media screen and (max-width: 768px) {
    .box-container {
        padding: 0 20px;
        gap: 30px;
    }
    .top {
        flex-direction: column;
        align-items: center; /* 컨테이너 내부 요소들을 중앙에 정렬 */
        gap: 0;
    }
    a.highlight {
        font-size: 20px;
    }
    .left {
        padding-right: 0;
    }
    .left h1 {
        font-size: 21px;
    }
    .bottom {
        margin: 0;
    }
    .container {
        font-size: 0.825rem;
    }
    .detail-container .checkbox-container label {
        font-size: 13px;
    }
    .left .detail {
        font-size: 0.95rem;
    }
    .indent {
        font-size: 0.95rem;
    }
}



/* 지원서 작성하기 */
.registerBody .container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 8px;*/
    border: none;
}

.registerBody header {
    /*margin-bottom: 40px;*/
    height: 100%;
    max-width: 1200px;
    margin: 0 auto 55px auto;
}

.registerBody header .back-button {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    display: inline-block;
    margin-bottom: 10px;
}

.registerBody header h1 {
    font-size: 24px;
    margin: 10px 0;
}

.registerBody header p {
    font-size: 14px;
    color: #666;
}

.registerBody section:nth-child(n+2) {
    margin-top: 70px;
}

.registerBody .basic-info {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 20px;
}

.registerBody h3 {
    margin-right: 5px;
}

.registerBody .basic-info .red {
    color: red;
    font-size: 0.72rem;
    text-align: center;
}

.registerBody section h2 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #444;
}

.registerBody .applicant-info{
    display: flex;
    flex-direction: column;
}

.registerBody .applicant-info .form-group, .registerBody .question .form-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.registerBody .question .form-group {
    border-bottom: none;
}

.registerBody .applicant-info label, .registerBody .question label {
    width: 50px;
    color: #666;
}

.custom-select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.custom-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.registerBody input[type="text"],.registerBody input[type="email"] {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.registerBody input[type="text"]:focus,.registerBody input[type="email"]:focus {
    border: none;
    outline: none;
}

.registerBody .email-group {
    display: flex;
    text-align: center;
    gap: 10px;
    width: 100%;
}

.registerBody .email-group input {
    flex: 1;
}

.registerBody .applicant-info .email-check {
    display: block;
    width: auto;
    align-self: flex-end; /* 버튼을 우측으로 정렬 */
    background-color: #fff;
    padding: 5px 10px;
    color: #474747;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: normal;
}

.registerBody .email-check:hover {
    background-color: #d6eaff;
}

#emailError {
    color: red;
    display: none;
    text-align: center;
    margin-top: 10px;  /* 이메일 입력창과 에러 메시지 간의 간격 */
}

.registerBody #phone::placeholder {
    font-size: 0.825rem;
}

.submission-documents .essential{
    display: flex;              /* Flexbox 활성화 */
    align-items: center;        /* 세로 중앙 정렬 */
    text-align: center;         /* 내부 텍스트 중앙 정렬 */
}

.submission-documents .essential .red {
    color: red;
    font-size: 0.72rem;
    text-align: center;
    margin: 0 0 30px 5px;
}

.registerBody .submission-documents .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    cursor: pointer;
}

.registerBody .submission-documents label {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #444;
}

.registerBody .file-upload {
    border-radius: 4px;
    padding: 10px 20px;
    background-color: #eee;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.file-upload.dragover {
    background-color: #e8f5e9; /* 드래그 중일 때 배경 변경 */
    border-color: #4caf50; /* 초록색 테두리 */
    color: #4caf50;
}

.registerBody .file-upload p {
    margin: 5px 0;
    color: #858585;
}

.registerBody .file-upload p .fa-file-circle-plus {
    margin-right: 10px;
}

.registerBody .file-note {
    font-size: 12px;
    color: #999;
}

.registerBody .question h3 {
    font-size: 0.9rem;
}

.registerBody .agree h3 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.registerBody .agree .agree-container {
    font-size: 0.825rem;
    border: 1px solid #e0e0e0; /* 얇은 테두리 */
    border-radius: 4px; /* 모서리 둥글게 */
    margin-bottom: 55px;
}

.registerBody .agree .agree-container .solid-line {
    margin: 0;
}

.registerBody .agree .agree-container .detail-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 좌우로 배치 */
}

.registerBody .agree .agree-container .checkbox-container {
    width: 100%;
    padding: 18px 20px; /* 내부 여백 */
    display: flex;
    align-items: center;
    justify-content: space-between; /* 좌우로 배치 */
    gap: 8px; /* 간격 */
}

.registerBody .agree .agree-container .detail-container .checkbox-container {
    border-right: 1px solid #e0e0e0;
}

.registerBody .agree .agree-container .right {
    display: block;
    width: 9%;
    text-align: center;
    cursor: pointer;
}

.registerBody .agree .agree-container .right i {
    color: #444;
}

/* 기본 체크박스 숨기기 */
.checkbox-container input[type="checkbox"] {
    display: none; /* 기본 체크박스 숨기기 */
}

/* 커스텀 체크박스 스타일 */
.checkbox-container label {
    position: relative;
    cursor: pointer;
    padding-left: 28px; /* 체크박스 크기만큼 간격 추가 */
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

/* 체크박스 모양 */
.checkbox-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px; /* 부드러운 모서리 */
}

/* 체크박스 선택 시 스타일 */
.checkbox-container input[type="checkbox"]:checked + label::before {
    background-color: #4caf50; /* 선택 시 배경색 */
    border-color: #4caf50; /* 선택 시 테두리 */
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.5); /* 부드러운 그림자 */
}

/* 체크박스 체크 표시 */
.checkbox-container input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 0.25rem;
    top: 8px;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.registerBody .call {
    margin: 30px 0;
    text-align: center;
    color: #333;
}

.registerBody .call span {
    font-size: 0.875rem;
}

.registerBody .call a {
    color: #2235ec;
}

/* 모달 */
.modal {display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0,0,0,0.5);z-index: 9999;}
.modal-content {position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);background-color: white;padding: 40px;border-radius: 5px;overflow: auto;max-height: 80%; font-size: 14px;}
.modal-open {overflow: hidden;}
.close-modal {position: absolute;top: 10px;right: 10px;font-size: 72px;color: #ccc;text-decoration: none;}
.close-modal:hover {color: #000;}

@media screen and (max-width: 768px) {
    .modal-content {margin: 10% auto;padding: 10px;width: 90%;}
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding:0;
}

.modal_agree {
    display:flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
    margin:0 auto;
    background:#fff;
    border: 1px solid #02C463;
    border-radius:10px;
    padding:10px;
    font-size:18px;
    font-weight:bold;
}

.modal_agree label {
    font-size: 18px;
}

.btn_agree_close {
    background:#333;
    font-size:16px;
    color:#fff;
    padding:7px 14px 7px 14px;
    margin:0 auto;
    border-radius:6px;
    border:0;
    cursor:pointer;
}