/* 인증 페이지 전용 스타일 */

/* 인증 레이아웃 기본 스타일 */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.auth-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

/* 로그인/회원가입 페이지 */
.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.login-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.login-card h1 {
    text-align: center;
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.login-btn,
.register-btn,
.change-password-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.login-btn:hover,
.register-btn:hover,
.change-password-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* 비활성화된 버튼 스타일 */
.login-btn:disabled,
.register-btn:disabled,
.change-password-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.login-btn:disabled:hover,
.register-btn:disabled:hover,
.change-password-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 비밀번호 변경 페이지 */
.change-password-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.change-password-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.change-password-card h2 {
    text-align: center;
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #64748b;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link p {
    margin: 0;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 회원가입 링크 */
.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 회원가입 페이지 */
.register-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.register-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.register-card h1 {
    text-align: center;
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

/* 로그인 링크 (회원가입 페이지용) */
.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 프로필 완성 페이지 */
.complete-profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.complete-profile-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.complete-profile-card h1 {
    text-align: center;
    color: #1a202c;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

/* 진행 애니메이션 */
.progress-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 스토어 정보 그리드 */
.store-info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.store-info-label {
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.store-info-value {
    color: #1a202c;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

/* 프로필 완성 버튼 */
.complete-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.complete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.info-card {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-card p {
    margin: 0;
    color: #4c51bf;
    font-size: 14px;
    line-height: 1.6;
}

.info-card p strong {
    font-weight: 700;
}

/* 프로필 완성 페이지 */
.auth-container.profile-complete {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* 반응형 */
@media (max-width: 768px) {
    .login-container,
    .register-container,
    .complete-profile-container,
    .change-password-container {
        padding: 20px 15px;
    }
    
    .login-card,
    .register-card,
    .complete-profile-card,
    .change-password-card {
        padding: 35px 25px;
        max-width: 100%;
    }
    
    .login-card h1,
    .register-card h1,
    .complete-profile-card h1 {
        font-size: 24px;
    }
    
    .change-password-card h2 {
        font-size: 22px;
    }
    
    .store-info-grid {
        grid-template-columns: 100px 1fr;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .login-container,
    .register-container,
    .complete-profile-container,
    .change-password-container {
        padding: 15px 10px;
    }
    
    .login-card,
    .register-card,
    .complete-profile-card,
    .change-password-card {
        padding: 30px 20px;
    }
    
    .login-card h1,
    .register-card h1,
    .complete-profile-card h1,
    .change-password-card h2 {
        font-size: 20px;
    }
    
    .store-info-grid {
        grid-template-columns: 80px 1fr;
        padding: 12px;
    }
    
    .store-info-label,
    .store-info-value {
        font-size: 13px;
    }
}