
@font-face {
    font-family: 'KyoboHand';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/KyoboHand.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


:root {
    /* Colors */
      --primary: #3C8D99;
--primary-dark: #2563eb;
--secondary: #6FCCB4;
--accent: #FFB347;
      --success: #2ECC71;
      --error: #E74C3C;
      
      /* Grays */
    --gray-100: #F9FAFB;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    
    /* Text colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-light: #FFFFFF;
    
    /* Background colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    
    /* Font sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-secondary);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 메인 컨테이너 */
.container {
    width: 100%;
    height: 100%;
    max-width: 440px;
    padding: 40px;
    text-align: center;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-y: scroll;
}

/* 로고 및 상단 정보 */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--primary); */
    /* border-radius: var(--radius-sm); */
    color: var(--text-light);
    font-weight: 700;
    font-size: var(--text-xl);
}

.logo-text {
	font-family: 'KyoboHand';
    color: var(--text-primary);
    font-size: var(--text-xl);
    font-weight: 700;
}

.tagline {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-sm);
}

.heading {
    color: var(--text-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

/* 탭 네비게이션 */
.auth-tabs {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.auth-tab {
    flex: 1;
    padding: var(--spacing-lg) var(--spacing-md);
    background: none;
    border: none;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-tertiary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary);
}

.tab-indicator {
    position: absolute;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
    width: 50%;
    transition: transform 0.3s ease;
}

.auth-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gray-200);
}

/* 탭 콘텐츠 */
.tab-content {
    position: relative;
    /* overflow: hidden; */
    height: auto; /* 또는 min-height: 100vh */
        /* overflow-y: auto; */ /* 내용이 넘칠 경우 스크롤 허용 */
}

.tab-pane {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tab-pane.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

/* 혜택 강조 상자 */
.benefit-box {
    background-color: var(--primary-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    text-align:left;
}

.benefit-text {
    color: var(--primary);
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.benefit-categories {
    color: var(--primary);
    font-size: var(--text-sm);
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.benefit-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 60px;
    opacity: 0.1;
    color: var(--primary);
}

.login-intro {
    margin-bottom: var(--spacing-lg);
}

.login-benefit {
    background-color: var(--primary-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    font-weight: 500;
    text-align: center;
    font-size: var(--text-sm);
}

/* 폼 스타일 */
.form-group {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 109, 233, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    margin-top: var(--spacing-md);
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.submit-btn:disabled {
    background-color: var(--gray-400);
    cursor: not-allowed;
}
#signup-content > p > a{
	color:var(--primary);
	
}
/* 구분선 */
.divider {
    display: flex;
    align-items: center;
    margin: var(--spacing-xl) 0;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.divider::before, 
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--gray-200);
}

.divider::before {
    margin-right: var(--spacing-md);
}

.divider::after {
    margin-left: var(--spacing-md);
}

/* 소셜 로그인 버튼 */
.social-btn {
    width: 100%;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: all 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon {
    width: 20px;
    height: 20px;
    margin-left: var(--spacing-lg);
}

.social-btn span {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 500;
}

.kakao-btn {
    background-color: #FEE500;
    color: rgba(0, 0, 0, 0.85);
}

.google-btn {
    background-color: white;
    color: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--gray-300);
}

.naver-btn {
    background-color: #03C75A;
    color: white;
}

.apple-btn {
    background-color: black;
    color: white;
}

/* 에러 메시지 */
.error-message {
    color: var(--error);
    font-size: var(--text-sm);
    margin-top: var(--spacing-sm);
    display: none;
}

/* 서비스 둘러보기 옵션 */
.guest-option {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.about-link {
    display: inline-flex;
    flex-direction: column;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-link:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.about-link-text {
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.about-link-description {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

/* 도움말 링크 */
.help-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.help-link {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.help-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 로딩 스피너 */
/* Loading Indicator */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-200);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 컨피덴셜 정보 */
.confidential {
    margin-top: var(--spacing-md);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* 반응형 스타일 */
@media (max-width: 480px) {
    .container {
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
        height: auto; /* 또는 min-height: 100vh */
        overflow-y: auto; /* 내용이 넘칠 경우 스크롤 허용 */
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .tab-content {
        flex: 1;
    }
    
    .help-links {
        margin-top: auto;
        padding-top: var(--spacing-xl);
    }
}