@charset "UTF-8";

/* ==========================================================================
   화천(HWACHEON) Login
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff !important;
    color: #111111;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.login-main-container {
    width: 100%;
    min-height: calc(100vh - 4.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4.5rem;
    box-sizing: border-box;
    background-color: #ffffff;
}

.login-section {
    width: 100%;
    padding: 4rem 0 6rem;
}

.max-layout-width-large {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
    box-sizing: border-box;
}

/* ──────────────────────────────────────────────────────────────────────────
   1. 대형 2열 그리드 레이아웃
   ────────────────────────────────────────────────────────────────────────── */
.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    justify-items: center;
}

.login-brand-logo-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-hero-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.brand-hero-logo:hover {
    transform: scale(1.02);
}

.login-form-box {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-category-tag {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #888888;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.login-title {
    font-family: 'Jost', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0 0 1rem 0;
}

.login-desc {
    font-size: 1.05rem;
    color: #555555;
    margin: 0 0 3rem 0;
    word-break: keep-all;
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────────────
   2. 공식 가이드라인 준수 SNS 로그인 버튼
   ────────────────────────────────────────────────────────────────────────── */
.sns-login-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.btn-sns-login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 12px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sns-icon-wrapper {
    position: absolute;
    left: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.sns-svg-icon {
    width: 22px;
    height: 22px;
}

.sns-svg-icon.google-svg {
    width: 24px;
    height: 24px;
}

.sns-label-text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.btn-naver {
    background-color: #03C75A;
}

.btn-naver .sns-label-text {
    color: #FFFFFF;
}

.btn-naver:hover {
    background-color: #02b350;
    box-shadow: 0 8px 20px rgba(3, 199, 90, 0.28);
}

.btn-kakao {
    background-color: #FEE500;
}

.btn-kakao .sns-label-text {
    color: #000000;
}

.btn-kakao:hover {
    background-color: #fada00;
    box-shadow: 0 8px 20px rgba(254, 229, 0, 0.35);
}

.btn-google {
    background-color: #FFFFFF;
    border-color: #747775;
}

.btn-google .sns-label-text {
    color: #1F1F1F;
}

.btn-google:hover {
    background-color: #F8F9FA;
    border-color: #1f1f1f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.login-footer-info {
    margin-top: 2.8rem;
    width: 100%;
}

.info-notice {
    font-size: 0.88rem;
    color: #888888;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1199px) {
    .login-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .brand-hero-logo {
        max-width: 420px;
    }
    .login-form-box {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .login-title {
        font-size: 2.2rem;
    }
    .brand-hero-logo {
        max-width: 300px;
    }
    .btn-sns-login {
        height: 54px;
    }
    .sns-label-text {
        font-size: 0.98rem;
    }
}