@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

* {
    font-family: 'Pretendard';
}
ㄴ
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox  */
input[type='number'] {
    -moz-appearance: textfield;
}

body {
    position: relative;
    margin: 0;
    height: 100vh;
}

section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.yigam-logo-container {
    width: 100%;
    max-width: 11rem;
    margin: 0 auto;
}

.yigam-logo-container img {
    width: 100%;
}

.social-login-container,
.student-doc-container {
    margin: 0 auto;
    padding: 0 3rem 3.25rem 3rem;
    max-width: 30rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
span,
p {
    word-break: keep-all;
}

.social-login-title-container,
.student-doc-title-container {
    width: 100%;
    max-width: 22.375rem;
    margin: 0 auto;
    padding: 1.25rem 0;
}

.student-doc-body-container {
    width: 100%;
    max-width: 22.375rem;
    margin: 0 auto;
    padding: 0;
}

.social-login-title-container h1,
.student-doc-title-container h1 {
    margin: 1.5rem 0 0.5rem 0;
    color: var(--gray-100, #353C49);
    font-family: Pretendard;
    font-size: 1.65rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.social-login-title-container p,
.student-doc-title-container p {
    margin: 0;
    color: var(--gray-80, #6c727a);
    font-family: Pretendard;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.social-login-btn-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 22.375rem;
}

.social-login-btn-container button {
    display: flex;
    justify-content: center;
    padding: 1rem 6.4375rem 1rem 1rem;
    align-items: center;
    gap: 5rem;
    border-radius: 0.4rem;
    border: none;
    cursor: pointer;
}

.social-login-btn-container .btn {
    text-align: center;
    font-family: Pretendard;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.social-login-btn-container .kakao-login-btn {
    background: #FEE500;
    color: #181600;
}

.social-login-btn-container .naver-login-btn {
    background: #03C75A;
    color: #FFF;
}

.social-login-btn-container .goggle-login-btn {
    background-color: #FFF;
    border: 1px solid #4285F4;
    color: #4285F4;
}

.social-login-btn-container .apple-login-btn {
    background-color: #FFF;
    border: 1px solid #1C1C1B;
    color: #1C1C1B;
}

.kakao-login-btn img {
    width: 1.5rem;
}

footer {
    width: 100%;
    margin: 0 auto;
    max-width: 30rem;
    text-align: center;
}

.copyright {
    display: block;
    color: #6c727a;
    font-weight: 300;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    text-decoration: none;
}

.student-doc-body-container .custom-input {
    width: 100%;
    padding: 0.95rem 0 1rem;
    font-size: 1rem;
    line-height: 1.25rem;
    color: #191919;
    background-color: transparent;
    letter-spacing: 0;
    box-sizing: border-box;
    outline: 0 none;
    caret-color: #191919;
    opacity: 1;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.student-doc-body-container .custom-input:nth-child(2) {
    margin-top: 0.75rem;
}

.student-doc-body-container .custom-input:active,
.student-doc-body-container .custom-input:focus {
    border-bottom: 1px solid rgba(0, 0, 0, .9);
}

.custom-input::placeholder {
    color: #abb4bd;
}

.custom-input::-webkit-input-placeholder {
    color: #abb4bd;
}

.custom-input:-ms-input-placeholder {
    color: #abb4bd;
}

.tip-explain {
    margin-bottom: 0.5rem;
    color: var(--gray-100, #6c727a);
    font-family: Pretendard;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
}

.tip-explain b {
    color: #7f56d9;
}

.send-btn {
    margin-top: 0.5rem;
    width: 100%;
    height: 3.125rem;
    border-radius: 0.5rem;
    border: 1px solid #7f56d9;
    background: var(--Brand-600, #7F56D9);
    color: var(--Base-White, #FFF);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
}


input[type=checkbox] {
    display: none;
}

input[type=checkbox]+label {
    display: inline-block;
    cursor: pointer;
    padding-left: 0px;
    background: url('../img/checkbox-off.png') left/22px no-repeat;
    font-size: 28px;
    font-weight: 500;
    background-size: 25px;
    color: #1F1F27;
    height: 45px;
    margin-top: -1rem;
}

input[type=checkbox]:checked+label {
    background-image: url('../img/checkbox-on.png');
}

.checkbox-text {
    font-size: 1rem;
    color: #353c49;
}

.privacy-radio-btn,
.privacy-radio-btn a {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 0.55rem;
    margin-top: 0.85rem;
}

.privacy-radio-btn a {
    text-decoration: underline;
    text-underline-position: under;
    cursor: pointer;
}

.privacy-radio-btn a:hover,
.privacy-radio-btn a:active,
.privacy-radio-btn a:focus {
    color: #8831f6;
}

.privacy-radio-btn .checkbox-text {
    font-family: Pretendard;
    font-size: 1rem;
    font-weight: 400;
    color: #4e5968;
    text-decoration: none;
}

/* ========== modal ========== */
.modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(12, 17, 29, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.4s ease;
}

.modal-content {
    margin: 0 1rem;
    background-color: #fefefe;
    border-radius: 0.75rem;
    width: 100%;
    max-width: 48rem;
    box-shadow: 0px 0px 12px 0px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
}

.max-h-55-rem {
    max-height: 55rem;
}

.modal-header {
    align-items: center;
    padding: 1.5rem;
}

.top-wrapper {
    display: flex;
}

.modal-header .top-wrapper .type {
    flex: 1;
    color: var(--Brand-700, #6941C6);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
    padding-left: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.modal-header .title {
    color: var(--Gray-900, #101828);
    text-align: center;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.045rem;
    margin-top: 0.5rem;
}

.btn-close-modal {
    cursor: pointer;
}

.modal-body {
    padding: 0 1.5rem 0 1.5rem;
    height: calc(100vh - 20rem);
    overflow-y: scroll;
}

.modal-body .sub-title {
    color: var(--Gray-900, #101828);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem;
    margin-top: 2rem;
}

.modal-body .sub-title:nth-child(1) {
    margin-top: 0;
}

.modal-body p {
    color: var(--Gray-600, #6c727a);
    font-family: Pretendard;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    margin-top: 0.5rem;
}

.modal-footer {
    display: flex;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem;
    align-self: stretch;
}


/* ========== button ========== */
.btn-primary {
    width: 100%;
    max-width: 25rem;
    height: 3.125rem;
    border-radius: 0.5rem;
    border: 1px solid var(--Brand-600, #7F56D9);
    background: var(--Brand-600, #7F56D9);
    color: var(--Base-White, #FFF);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
}

.btn-primary:hover {
    border-radius: 0.5rem;
    border: 1px solid var(--Brand-700, #6941C6);
    background: var(--Brand-700, #6941C6);
    outline: none;
}

.btn-primary:focus,
.btn-primary:active {
    border-radius: 0.5rem;
    border: 1px solid var(--Brand-700, #53389E);
    background: var(--Brand-800, #53389E);
    outline: none;
}

.btn-primary:disabled {
    border-radius: 0.5rem;
    border: 1px solid var(--Brand-700, #EAECF0);
    background: var(--Gray-200, #EAECF0);
    color: var(--Gray-400, #98A2B3);
    font-size: 1rem;
    font-style: normal;
}

.btn-assistive {
    width: 100%;
    max-width: 25rem;
    height: 3.125rem;
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);
    color: var(--Gray-700, #344054);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    transition: all 0.7s;
}

.btn-assistive:hover {
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-50, #F9FAFB);
    color: var(--Gray-700, #344054);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
}

.btn-assistive:focus,
.btn-assistive:active {
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-100, #F2F4F7);
    color: var(--Gray-700, #344054);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
}

.btn-assistive:disabled {
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-200, #EAECF0);
    color: var(--Gray-400, #98A2B3);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    transition: all 0.7s;
    opacity: 1;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: -1.15rem;
    margin-left: 2rem;
}

.checkbox-container svg {
    margin-top: 0.15rem;
    margin-left: 0.25rem;
}

.pulse:hover,
.pulse:focus,
.pulse:active {
    color: #fff;
    animation: pulse 1s;
    box-shadow: 0 0 0 2em transparent;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--hover);
    }
}

.pulse {
    --color: #6941C6;
    --hover: #D6BBFB;
}

/* ========== modal-alert [START] ========== */
.modal-alert-background {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 17, 29, 0.30);
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.modal-alert {
    margin: 0 1rem;
    background-color: #fefefe;
    border-radius: 0.75rem;
    width: 100%;
    max-width: 25rem;
    box-shadow: 0px 0px 12px 0px rgba(16, 24, 40, 0.12);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.modal-alert .title {
    color: var(--Gray-700, #344054);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem;
    margin: 0;
}

.modal-alert .explant {
    color: var(--Gray-600, #475467);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    margin: 0.5rem 0 1.5rem 0;
}

.modal-alert .btn-wrapper {
    display: flex;
    justify-content: end;
}

.modal-alert .btn-wrapper.long button {
    max-width: 100%;
}

.modal-alert .btn-wrapper button {
    max-width: 5rem;
    padding: 0.75rem 1.125rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
}

.gap-0-5-rem {
    gap: 0.5rem;
}

.student-code-template-img-conatiner {
    margin: 0 0 1rem 0;
    width: 100%;
    max-width: 11rem;
}

.student-code-template-img-conatiner img {
    width: 100%;
}

/* ========== modal-alert [END] ========== */

@media (max-width: 767px) {

    .social-login-title-container h1,
    .student-doc-title-container h1 {
        margin: 1rem 0 0.5rem 0;
    }

    .social-login-container,
    .student-doc-container {
        margin: 0 auto;
        padding: 0 0 1.5rem 0;
        border: none;
    }

    .yigam-logo-container {
        max-width: 9rem;
    }

    .social-login-title-container,
    .student-doc-title-container,
    .student-doc-body-container {
        padding: 0 0 1.25rem 0;
    }

    .copyright {
        margin-top: 0;
    }
}
