/* 회원가입 페이지 기본 설정 */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* 회원가입 페이지 메인 컨텐츠 스타일 */
.main-content {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    flex: 1;
}

.header__content {
    flex: 1;
    width: 100%;
    max-width: 1456px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header__content_inner {
    display: flex;
    gap: 3rem;
    min-height: 600px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.header__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding-right: 2rem;
}

.header__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
}

.header__subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.header__benefits {
    margin-top: 2rem;
}

.benefits__title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    /* margin-bottom: 1rem; */
}

.benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits__item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
}

.benefits__icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    background-color: #6b53d3;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* 다이아몬드 등급 - 다이아몬드 색상 (크리스탈 블루-화이트) */
/* .diamond-grade .benefits__icon {
    background: linear-gradient(135deg, #e8f4fd 0%, #b6e5fc 50%, #87ceeb 100%);
    border: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 2px 12px rgba(135, 206, 235, 0.4), 
                0 0 8px rgba(255, 255, 255, 0.5) inset;
} */

/* 골드 등급 - 골드 색상 */
/* .gold-grade .benefits__icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
} */

/* 실버 등급 - 실버 색상 */
/* .silver-grade .benefits__icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
} */

.header__right {
    flex: 1;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    min-width: 0; /* flexbox overflow 방지 */
    overflow: visible;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    min-width: 0; /* flexbox overflow 방지 */
}

.auth-wrapper {
    width: 100%;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.auth-links {
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: center;
}

.auth-link {
    color: #536492;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link:hover {
    text-decoration: underline;
}

.membership-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    flex: 1;
    align-items: start; /* 카드들이 위쪽 정렬되도록 */
}

.membership-card {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    min-height: 280px; /* 기본 높이 줄임 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.membership-card:hover {
    border-color: #6b53d3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.membership-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #6b53d3;
}

.membership-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.membership-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.membership-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.membership-features li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.membership-features li:last-child {
    border-bottom: none;
}

/* 이미지와 텍스트를 위한 새로운 스타일 */
.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 128px;
    height: 128px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-item span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.btn-membership {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #6b53d3;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-membership:hover {
    background: #6b53d3;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .header__content {
        padding: 0 1rem;
    }
    
    .header__content_inner {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header__content_inner {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .header__left {
        display: none; /* 모바일에서 숨김 */
    }
    
    .header__right {
        width: 100%;
        max-width: 100%;
        order: 1; /* 모바일에서 위쪽으로 이동 */
        overflow: visible;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .header__content {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .auth-container {
        max-width: 100%;
        width: 100%;
    }
    
    .auth-wrapper {
        max-width: 100% !important;
        width: 100%;
    }
    
    .auth-card {
        min-height: auto; /* 태블릿에서도 고정 높이 제거 */
    }

    .membership-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .header__content {
        padding: 0 0.5rem;
        width: 100%;
    }
    
    .header__content_inner {
        gap: 0.5rem;
        padding: 0;
        width: 100%;
    }
    
    .header__right {
        padding: 0;
        margin: 0;
    }
    
    .auth-card {
        padding: 1rem;
        min-height: auto; /* 고정 높이 제거 */
        border-radius: 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .auth-header {
        margin-bottom: 0; /* 모바일에서 margin-bottom 제거 */
    }
    
    .auth-title {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .membership-types {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .membership-card {
        padding: 1.2rem 1rem;
        min-height: 200px; /* 높이 더 줄임 */
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .membership-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-icon {
        width: 100px;
        height: 100px;
    }
    
    .feature-item {
        padding: 0 !important; /* 모바일에서 padding 제거 */
    }
    
    .btn-membership {
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .header__title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .header__subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .benefits__title {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
    }
    
    .benefits__item {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .benefits__icon {
        width: 28px;
        height: 28px;
        margin-right: 0.5rem;
    }
    
    .auth-links {
        font-size: 1rem;
        padding-top: 1rem;
    }
    
    .main-content {
        padding: 0.5rem 0;
    }
}
