/* static/css/auth.css */

/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS 변수 - 기본 테마 */
:root {
    /* 기본 색상 */
    --primary-color: #ff9a9a;
    --primary-hover: #ff7675;
    --secondary-color: #a8e6cf;
    --accent-color: #ffd93d;
    --danger-color: #ff6b6b;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --info-color: #17a2b8;
    
    /* 배경 색상 */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-main: #f8f8f8;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* 텍스트 색상 */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --text-inverse: #ffffff;
    
    /* 테두리 색상 */
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    --border-dark: #ced4da;
    
    /* 그림자 */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 4px 20px rgba(255, 154, 154, 0.4);
    
    /* 카드/모달 배경 */
    --card-bg: #ffffff;
    --modal-bg: #ffffff;
    --input-bg: #ffffff;
    
    /* 상호작용 색상 */
    --hover-bg: #f8f9fa;
    --active-bg: #e9ecef;
    --focus-ring: rgba(255, 154, 154, 0.25);
    --selection-bg: rgba(255, 154, 154, 0.2);
    
    /* 그라디언트 */
    --gradient-primary: linear-gradient(135deg, #ff9a9a, #ff7675);
    --gradient-secondary: linear-gradient(135deg, #a8e6cf, #4ade80);
    --gradient-background: linear-gradient(135deg, 
        rgba(255, 154, 154, 0.1) 0%, 
        rgba(168, 230, 207, 0.1) 50%, 
        rgba(255, 217, 61, 0.1) 100%);
    
    /* 반지름 */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --radius-xl: 24px;

    /* 전환 효과 */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 기본 body 스타일 */
body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    transition: all var(--transition-medium);
}

/* 스크롤바 스타일링 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-small);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 선택 영역 스타일 */
::selection {
    background: var(--selection-bg);
    color: var(--text-primary);
}

/* 인증 페이지 전용 스타일 */

/* 기본 설정 - 고정 레이아웃 (로그인용) */
.auth-body {
    height: 100vh;
    max-height: 100vh;
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
    overscroll-behavior: none;
}

/* 회원가입/계정찾기 - 스크롤 가능한 레이아웃 */
.auth-body.register-scroll-body,
.auth-body.find-scroll-body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 배경 장식 */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.floating-shape.circle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-shape.circle-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-shape.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-shape.circle-4 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.floating-shape.circle-5 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 5%;
    animation-delay: 8s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-20px) rotate(8deg);
        opacity: 0.12;
    }
}

/* 로그인용 메인 컨테이너 - 고정 크기 */
.auth-container {
    height: 100vh;
    max-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

/* 회원가입/계정찾기 컨테이너 - 통합 스타일 */
.register-container,
.find-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
}

/* 회원가입/계정찾기 메인 카드 */
.register-main-card,
.find-main-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 메인 카드 스크롤바 숨김 */
.register-main-card::-webkit-scrollbar,
.find-main-card::-webkit-scrollbar {
    display: none;
}

.register-main-card::before,
.find-main-card::before {
    display: none;
}

/* 브랜딩 섹션 - 스크롤 반응 제거, 고정 위치 */
.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    justify-content: center;
    position: static;
    height: 100%;
    max-height: 100%;
}

.brand-logo {
    margin-bottom: 40px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(255, 154, 154, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-icon ion-icon {
    font-size: 60px;
    color: white;
    z-index: 1;
    position: relative;
    animation: flame-glow 2s ease-in-out infinite alternate;
}

@keyframes flame-glow {
    0% { 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
        transform: scale(1.05);
    }
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 154, 154, 0.2);
}

.brand-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 10px 0 40px 0;
    font-weight: 400;
}

/* 서비스 특징 */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-icon ion-icon {
    font-size: 20px;
}

.feature-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* 폼 섹션 */
.auth-form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.auth-card::before {
    display: none;
}

/* 뒤로가기 버튼 */
.back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(-2px);
    box-shadow: 0 4px 15px rgba(255, 154, 154, 0.3);
}

.back-btn ion-icon {
    font-size: 20px;
    transition: all var(--transition-medium);
}

.back-btn:hover ion-icon {
    transform: translateX(-1px);
}

/* 진행률 표시 */
.progress-bar {
    background: rgba(248, 250, 252, 0.8);
    border-radius: var(--radius-medium);
    padding: 25px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 154, 154, 0.4);
}

.step.completed .step-number {
    background: var(--gradient-secondary);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-fast);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--secondary-color);
    font-weight: 600;
}

.progress-line {
    height: 2px;
    background: var(--border-light);
    position: relative;
    border-radius: 2px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 카드 헤더 */
.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-title ion-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* 회원가입 폼 스타일 */
.register-form {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
    overflow: visible;
}

.register-form::before {
    display: none;
}

/* 계정찾기 폼 스타일 */
.find-form {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
    overflow: visible;
}

.find-form::before {
    display: none;
}

/* 폼 헤더 */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

/* 단계별 폼 */
.step-form {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

.step-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 폼 그룹 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label ion-icon {
    font-size: 16px;
    color: var(--primary-color);
}

/* 입력 필드 */
.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    font-family: inherit;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--focus-ring);
    background: rgba(255, 154, 154, 0.02);
}

.form-input.error {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    background: rgba(255, 107, 107, 0.02);
}

.form-input.success {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(168, 230, 207, 0.1);
    background: rgba(168, 230, 207, 0.02);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-input:focus + .input-icon {
    color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(255, 154, 154, 0.1);
}

.password-toggle ion-icon {
    font-size: 18px;
}

/* 입력 피드백 */
.input-feedback {
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
}

.input-feedback.success {
    color: var(--secondary-color);
}

.input-feedback.error {
    color: var(--danger-color);
}

.input-feedback ion-icon {
    font-size: 14px;
}

.error-message {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.error-message.show {
    opacity: 1;
    max-height: 50px;
    margin-top: 6px;
}

/* 비밀번호 강도 */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all var(--transition-medium);
    width: 0%;
}

.strength-fill.weak {
    background: var(--danger-color);
    width: 33%;
}

.strength-fill.good {
    background: #3b82f6;
    width: 66%;
}

.strength-fill.strong {
    background: var(--secondary-color);
    width: 100%;
}

.strength-text {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* 체크박스 */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
    transition: all var(--transition-fast);
}

.checkbox-wrapper:hover {
    transform: translateX(2px);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.checkbox-custom ion-icon {
    font-size: 14px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom ion-icon {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required {
    color: var(--danger-color);
    font-weight: 600;
}

/* 약관 동의 */
.agreements {
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
}

.agreement-list {
    margin-left: 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agreement-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
    margin-left: 6px;
}

.agreement-link:hover {
    background: rgba(255, 154, 154, 0.1);
    text-decoration: underline;
}

/* 폼 옵션 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

/* 체크박스 옵션들 그룹 */
.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.forgot-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 버튼 스타일 */
.btn {
    background: none;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-medium);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    font-size: 14px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-inverse);
}

.btn-secondary:hover {
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--text-inverse);
}

.btn-danger:hover {
    filter: brightness(1.1);
}

.btn-full {
    width: 100%;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    font-size: 14px;
}

.btn-large {
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* 회원가입 버튼 - 로그인 버튼과 동일한 스타일 */
.btn-register {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    filter: brightness(1.1);
}

.btn-register .btn-text {
    transition: all var(--transition-fast);
    font-size: 16px;
    font-weight: 600;
}

.btn-register .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all var(--transition-fast);
}

/* 회원가입 버튼 로딩 상태 */
.btn-register.loading .btn-text {
    opacity: 0;
}

.btn-register.loading .btn-loading {
    opacity: 1;
}

.btn-login {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    filter: brightness(1.1);
}

.btn-login .btn-text {
    transition: all var(--transition-fast);
    font-size: 16px;
    font-weight: 600;
}

.btn-login .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all var(--transition-fast);
}

/* 로딩 상태에서 텍스트 숨기고 스피너 표시 */
.btn-login.loading .btn-text {
    opacity: 0;
}

.btn-login.loading .btn-loading {
    opacity: 1;
}

.btn-text {
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all var(--transition-fast);
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 소셜 로그인 개선 */
.social-login {
    margin: 30px 0;
}

.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-light);
    padding: 0 20px;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

/* 동그란 소셜 아이콘 버튼 */
.btn-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: white;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 빛이 지나가는 효과 */
.btn-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.btn-social-icon:hover::before {
    left: 100%;
}

/* Google 버튼 */
.btn-social-icon.google {
    border-color: var(--border-light);
    background: white;
}

.btn-social-icon.google:hover {
    background: #f5f5f5;
    border-color: var(--border-medium);
}

.google-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

/* 카카오 버튼 */
.btn-social-icon.kakao {
    background: #FEE500;
    border-color: #FEE500;
}

.btn-social-icon.kakao:hover {
    background: #FFEB3B;
    border-color: #FFEB3B;
}

.kakao-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

/* 네이버 버튼 */
.btn-social-icon.naver {
    background: #03C75A;
    border-color: #03C75A;
}

.btn-social-icon.naver:hover {
    background: #4CAF50;
    border-color: #4CAF50;
}

.naver-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

/* 이메일 인증 */
.verification-info {
    background: rgba(248, 250, 252, 0.8);
    padding: 20px;
    border-radius: var(--radius-medium);
    margin-bottom: 25px;
    border: 1px solid var(--border-light);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item ion-icon {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.email-verification {
    margin: 25px 0;
}

.verification-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
}

.code-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.code-input {
    flex: 1;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 16px;
    padding-left: 20px;
}

.btn-verify {
    background: var(--gradient-secondary);
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-verify:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 230, 207, 0.4);
}

.resend-section {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.btn-resend {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
    transition: all var(--transition-fast);
}

.btn-resend:hover {
    color: var(--secondary-color);
}

.btn-resend:disabled {
    color: var(--text-light);
    cursor: not-allowed;
    text-decoration: none;
}

.verification-success {
    text-align: center;
    padding: 30px;
    background: rgba(168, 230, 207, 0.1);
    border-radius: var(--radius-medium);
    border: 2px solid rgba(168, 230, 207, 0.3);
    margin-top: 20px;
}

.success-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    animation: success-bounce 0.6s ease-out;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.verification-success p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* 폼 버튼들 */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-buttons .btn {
    flex: 1;
}

/* 완료 섹션 */
.completion-section {
    text-align: center;
    padding: 20px;
}

.completion-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 30px;
    position: relative;
    animation: completion-glow 2s ease-in-out infinite alternate;
}

@keyframes completion-glow {
    0% { 
        box-shadow: 0 0 20px rgba(168, 230, 207, 0.4);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 0 40px rgba(168, 230, 207, 0.6);
        transform: scale(1.05);
    }
}

.completion-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.completion-section p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.welcome-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px 20px;
    border-radius: var(--radius-large);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    text-align: center;
    flex: 1;
    max-width: 180px;
    transition: all var(--transition-fast);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.completion-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

/* 인증 푸터 */
.auth-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    margin-top: 30px;
}

.signup-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.signup-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
    margin-left: 8px;
}

.signup-link:hover {
    color: var(--secondary-color);
    transform: translateX(2px);
}

.signup-link ion-icon {
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-links .divider {
    color: var(--border-medium);
    margin: 0;
}

.footer-links .divider::before {
    display: none;
}

/* 계정 찾기 전용 스타일 */
.find-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-bottom: 20px;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 154, 154, 0.3);
}

.tab-menu {
    display: flex;
    background: rgba(248, 250, 252, 0.8);
    border-radius: var(--radius-medium);
    padding: 4px;
    border: 1px solid var(--border-light);
    width: 100%;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(255, 154, 154, 0.1);
}

.tab-btn.active {
    color: var(--primary-color);
    background: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

.find-info {
    text-align: center;
    padding: 30px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: var(--radius-medium);
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin: 0 auto 20px;
}

.find-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.find-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 결과 섹션 */
.result-section {
    margin-top: 30px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-success {
    text-align: center;
    padding: 40px 30px;
    background: rgba(168, 230, 207, 0.1);
    border-radius: var(--radius-large);
    border: 2px solid rgba(168, 230, 207, 0.3);
}

.result-icon {
    font-size: 60px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: success-bounce 0.6s ease-out;
}

.result-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.found-info {
    background: white;
    padding: 25px;
    border-radius: var(--radius-medium);
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.found-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.found-item:last-child {
    border-bottom: none;
}

.found-item .label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.found-item .value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: rgba(255, 154, 154, 0.1);
    transform: scale(1.1);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.reset-form {
    margin-top: 30px;
    animation: slideUp 0.5s ease-out;
}

/* ========= 모달 스타일 ========= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 10px;
    box-sizing: border-box;
    backdrop-filter: blur(3px);
    transition: all var(--transition-medium);
}

.modal-overlay.active {
    display: flex;
    backdrop-filter: blur(8px);
}

.modal {
    background: var(--modal-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 450px;
    max-height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 24px;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.gsap-controlled {
    transition: none !important;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title ion-icon {
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-small);
    transition: all var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    margin-bottom: 16px;
    flex: 1;
    margin-right: -24px;
    padding-right: 24px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: var(--radius-small);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-small);
}

.terms-content {
    line-height: 1.6;
    color: var(--text-secondary);
}

.terms-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px 0;
}

.terms-content h4:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 12px;
    font-size: 14px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* 새로운 중앙 알림 스타일 */
.notification {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 999999;
    min-width: 320px;
    max-width: 500px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.notification.show {
    transform: translateX(-50%) translateY(20px);
    opacity: 1;
    pointer-events: auto;
}

.notification-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-large);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.notification-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    animation: notification-progress 4s linear forwards;
}

@keyframes notification-progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

.notification-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.notification-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.2;
}

.notification-icon ion-icon {
    font-size: 18px;
    color: white;
    z-index: 1;
}

.notification-success .notification-icon {
    background: var(--gradient-secondary);
}

.notification-success .notification-icon::before {
    background: var(--gradient-secondary);
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.notification-error .notification-icon::before {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.notification-info .notification-icon {
    background: linear-gradient(135deg, #4dabf7, #339af0);
}

.notification-info .notification-icon::before {
    background: linear-gradient(135deg, #4dabf7, #339af0);
}

.notification-message {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.notification-close {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: 8px;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.notification-close ion-icon {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 알림 애니메이션 개선 */
.notification-success .notification-content::before {
    background: var(--gradient-secondary);
}

.notification-error .notification-content::before {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.notification-info .notification-content::before {
    background: linear-gradient(135deg, #4dabf7, #339af0);
}

/* 반응형 알림 */
@media (max-width: 640px) {
    .notification {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        left: 20px;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(20px);
    }
    
    .notification-content {
        padding: 16px 20px;
    }
    
    .notification-message {
        font-size: 14px;
    }
}

/* 여러 알림이 동시에 나올 때 스택 효과 */
.notification:nth-child(n+2) {
    transform: translateX(-50%) translateY(-100%) scale(0.95);
    z-index: 999998;
}

.notification:nth-child(n+2).show {
    transform: translateX(-50%) translateY(80px) scale(0.95);
    opacity: 0.8;
}

.notification:nth-child(n+3) {
    transform: translateX(-50%) translateY(-100%) scale(0.9);
    z-index: 999997;
}

.notification:nth-child(n+3).show {
    transform: translateX(-50%) translateY(140px) scale(0.9);
    opacity: 0.6;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .auth-brand {
        order: 1;
        padding: 20px;
        height: auto;
        position: static;
    }
    
    .auth-form-section {
        order: 2;
    }
    
    .service-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: none;
    }
    
    .feature-item {
        flex: 1;
        min-width: 200px;
    }

    .register-container,
    .find-container {
        padding: 0 15px;
    }

    .register-main-card,
    .find-main-card {
        padding: 35px;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
        border-top: none;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 15px;
        gap: 30px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .auth-card {
        padding: 30px 25px;
        max-height: calc(100vh - 30px);
        overflow-y: auto;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06), 0 3px 12px rgba(0, 0, 0, 0.03);
    }
    
    .auth-brand {
        padding: 15px;
        height: auto;
        position: static;
        order: 1;
    }
    
    .auth-form-section {
        order: 2;
    }
    
    .brand-title {
        font-size: 36px;
    }
    
    .brand-subtitle {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 100px;
        height: 100px;
    }
    
    .logo-icon ion-icon {
        font-size: 50px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-title ion-icon {
        font-size: 28px;
    }
    
    .service-features {
        flex-direction: column;
    }
    
    .feature-item {
        min-width: auto;
    }
    
    .social-buttons {
        gap: 12px;
    }
    
    .btn-social-icon {
        width: 45px;
        height: 45px;
    }
    
    .welcome-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        max-width: 250px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .code-input-wrapper {
        flex-direction: column;
    }
    
    .completion-actions {
        max-width: none;
    }
    
    .result-actions {
        max-width: none;
    }
    
    .modal {
        width: calc(100% - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 40px) !important;
        padding: 20px;
        box-shadow: 0 6px 32px rgba(0, 0, 0, 0.2) !important;
    }
    
    .modal-body {
        max-height: calc(100vh - 160px);
    }

    .checkbox-options {
        gap: 8px;
    }
    
    .btn-login {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-register {
        padding: 14px 20px;
        font-size: 15px;
    }

    .register-container,
    .find-container {
        padding: 0 15px;
    }

    .register-main-card,
    .find-main-card {
        padding: 30px 25px;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
        border-top: none;
        border-bottom: none;
    }

    .progress-bar {
        padding: 20px;
    }

    .find-header {
        padding: 15px 0;
    }

    .tab-menu {
        padding: 3px;
    }
    
    .back-btn {
        width: 40px;
        height: 40px;
    }
    
    .back-btn ion-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .auth-card {
        padding: 25px 20px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 0, 0, 0.02);
    }
    
    .auth-brand {
        padding: 10px;
        height: auto;
        position: static;
        order: 1;
    }
    
    .auth-form-section {
        order: 2;
    }
    
    .brand-title {
        font-size: 32px;
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .logo-icon ion-icon {
        font-size: 40px;
    }
    
    .form-title {
        font-size: 22px;
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-steps {
        gap: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .form-input {
        padding: 14px 16px 14px 45px;
        font-size: 16px;
    }
    
    .btn-full {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .input-icon {
        left: 14px;
        font-size: 16px;
    }
    
    .password-toggle {
        right: 14px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .btn-social-icon {
        width: 42px;
        height: 42px;
    }
    
    .completion-icon {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .completion-section h2 {
        font-size: 28px;
    }
    
    .modal {
        padding: 16px;
        width: calc(100% - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        box-shadow: 0 3px 16px rgba(0, 0, 0, 0.1) !important;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-body {
        max-height: calc(100vh - 120px);
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .find-info {
        padding: 25px 20px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .checkbox-options {
        width: 100%;
    }
    
    .checkbox-wrapper {
        padding: 6px 0;
    }
    
    .checkbox-wrapper span {
        font-size: 13px;
    }
    
    .btn-login {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .btn-register {
        padding: 12px 18px;
        font-size: 14px;
    }

    .register-container,
    .find-container {
        padding: 0 10px;
    }

    .register-main-card,
    .find-main-card {
        padding: 25px 20px;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
        border-top: none;
        border-bottom: none;
    }

    .progress-bar {
        padding: 15px;
    }

    .find-header {
        padding: 10px 0;
    }

    .header-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .tab-menu {
        padding: 2px;
    }
    
    .back-to-home {
        top: 15px;
        left: 15px;
    }
    
    .back-btn {
        width: 36px;
        height: 36px;
    }
    
    .back-btn ion-icon {
        font-size: 16px;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shape,
    .logo-icon ion-icon,
    .completion-icon {
        animation: none !important;
    }
}

/* 플레이스홀더 텍스트 스타일 */
input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}