@charset "utf-8";

.sit-login-page {
    position: relative;
    overflow: hidden;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: #f7f8fa;
}

.sit-login-page--intro {
    isolation: isolate;
    background: radial-gradient(circle at 20% 10%, rgba(88, 104, 196, 0.28), transparent 34%), radial-gradient(circle at 80% 0%, rgba(56, 72, 150, 0.22), transparent 30%), linear-gradient(160deg, #0f1430 0%, #1a214f 38%, #22295e 100%);
}

.sit-login-page--intro .sit-intro-preparing__bg {
    z-index: 0;
}

.sit-login-page--intro .sit-login-wrap {
    position: relative;
    z-index: 1;
}

.sit-login-page--intro [data-delay] {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease var(--motion-delay, 0s), transform 0.7s ease var(--motion-delay, 0s);
}

.sit-login-page--intro.is-active [data-delay].motion_on {
    opacity: 1;
    transform: translateY(0);
}

.sit-login-page--intro .sit-login-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.sit-login-page--intro .sit-login-title {
    color: #fff;
}

.sit-login-page--intro .sit-login-desc {
    color: rgba(255, 255, 255, 0.72);
}

.sit-login-page--intro .sit-login-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.sit-login-page--intro .sit-login-label {
    color: rgba(255, 255, 255, 0.92);
}

.sit-login-page--intro .sit-login-input {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #111;
}

.sit-login-page--intro .sit-login-input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(158, 176, 255, 0.28);
}

.sit-login-page--intro .sit-login-check {
    color: rgba(255, 255, 255, 0.72);
}

.sit-login-page--intro .sit-login-submit {
    background: #fff;
    color: var(--point-color-1, #22295e) !important;
}

.sit-login-page--intro .sit-login-submit:hover,
.sit-login-page--intro .sit-login-submit:focus {
    background: #eef1ff;
    color: var(--point-color-1, #22295e) !important;
}

.sit-login-page--intro .sit-login-home {
    color: #fff;
}

.sit-login-page--intro .sit-login-subtitle,
.sit-login-page--intro .sit-login-subdesc {
    color: rgba(255, 255, 255, 0.82);
}

.sit-login-page--intro #sns_login,
.sit-login-page--intro .login-sns {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.sit-login-page--intro #sns_login h3,
.sit-login-page--intro .login-sns h3 {
    color: rgba(255, 255, 255, 0.72);
}

body.sit-login-body {
    overflow: hidden;
    background: #101632;
}

body.sit-login-body .sit-skip {
    color: #fff;
}

.sit-login-wrap {
    width: 100%;
    max-width: 440px;
}

.sit-login-head {
    margin-bottom: 28px;
    text-align: center;
}

.sit-login-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.sit-login-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}

.sit-login-title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.sit-login-desc {
    margin: 0;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
    word-break: keep-all;
}

.sit-login-card {
    padding: 28px 24px;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sit-login-card + .sit-login-card,
.sit-login-card--sub {
    margin-top: 16px;
}

.sit-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sit-login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sit-login-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #222;
}

.sit-login-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sit-login-input:focus {
    outline: none;
    border-color: #004063;
    box-shadow: 0 0 0 3px rgba(0, 64, 99, 0.12);
}

.sit-login-input::placeholder {
    color: #aaa;
}

.sit-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sit-login-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
}

.sit-login-check span {
    float: none;
    flex-shrink: 0;
}

.sit-login-link,
.sit-login-home {
    font-size: 0.875rem;
    color: #004063;
    text-decoration: none;
    word-break: keep-all;
}

.sit-login-link:hover,
.sit-login-home:hover {
    text-decoration: underline;
}

.sit-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 4px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #222;
    color: #fff !important;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sit-login-submit:hover,
.sit-login-submit:focus {
    background: #004063;
    color: #fff !important;
}

.sit-login-foot {
    margin: 20px 0 0;
    text-align: center;
}

.sit-login-subtitle {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #222;
}

.sit-login-subdesc {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

.sit-login-privacy {
    max-height: 160px;
    margin-bottom: 16px;
    padding: 12px 14px;
    overflow-y: auto;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

.sit-login-actions {
    margin-top: 8px;
}

.sit-login-page #sns_login,
.sit-login-page .login-sns {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}

.sit-login-page #sns_login h3,
.sit-login-page .login-sns h3 {
    margin: 0 0 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #666;
    text-align: center;
}

.sit-login-page #sns_login .sns-wrap,
.sit-login-page .login-sns .sns-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sit-login-page #sns_login .sns-icon,
.sit-login-page .login-sns .sns-icon {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .sit-login-page {
        justify-content: flex-start;
        padding-top: calc(32px + env(safe-area-inset-top, 0px));
    }

    .sit-login-wrap {
        max-width: none;
    }

    .sit-login-head {
        margin-bottom: 24px;
    }

    .sit-login-logo img {
        max-width: 140px;
    }

    .sit-login-title {
        font-size: 1.5rem;
    }

    .sit-login-desc {
        font-size: 0.875rem;
    }

    .sit-login-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .sit-login-input {
        height: 48px;
        font-size: 16px;
    }

    .sit-login-submit {
        min-height: 48px;
        font-size: 1rem;
    }

    .sit-login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
