.auth-page {
    min-height: calc(100vh - 112px);
    display: grid;
    place-items: center;
    padding: clamp(24px, 6vw, 64px) 0px;
}

.auth-panel {
    width: min(100%, 632px);
    background: #ffffff;
    padding: 0 16px;
}

.auth-title {
    margin-bottom: 50px;
    margin-bottom: clamp(50px, 6vw, 70px);
}

.auth-title h1 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 80px;
    margin-bottom: clamp(50px, 6vw, 80px);
}

.auth-page .btn_group {
    margin-top: 20px;
}

.auth-page .btn_group .btn_default {
    padding: 14px 0;
    font-size: 18px;
    font-weight: 700;
}

.auth-field {
    margin-bottom: 32px;
}

.auth-social {
    margin-top: 22px;
}

.auth-social-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 800;
}

.auth-social-title::before,
.auth-social-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e5e7eb;
}

.auth-social-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.auth-social-btn {
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.auth-social-btn.kakao {
    background: #fee500;
    border-color: #fee500;
}

.auth-social-btn.naver {
    background: #03c75a;
    border-color: #03c75a;
    color: #fff;
}

.auth-social-btn.apple {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.auth-terms {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.auth-terms label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
}

@media screen and (max-width: 420px) {
    .auth-social-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ──────────────────────────────────────────────
   회원가입 (공용 컴포넌트 edk_input_wrap 재사용)
   ────────────────────────────────────────────── */
.auth-signup {
    width: min(100%, 632px);
}

.auth-field2 {
    margin-bottom: 22px;
}

.auth-field2>label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.auth-field2>label .req {
    color: var(--main-color, #ff6d01);
}

/* 기본 안내 메시지 (error/complete 아닐 때 회색) */
.auth-field2 .message_input {
    color: #9e9e9e;
}

/* 우측 사이드 버튼 */
.auth-page .input_flex_area {
    align-items: center;
}

.auth-page .btn_side {
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    align-self: stretch;
}

/* 교원증 파일 칩 */
.auth-file {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    font-size: 16px;
    color: #5c6573;
    flex-direction: row-reverse;
    align-items: flex-start;
}


.auth-file .fn {
    flex: 1 1 auto;
    line-height: 1.5;
}

.auth-file .rm {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #D8D8D8;
    font-size: 20px;
    cursor: pointer;
}

/* 약관 동의 */
.auth-agree {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* 안내 박스 */
.auth-note {
    margin-top: 18px;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-note p {
    font-size: 14px;
    line-height: 1.6;
    color: #5E5E5E;
}

/* 하단 링크 */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

.auth-links a {
    position: relative;
    font-size: 14px;
    color: #9aa1ac;
    text-decoration: none;
}

.auth-links a.on {
    color: #5c6573;
    font-weight: 700;
}

.auth-links a+a::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 11px;
    background: #e5e7eb;
}

/* 약관 팝업 본문 */
.terms_doc h3 {
    margin: 18px 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.terms_doc h3:first-child {
    margin-top: 0;
}

.terms_doc p {
    font-size: 13px;
    line-height: 1.7;
    color: #5c6573;
}

.s_logo_wrap {
    max-width: 162px;
}

.find_wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 19px;
    flex-wrap: wrap;
}

.find_item {
    font-size: 16px;
    font-weight: 400;
    color: #9E9E9E;
    display: flex;
    align-items: center;
    gap: 8px;
}

.find_item img {
    width: 19px;
}

.result_find {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

.result_find strong {
    font-size: 18px;
    font-weight: 700;
}