/* ===== 웹폰트 (Pretendard) ===== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* ===== 기본 스타일 초기화 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS 변수 (Light Mode) ===== */
:root {
    /* Primary Colors */
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --primary-dark: #5541D7;
    --primary-50: #F3F2FD;
    --primary-100: #E8E6FB;
    --primary-200: #D1CDF7;

    /* Secondary & Accent */
    --secondary: #00CEC9;
    --secondary-light: #81ECEC;
    --secondary-dark: #00A8A3;
    --accent: #FD79A8;
    --accent-light: #FDAAC8;
    --accent-dark: #E84393;

    /* Status Colors */
    --success: #00B894;
    --success-light: #55EFC4;
    --success-dark: #00876A;
    --warning: #FDCB6E;
    --warning-light: #FFEAA7;
    --warning-dark: #E17B00;
    --danger: #E17055;
    --danger-light: #FAB1A0;
    --danger-dark: #C0392B;
    --info: #74B9FF;
    --info-light: #A4D0FF;
    --info-dark: #0984E3;

    /* Neutral Colors */
    --dark: #2D3436;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #404040;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #aaaaaa;
    --gray-300: #cccccc;
    --gray-200: #e0e0e0;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;
    --white: #ffffff;

    /* Background & Surface */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f4;
    --surface: #ffffff;
    --surface-hover: #f8f9fa;
    --surface-active: #f1f3f4;

    /* Text Colors */
    --text-primary: #2D3436;
    --text-secondary: #636e72;
    --text-tertiary: #b2bec3;
    --text-inverse: #ffffff;

    /* Border */
    --border-light: #e9ecef;
    --border-default: #dee2e6;
    --border-dark: #ced4da;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --gradient-secondary: linear-gradient(135deg, #00CEC9 0%, #81ECEC 100%);
    --gradient-accent: linear-gradient(135deg, #FD79A8 0%, #FDAAC8 100%);
    --gradient-dark: linear-gradient(135deg, #2D3436 0%, #636e72 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 4px 14px rgba(108, 92, 231, 0.35);
    --shadow-success: 0 4px 14px rgba(0, 184, 148, 0.35);
    --shadow-danger: 0 4px 14px rgba(225, 112, 85, 0.35);

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;

    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(108, 92, 231, 0.4);
    --focus-ring-danger: 0 0 0 3px rgba(225, 112, 85, 0.4);
    --focus-ring-success: 0 0 0 3px rgba(0, 184, 148, 0.4);
}

/* ===== 다크 모드 ===== */
[data-theme="dark"] {
    --primary: #A29BFE;
    --primary-light: #D0CDFF;
    --primary-dark: #6C5CE7;

    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #252542;
    --surface: #1a1a2e;
    --surface-hover: #252542;
    --surface-active: #2d2d4a;

    --text-primary: #f1f1f1;
    --text-secondary: #b2bec3;
    --text-tertiary: #636e72;
    --text-inverse: #2D3436;

    --border-light: #2d2d4a;
    --border-default: #3d3d5c;
    --border-dark: #4d4d6c;

    --gray-100: #1a1a2e;
    --gray-200: #252542;
    --gray-300: #3d3d5c;
    --gray-400: #5d5d7c;
    --gray-500: #7d7d9c;
    --gray-600: #9d9dbc;
    --gray-700: #bdbddc;
    --gray-800: #ddddf0;
    --gray-900: #f1f1f8;
    --white: #1a1a2e;
    --dark: #f1f1f1;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ===== 접근성: 포커스 스타일 ===== */
:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* 키보드 네비게이션을 위한 스킵 링크 */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* 스크린 리더 전용 텍스트 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 헤더 ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.logo-toon {
    color: var(--dark);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-pick {
    color: var(--primary);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* 새 로고 스타일 T∞n Pick */
.logo-t, .logo-n {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    transition: transform 0.3s ease;
}

.logo .infinity-icon {
    width: 28px;
    height: 20px;
    vertical-align: middle;
    margin: 0 -2px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* 로고 호버 효과 */
.logo:hover .logo-t,
.logo:hover .logo-n {
    animation: logoWave 0.5s ease;
}

.logo:hover .logo-pick {
    animation: logoWave 0.5s ease 0.1s;
}

.logo:hover .infinity-icon {
    animation: infinityPulse 1s ease;
    filter: drop-shadow(0 0 6px rgba(127, 191, 0, 0.6));
}

@keyframes infinityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes logoWave {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(2px); }
}

/* 로고 아이콘 */
.logo-icon {
    width: 36px;
    height: 36px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

/* 무한대 아이콘 애니메이션 */
.logo-icon .infinity-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-icon .infinity-icon {
    animation: infinityPulse 1s ease;
    filter: drop-shadow(0 0 8px rgba(127, 191, 0, 0.6));
}

@keyframes infinityPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 그라데이션 텍스트 효과 */
.logo-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 언더라인 효과 */
.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* 로고 글로우 효과 */
.logo:hover .logo-pick {
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 4px;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-text {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-primary-sm {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
}

/* ===== 히어로 섹션 ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.namu.wiki/i/lRVzR8gpdI5hnHzZuh5cZd0MlwMCnrFmPRjJfvqaTvxMaLqqIjQuHvf7_N0xscm0D2EwB0LhxkzCpFDVuq4ltA.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 60px 24px;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title .highlight {
    color: var(--yellow);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-hero-primary,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
}

/* ===== 사용자 유형 섹션 ===== */
.user-type-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark);
}

.section-title.center {
    text-align: center;
}

.user-type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.user-type-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    transition: all 0.3s;
}

.user-type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.user-type-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.user-type-card.creator .card-icon {
    background: linear-gradient(135deg, #FD79A8 0%, #FDCB6E 100%);
    color: var(--white);
}

.user-type-card.company .card-icon {
    background: linear-gradient(135deg, #6C5CE7 0%, #00CEC9 100%);
    color: var(--white);
}

.user-type-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.user-type-card > p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}

.feature-list li i {
    color: var(--success);
}

.btn-card {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s;
}

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

/* ===== 섹션 공통 ===== */
.featured-section {
    padding: 80px 0;
}

.creators-featured {
    background: var(--gray-100);
}

.jobs-featured {
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-desc {
    color: var(--gray-500);
    margin-top: 8px;
}

.btn-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.btn-more:hover {
    gap: 12px;
}

/* ===== 크리에이터 카드 ===== */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.creators-grid.large {
    grid-template-columns: repeat(3, 1fr);
}

.creator-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.creator-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.creator-card .card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.creator-card.detailed .card-image {
    height: 220px;
}

.creator-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.creator-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.card-badge.new {
    background: var(--success);
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.favorite-btn:hover,
.favorite-btn.active {
    color: var(--danger);
}

.favorite-btn.active i {
    font-weight: 900;
}

.card-content {
    padding: 20px;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.creator-avatar.large {
    width: 100px;
    height: 100px;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.creator-name {
    font-size: 16px;
    font-weight: 600;
}

.creator-role {
    font-size: 13px;
    color: var(--gray-500);
}

.creator-bio {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creator-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    padding: 4px 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    border-radius: 20px;
}

.creator-meta,
.creator-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.creator-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-outline-sm,
.btn-primary-sm {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-sm {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 채용공고 카드 ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.job-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.company-logo.studio {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 20px;
}

.company-logo.large {
    width: 80px;
    height: 80px;
}

.job-company-info {
    flex: 1;
}

.job-company-info .company-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.job-location {
    font-size: 12px;
    color: var(--gray-500);
}

.job-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

.job-badge.urgent {
    background: #FFEEF0;
    color: var(--danger);
}

.job-badge.new {
    background: #E8F8F5;
    color: var(--success);
}

.job-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.job-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    font-size: 13px;
}

.job-salary {
    color: var(--primary);
    font-weight: 600;
}

.job-deadline {
    color: var(--gray-500);
}

/* 채용공고 리스트 스타일 */
.jobs-grid-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card-large {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.job-card-large:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.job-card-left {
    flex-shrink: 0;
}

.job-card-left .company-logo {
    width: 72px;
    height: 72px;
}

.job-card-content {
    flex: 1;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.job-card-header .company-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    margin-right: 8px;
}

.bookmark-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 18px;
    transition: color 0.2s;
}

.bookmark-btn:hover,
.bookmark-btn.active {
    color: var(--primary);
}

.job-card-content .job-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.job-card-content .job-desc {
    -webkit-line-clamp: 1;
}

.job-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.job-info-row {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--gray-600);
}

.job-info-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-info-row i {
    color: var(--gray-400);
}

.job-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.job-card-actions .btn-primary,
.job-card-actions .btn-outline {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

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

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== 파트너 섹션 ===== */
.partners-section {
    padding: 60px 0;
    background: var(--gray-100);
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.partner-logo {
    height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* ===== CTA 섹션 ===== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-cta-primary,
.btn-cta-outline {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-cta-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-cta-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cta-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* 기업 CTA */
.company-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2D3436 0%, #636E72 100%);
}

.company-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.company-cta .cta-content {
    text-align: left;
    flex: 1;
}

.company-cta .cta-content h2 {
    font-size: 32px;
}

.cta-features {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.9;
}

.cta-feature i {
    color: var(--success);
}

.company-cta .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== 푸터 ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
}

/* ===== 페이지 헤더 ===== */
.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-header.jobs {
    background: linear-gradient(135deg, #00CEC9 0%, #6C5CE7 100%);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== 필터 섹션 ===== */
.filter-section {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    min-width: 120px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-bar {
    position: relative;
    width: 280px;
}

.search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-bar input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== 검색 드롭다운 (Search Dropdown) ===== */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.search-section:last-child {
    border-bottom: none;
}

.search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-section-header .clear-history-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.search-section-header .clear-history-btn:hover {
    background: var(--gray-100);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-item:hover {
    background: var(--gray-100);
}

.search-item i {
    position: static;
    transform: none;
    color: var(--gray-400);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.search-item.history-item i {
    color: var(--gray-400);
}

.search-item.suggestion-item i {
    color: var(--primary-light);
}

.search-item span {
    flex: 1;
    font-size: 14px;
    color: var(--dark);
}

.search-item mark {
    background: var(--yellow);
    color: var(--dark);
    padding: 0 2px;
    border-radius: 2px;
}

.search-item .remove-history-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0;
}

.search-item:hover .remove-history-btn {
    opacity: 1;
}

.search-item .remove-history-btn:hover {
    background: var(--gray-200);
    color: var(--danger);
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.result-subtitle {
    font-size: 12px;
    color: var(--gray-500);
}

.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--gray-500);
}

.search-empty i {
    position: static;
    transform: none;
    font-size: 32px;
    color: var(--gray-300);
}

.search-empty span {
    font-size: 14px;
    text-align: center;
}

.filter-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ===== 활성 필터 태그 (Active Filters) ===== */
.active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
}

.filter-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.15);
}

.filter-tag-label {
    color: var(--gray-500);
    font-weight: 500;
}

.filter-tag-value {
    color: var(--primary);
    font-weight: 600;
}

.filter-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag-remove:hover {
    background: var(--danger);
    color: var(--white);
}

.filter-tag-remove i {
    font-size: 10px;
}

.filter-reset-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-reset-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

.filter-reset-btn i {
    font-size: 12px;
}

.results-total {
    color: var(--gray-500);
    font-weight: 400;
    margin-left: 4px;
}

/* 모바일 필터 태그 */
@media (max-width: 768px) {
    .active-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-tags-wrapper {
        justify-content: flex-start;
    }

    .filter-reset-btn {
        justify-content: center;
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.results-count {
    font-size: 14px;
    color: var(--gray-600);
}

.sort-options {
    display: flex;
    gap: 8px;
}

.sort-btn {
    padding: 8px 16px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.2s;
}

.sort-btn:hover,
.sort-btn.active {
    color: var(--primary);
    font-weight: 600;
}

/* ===== 리스트 섹션 ===== */
.creators-list-section,
.jobs-list-section {
    padding: 40px 0 80px;
}

/* ===== 페이지네이션 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover:not(.disabled),
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: var(--gray-400);
}

/* ===== 모달 ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 포트폴리오 모달 */
.portfolio-creator-info {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.creator-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.creator-details .role {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.creator-details .bio {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-500);
}

.contact-info i {
    margin-right: 8px;
}

.portfolio-gallery h4,
.portfolio-experience h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.experience-list {
    list-style: none;
}

.experience-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 16px;
}

.exp-period {
    color: var(--gray-500);
    font-size: 13px;
    width: 100px;
    flex-shrink: 0;
}

.exp-title {
    color: var(--gray-700);
}

/* 채용 상세 모달 */
.job-detail-header {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.job-detail-info .company-name {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.job-detail-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.job-meta-detail {
    display: flex;
    gap: 20px;
    color: var(--gray-500);
    font-size: 14px;
}

.job-detail-section {
    margin-bottom: 24px;
}

.job-detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.job-detail-section p {
    color: var(--gray-600);
    line-height: 1.7;
}

.job-detail-section ul {
    list-style: none;
    color: var(--gray-600);
}

.job-detail-section li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.job-detail-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.condition-item {
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.condition-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.condition-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* 지원 폼 */
.apply-form .form-group {
    margin-bottom: 20px;
}

.apply-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.apply-form input,
.apply-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
}

.apply-form input:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload label:hover {
    border-color: var(--primary);
    background: var(--gray-100);
}

.file-upload i {
    font-size: 32px;
    color: var(--gray-400);
}

.file-upload span {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== 모바일 메뉴 ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 18px;
    color: var(--gray-600);
}

.mobile-nav {
    flex: 1;
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-mobile-login,
.btn-mobile-signup {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
}

.btn-mobile-login {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-mobile-signup {
    background: var(--primary);
    border: none;
    color: var(--white);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== 토스트 ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s;
}

.toast.active {
    transform: translateX(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .creators-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .creators-grid.large {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-type-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .company-cta {
        flex-direction: column;
        text-align: center;
    }

    .company-cta .cta-content {
        text-align: center;
    }

    .cta-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .creators-grid,
    .creators-grid.large {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card-large {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card-actions {
        width: 100%;
        flex-direction: row;
    }

    .job-card-actions button {
        flex: 1;
    }

    .filter-section {
        position: static;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .search-bar {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .condition-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .creators-grid,
    .creators-grid.large {
        grid-template-columns: 1fr;
    }

    .user-type-card {
        padding: 32px 24px;
    }

    .partners-slider {
        gap: 24px;
    }

    .partner-logo {
        height: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .portfolio-creator-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .job-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .job-meta-detail {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== 애니메이션 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creator-card,
.job-card,
.job-card-large {
    animation: fadeInUp 0.5s ease-out;
}

.creator-card:nth-child(1) { animation-delay: 0.05s; }
.creator-card:nth-child(2) { animation-delay: 0.1s; }
.creator-card:nth-child(3) { animation-delay: 0.15s; }
.creator-card:nth-child(4) { animation-delay: 0.2s; }
.creator-card:nth-child(5) { animation-delay: 0.25s; }
.creator-card:nth-child(6) { animation-delay: 0.3s; }

/* 스크롤바 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ===== 인증 모달 (로그인/회원가입) ===== */
.auth-modal {
    max-width: 440px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group label .required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.checkbox-label .bold {
    font-weight: 600;
    color: var(--dark);
}

.forgot-password {
    color: var(--gray-500);
    font-size: 13px;
}

.forgot-password:hover {
    color: var(--primary);
}

.btn-primary.full-width {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--gray-400);
    font-size: 13px;
}

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

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    background: var(--white);
    transition: all 0.2s;
}

.btn-social:hover {
    background: var(--gray-100);
}

.btn-social.kakao {
    background: #FEE500;
    border-color: #FEE500;
    color: #3C1E1E;
}

.btn-social.kakao:hover {
    background: #F5DC00;
}

.btn-social.naver {
    background: #03C75A;
    border-color: #03C75A;
    color: var(--white);
}

.btn-social.naver:hover {
    background: #02B350;
}

.btn-social.google {
    background: var(--white);
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 회원가입 타입 선택 */
.signup-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.2s;
}

.type-btn i {
    font-size: 24px;
}

.type-btn:hover {
    border-color: var(--primary-light);
}

.type-btn.active {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    color: var(--primary);
}

.form-agreements {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.checkbox-label.sub {
    padding-left: 24px;
    font-size: 12px;
}

/* ===== 플로팅 문의하기 버튼 ===== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1500;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.4);
}

.contact-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.floating-contact:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
}

.contact-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark);
}

/* 문의하기 모달 */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.contact-option:hover {
    background: var(--gray-200);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-info p {
    font-size: 14px;
    color: var(--gray-600);
}

.contact-time {
    font-size: 12px;
    color: var(--gray-500);
}

.contact-status {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
}

.contact-status.online {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.contact-form h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

/* 반응형 추가 */
@media (max-width: 480px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .contact-btn {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .contact-tooltip {
        display: none;
    }

    .signup-type-selector {
        flex-direction: column;
    }

    .type-btn {
        flex-direction: row;
        justify-content: center;
    }
}

/* ===== 마이페이지 ===== */
.mypage-main {
    padding: 40px 0 80px;
    min-height: calc(100vh - 72px);
    background: var(--gray-100);
}

.mypage-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* 사이드바 */
.mypage-sidebar {
    position: sticky;
    top: 104px;
    height: fit-content;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    overflow: visible;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-role {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.profile-stats .stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.btn-edit-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.2s;
}

.btn-edit-profile:hover {
    background: var(--gray-200);
}

.sidebar-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: var(--gray-100);
}

.sidebar-link.active {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-link .badge {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--gray-200);
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray-600);
}

.sidebar-link .badge.new {
    background: var(--primary);
    color: var(--white);
}

/* 헤더 아이콘 버튼 */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--gray-200);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--danger);
    color: var(--white);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu:hover {
    background: var(--gray-200);
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.user-menu i {
    font-size: 12px;
    color: var(--gray-500);
}

/* 마이페이지 컨텐츠 */
.mypage-content {
    min-width: 0;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-title-sm {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* 알림 배너 */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.alert-banner i {
    color: var(--primary);
    font-size: 18px;
}

.alert-banner p {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
}

.alert-banner a {
    color: var(--primary);
    font-weight: 600;
}

.alert-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

/* 퀵 스탯 */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.quick-stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.blue {
    background: rgba(0, 206, 201, 0.1);
    color: var(--secondary);
}

.stat-icon.purple {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.stat-icon.green {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.stat-icon.orange {
    background: rgba(253, 203, 110, 0.1);
    color: var(--warning);
}

.stat-info {
    flex: 1;
}

.stat-info .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.stat-info .stat-label {
    font-size: 13px;
    color: var(--gray-500);
}

.stat-change {
    font-size: 13px;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* 대시보드 그리드 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.view-all {
    font-size: 13px;
    color: var(--primary);
}

/* 제안 리스트 */
.proposal-list,
.application-list {
    padding: 0;
}

.proposal-item,
.application-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.proposal-item:last-child,
.application-item:last-child {
    border-bottom: none;
}

.company-logo-sm {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.proposal-info,
.application-info {
    flex: 1;
    min-width: 0;
}

.proposal-info h4,
.application-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.proposal-info p,
.application-info p {
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proposal-info .time {
    font-size: 12px;
    color: var(--gray-400);
}

.proposal-status,
.application-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.proposal-status.new {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.proposal-status.pending {
    background: rgba(253, 203, 110, 0.2);
    color: #b7791f;
}

.proposal-status.accepted {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.application-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.application-status.reviewing {
    color: var(--primary);
}

.application-status.reviewing .status-dot {
    background: var(--primary);
}

.application-status.interview {
    color: #b7791f;
}

.application-status.interview .status-dot {
    background: var(--warning);
}

.application-status.accepted {
    color: var(--success);
}

.application-status.accepted .status-dot {
    background: var(--success);
}

.application-status.rejected {
    color: var(--danger);
}

.application-status.rejected .status-dot {
    background: var(--danger);
}

/* 추천 채용공고 */
.recommended-jobs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.job-card-mini {
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.job-card-mini:hover {
    background: var(--gray-200);
}

.job-card-mini .job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0;
    border: none;
}

.job-card-mini .company {
    font-size: 13px;
    color: var(--gray-600);
}

.match-rate {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.job-card-mini h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-tags-mini {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.job-tags-mini span {
    padding: 3px 8px;
    background: var(--white);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gray-600);
}

.job-footer-mini {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
}

.job-footer-mini i {
    margin-right: 4px;
}

/* 필터 탭 */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-tab {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover {
    border-color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.filter-tab span {
    margin-left: 4px;
    opacity: 0.8;
}

/* 지원 카드 */
.applications-list,
.proposals-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-card,
.proposal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.proposal-card.new {
    border: 2px solid var(--primary);
}

.application-card-header,
.proposal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo-md {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 20px;
}

.company-info h3 {
    font-size: 16px;
    font-weight: 600;
}

.company-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.proposal-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.proposal-badge.new {
    background: var(--primary);
    color: var(--white);
}

.proposal-badge.pending {
    background: rgba(253, 203, 110, 0.2);
    color: #b7791f;
}

.application-card-body,
.proposal-card-body {
    padding: 20px;
}

.application-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.application-meta i {
    margin-right: 6px;
    color: var(--gray-400);
}

.application-tags {
    display: flex;
    gap: 8px;
}

.interview-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(253, 203, 110, 0.1);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #b7791f;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--success);
}

.proposal-card-body h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.proposal-message {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proposal-details {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-600);
}

.proposal-details i {
    margin-right: 6px;
    color: var(--gray-400);
}

.application-card-footer,
.proposal-card-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.btn-outline-sm.danger {
    color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-sm.danger:hover {
    background: var(--danger);
    color: var(--white);
}

/* 북마크/관심 그리드 */
.bookmarks-grid,
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 반응형 마이페이지 */
@media (max-width: 1024px) {
    .mypage-layout {
        grid-template-columns: 1fr;
    }

    .mypage-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .recommended-jobs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mypage-sidebar {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .recommended-jobs {
        grid-template-columns: 1fr;
    }

    .bookmarks-grid,
    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .application-meta,
    .proposal-details {
        flex-direction: column;
        gap: 8px;
    }

    .application-card-footer,
    .proposal-card-footer {
        flex-wrap: wrap;
    }

    .header-right .btn-icon {
        display: none;
    }

    .user-menu .user-name {
        display: none;
    }
}

/* ===== 프로필 설정 페이지 ===== */
.settings-main {
    padding: 40px 0 80px;
    min-height: calc(100vh - 72px);
    background: var(--gray-100);
}

.settings-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}

.settings-sidebar {
    position: sticky;
    top: 104px;
    height: fit-content;
}

.settings-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.settings-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s;
}

.settings-link:hover {
    background: var(--gray-100);
}

.settings-link.active {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.settings-link i {
    width: 20px;
    text-align: center;
}

.settings-content {
    min-width: 0;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.section-header-settings {
    margin-bottom: 24px;
}

.section-header-settings h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header-settings p {
    color: var(--gray-600);
    font-size: 14px;
}

.settings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.card-header-settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.card-header-settings .card-title {
    margin: 0;
    padding: 0;
    border: none;
}

/* 프로필 사진 섹션 */
.profile-photo-section {
    display: flex;
    gap: 24px;
    align-items: center;
}

.current-photo {
    position: relative;
    width: 120px;
    height: 120px;
}

.current-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.change-photo-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px;
    font-size: 12px;
    border: none;
    border-radius: 0 0 60px 60px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.current-photo:hover .change-photo-btn {
    opacity: 1;
}

.photo-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.photo-info p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* 폼 스타일 */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.settings-form .form-group {
    margin-bottom: 16px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.salary-range input {
    width: 120px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
}

/* 포트폴리오 그리드 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.btn-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-sm.danger {
    background: var(--danger);
    color: var(--white);
}

.portfolio-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.portfolio-item.add-new {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.portfolio-item.add-new:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.portfolio-item.add-new i {
    font-size: 24px;
}

/* 외부 링크 */
.external-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 18px;
}

.link-item input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-add-link {
    padding: 12px;
    background: var(--gray-100);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 경력 리스트 */
.career-list {
    display: flex;
    flex-direction: column;
}

.career-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.career-period {
    width: 100px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--gray-500);
}

.career-content {
    flex: 1;
}

.career-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.career-content p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.career-tags {
    display: flex;
    gap: 6px;
}

.career-tags span {
    padding: 3px 8px;
    background: var(--gray-100);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gray-600);
}

.career-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.career-item:hover .career-actions {
    opacity: 1;
}

/* 태그 선택기 */
.tag-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.tag-btn:hover {
    border-color: var(--primary);
}

.tag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* 소셜 계정 */
.social-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.social-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-info > div {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-size: 14px;
    font-weight: 500;
}

.social-status {
    font-size: 12px;
    color: var(--gray-500);
}

.social-status.connected {
    color: var(--success);
}

/* 위험 영역 */
.danger-zone {
    border: 1px solid var(--danger);
}

.danger-zone .card-title {
    color: var(--danger);
}

.warning-text {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.btn-danger {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--danger);
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: var(--danger);
    color: var(--white);
}

/* 토글 리스트 */
.toggle-list {
    display: flex;
    flex-direction: column;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.toggle-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.toggle-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* 토글 스위치 */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: 26px;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .slider {
    background: var(--primary);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(22px);
}

/* 구직 상태 선택 */
.job-status-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.status-option:hover {
    border-color: var(--primary-light);
}

.status-option.active,
.status-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

.status-option input {
    display: none;
}

.status-content .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.status-badge.open {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.status-badge.looking {
    background: rgba(253, 203, 110, 0.2);
    color: #b7791f;
}

.status-badge.closed {
    background: var(--gray-200);
    color: var(--gray-600);
}

.status-content p {
    font-size: 13px;
    color: var(--gray-600);
}

/* 반응형 설정 페이지 */
@media (max-width: 1024px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-sidebar {
        position: static;
    }

    .settings-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .settings-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .profile-photo-section {
        flex-direction: column;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-item {
        flex-direction: column;
        gap: 8px;
    }

    .career-period {
        width: auto;
    }

    .career-actions {
        opacity: 1;
    }
}

/* ===== 메시지 페이지 ===== */
.messages-main {
    height: calc(100vh - 72px);
    overflow: hidden;
}

.messages-container {
    display: grid;
    grid-template-columns: 320px 1fr 280px;
    height: 100%;
}

/* 대화 목록 사이드바 */
.conversations-sidebar {
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.conversations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.conversations-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.conversations-search {
    padding: 12px 16px;
    position: relative;
}

.conversations-search i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.conversations-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--gray-100);
}

.conversations-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--gray-100);
}

.conversation-item:hover {
    background: var(--gray-100);
}

.conversation-item.active {
    background: rgba(108, 92, 231, 0.1);
    border-left: 3px solid var(--primary);
}

.conversation-avatar {
    position: relative;
    flex-shrink: 0;
}

.conversation-avatar .avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 18px;
    overflow: hidden;
}

.conversation-avatar .avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-header h4 {
    font-size: 14px;
    font-weight: 600;
}

.conversation-header .time {
    font-size: 11px;
    color: var(--gray-400);
}

.last-message {
    font-size: 13px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 채팅 영역 */
.chat-area {
    display: flex;
    flex-direction: column;
    background: var(--gray-100);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.chat-user-info h3 {
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    color: var(--success);
}

.chat-actions {
    display: flex;
    gap: 8px;
}

/* 채팅 메시지 영역 */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.date-divider {
    text-align: center;
    margin: 16px 0;
}

.date-divider span {
    padding: 6px 16px;
    background: var(--gray-200);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-600);
}

.message {
    display: flex;
    gap: 12px;
    max-width: 70%;
}

.message.sent {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
    flex-shrink: 0;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message.sent .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.message.sent .message-bubble {
    background: var(--primary);
    color: var(--white);
}

.message-bubble p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-time {
    font-size: 11px;
    color: var(--gray-400);
}

/* 파일 첨부 메시지 */
.file-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-width: 240px;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: rgba(225, 112, 85, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger);
    font-size: 18px;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 13px;
    font-weight: 500;
}

.file-size {
    font-size: 11px;
    color: var(--gray-500);
}

.btn-download {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-600);
}

/* 타이핑 인디케이터 */
.typing-indicator {
    display: flex;
    gap: 12px;
    align-items: center;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

/* 메시지 입력 */
.chat-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.input-actions {
    display: flex;
    gap: 4px;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 14px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-emoji {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 18px;
    cursor: pointer;
}

.btn-emoji:hover {
    color: var(--primary);
}

.btn-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* 채팅 정보 사이드바 */
.chat-info-sidebar {
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.chat-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.chat-info-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.chat-info-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.info-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 20px;
}

.info-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 28px;
    margin: 0 auto 12px;
}

.info-profile h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-profile p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.info-section {
    margin-bottom: 20px;
}

.info-section h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.related-job {
    padding: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.related-job h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.related-job p {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.job-status {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.shared-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shared-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.shared-file i {
    color: var(--danger);
    font-size: 18px;
}

.shared-file div {
    display: flex;
    flex-direction: column;
}

.shared-file span:first-child {
    font-size: 13px;
    font-weight: 500;
}

.shared-file span:last-child {
    font-size: 11px;
    color: var(--gray-500);
}

.info-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.btn-outline-sm.full {
    width: 100%;
    justify-content: center;
}

/* 반응형 메시지 페이지 */
@media (max-width: 1200px) {
    .messages-container {
        grid-template-columns: 320px 1fr;
    }

    .chat-info-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
    }

    .conversations-sidebar {
        display: none;
    }

    .conversations-sidebar.active {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 100;
    }

    .message {
        max-width: 85%;
    }

    .chat-input {
        padding: 12px 16px;
    }

    .input-actions {
        display: none;
    }
}
/* ===== 사용자 드롭다운 메뉴 ===== */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item i {
    width: 16px;
    color: #666;
}

.dropdown-item .badge {
    background: #E17055;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* ===== 알림 드롭다운 ===== */
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.notif-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mark-all-read {
    background: none;
    border: none;
    color: #00C896;
    font-size: 13px;
    cursor: pointer;
}

.notif-list {
    max-height: 300px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s;
}

.notif-item:hover {
    background: #f9f9f9;
}

.notif-item.unread {
    background: #f0fdf4;
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon.blue { background: #e3f2fd; color: #1976d2; }
.notif-icon.green { background: #e8f5e9; color: #388e3c; }
.notif-icon.purple { background: #f3e5f5; color: #7b1fa2; }
.notif-icon.orange { background: #fff3e0; color: #f57c00; }
.notif-icon.red { background: #ffebee; color: #d32f2f; }
.notif-icon.pink { background: #fce4ec; color: #c2185b; }
.notif-icon.gray { background: #f5f5f5; color: #616161; }
.notif-icon.yellow { background: #fffde7; color: #f9a825; }

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-content p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
}

.notif-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notif-type {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-light);
    background: rgba(108, 92, 231, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.notif-time {
    font-size: 12px;
    color: #999;
}

.notif-count {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.notif-filters {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.notif-filter {
    background: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 13px;
    color: #666;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.notif-filter:hover {
    background: #eee;
}

.notif-filter.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.notif-delete {
    background: none;
    border: none;
    color: #ccc;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notif-item:hover .notif-delete {
    opacity: 1;
}

.notif-delete:hover {
    background: #ffebee;
    color: #d32f2f;
}

.notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 16px;
    color: #999;
}

.notif-empty i {
    font-size: 40px;
    color: #ddd;
}

.notif-empty span {
    font-size: 14px;
}

.notif-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 14px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-top: 1px solid #eee;
}

.notif-footer i {
    font-size: 14px;
}

.notif-footer:hover {
    background: #f9f9f9;
    color: var(--primary);
}

/* ===== 커뮤니티 페이지 ===== */
.community-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
}

.community-tabs .tabs {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
}

.community-tabs .tab-btn {
    padding: 10px 20px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.community-tabs .tab-btn:hover {
    background: var(--gray-200);
}

.community-tabs .tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.community-content {
    padding: 32px 0;
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.posts-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.write-section {
    display: flex;
    gap: 16px;
    align-items: center;
}

.write-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
}

.write-section .search-bar {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.write-section .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.hot-posts {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.hot-posts h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--dark);
}

.hot-posts h3 i {
    color: #ff6b6b;
}

.post-list.hot .post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.post-list.hot .post-item:last-child {
    border-bottom: none;
}

.post-category {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.post-category.tip { background: #fff3cd; color: #856404; }
.post-category.qna { background: #d4edda; color: #155724; }
.post-category.recruit { background: #cce5ff; color: #004085; }
.post-category.free { background: #e2e3e5; color: #383d41; }
.post-category.portfolio { background: #f8d7da; color: #721c24; }

.post-list.hot .post-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-list.hot .post-title:hover {
    color: var(--primary);
}

.post-list.hot .post-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
}

.post-list.hot .post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recent-posts {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.recent-posts .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recent-posts h3 {
    font-size: 18px;
    color: var(--dark);
}

.recent-posts .sort-options {
    display: flex;
    gap: 8px;
}

.recent-posts .sort-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    font-size: 13px;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.recent-posts .sort-btn:hover {
    background: var(--gray-100);
}

.recent-posts .sort-btn.active {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: 600;
}

.recent-posts .post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-card {
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.post-card:hover {
    background: #f0f0f5;
    transform: translateY(-2px);
}

.post-card .post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.post-card .post-time {
    font-size: 12px;
    color: var(--gray-500);
}

.post-card .post-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: block;
}

.post-card .post-title:hover {
    color: var(--primary);
}

.post-card .post-preview {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar i {
    font-size: 12px;
    color: var(--gray-500);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.post-stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-500);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 커뮤니티 사이드바 */
.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--dark);
}

.sidebar-card h4 i {
    color: var(--primary);
}

.keyword-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keyword-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.keyword-list .rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.keyword-list .rank.up { background: #ffe5e5; color: #ff4757; }
.keyword-list .rank.down { background: #e3f2fd; color: #1976d2; }
.keyword-list .rank.same { background: var(--gray-100); color: var(--gray-600); }
.keyword-list .rank.new { background: #e8f5e9; color: #4caf50; }

.recruit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recruit-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.recruit-list a {
    font-size: 13px;
    color: var(--gray-700);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.recruit-list a:hover {
    color: var(--primary);
}

.recruit-status {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    background: #e8f5e9;
    color: #388e3c;
    flex-shrink: 0;
}

.recruit-status.urgent {
    background: #ffebee;
    color: #c62828;
}

.recruit-status.closing {
    background: #fff3e0;
    color: #e65100;
}

.sidebar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px;
    font-size: 13px;
    color: var(--primary);
    border-radius: var(--radius-sm);
}

.sidebar-more:hover {
    background: var(--gray-100);
}

.ranking-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-badge {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
}

.rank-badge.gold { background: linear-gradient(135deg, #ffd700, #ffb700); color: #fff; }
.rank-badge.silver { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #fff; }
.rank-badge.bronze { background: linear-gradient(135deg, #cd7f32, #b8722c); color: #fff; }

.rank-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.rank-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-200);
}

.rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-user span {
    font-size: 14px;
    font-weight: 500;
}

.rank-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice-list li a {
    font-size: 13px;
    color: var(--gray-700);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.notice-list li:last-child a {
    border-bottom: none;
}

.notice-list li a:hover {
    color: var(--primary);
}

/* 커뮤니티 반응형 */
@media (max-width: 1024px) {
    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .community-sidebar {
        grid-template-columns: 1fr;
    }

    .write-section {
        flex-direction: column;
    }

    .write-btn {
        width: 100%;
        justify-content: center;
    }

    .write-section .search-bar {
        width: 100%;
    }

    .post-list.hot .post-item {
        flex-wrap: wrap;
    }

    .post-list.hot .post-meta {
        width: 100%;
        margin-top: 8px;
    }
}

/* ===== 언어 선택기 (Language Selector) ===== */
.language-selector {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.current-lang:hover {
    background: var(--gray-200);
}

.language-selector.active .current-lang {
    background: var(--gray-200);
}

.current-lang .lang-flag {
    font-size: 18px;
    line-height: 1;
}

.current-lang .lang-code {
    color: var(--gray-700);
    font-size: 13px;
}

.current-lang i {
    font-size: 10px;
    color: var(--gray-500);
    transition: transform 0.2s ease;
}

.language-selector.active .current-lang i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--gray-100);
}

.lang-option.active {
    background: var(--primary);
    color: var(--white);
}

.lang-option.active:hover {
    background: var(--primary-dark);
}

.lang-option .lang-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-option .lang-name {
    font-size: 14px;
    font-weight: 500;
}

/* 헤더 오른쪽에 언어 선택기 배치 */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 모바일 언어 선택기 */
.mobile-lang-selector {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-lang-selector .lang-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mobile-lang-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-lang-options .lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-lang-options .lang-btn:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

.mobile-lang-options .lang-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.mobile-lang-options .lang-btn .lang-flag {
    font-size: 16px;
}

/* 반응형 - 모바일에서 헤더 언어 선택기 숨김 */
@media (max-width: 768px) {
    .header-right .language-selector {
        display: none;
    }
}

/* ===== 다크 모드 토글 버튼 ===== */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-normal);
}

.theme-toggle:hover {
    color: var(--gray-900);
}

.theme-toggle .theme-text::before {
    content: 'Light';
}

[data-theme="dark"] .theme-toggle {
    color: var(--gray-400);
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--gray-100);
}

[data-theme="dark"] .theme-toggle .theme-text::before {
    content: 'Dark';
}

/* ===== 언어 선택기 간소화 ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-normal);
}

.lang-toggle:hover {
    color: var(--gray-900);
}

.lang-toggle .lang-code {
    font-weight: 600;
}

.lang-toggle i {
    font-size: 10px;
    transition: transform var(--transition-normal);
}

.language-selector.active .lang-toggle i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.lang-option.active {
    color: var(--primary);
    font-weight: 600;
}

[data-theme="dark"] .lang-toggle {
    color: var(--gray-400);
}

[data-theme="dark"] .lang-toggle:hover {
    color: var(--gray-100);
}

[data-theme="dark"] .lang-dropdown {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
}

[data-theme="dark"] .lang-option {
    color: var(--gray-300);
}

[data-theme="dark"] .lang-option:hover {
    background: var(--gray-700);
    color: var(--white);
}

/* ===== 버튼 인터랙션 강화 ===== */
.btn-primary,
.btn-primary-sm,
.btn-cta-primary {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn-primary:hover,
.btn-primary-sm:hover,
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-primary:active,
.btn-primary-sm:active,
.btn-cta-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 버튼 리플 이펙트 */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* 아웃라인 버튼 인터랙션 */
.btn-outline,
.btn-outline-sm,
.btn-cta-outline {
    transition: all var(--transition-normal);
}

.btn-outline:hover,
.btn-outline-sm:hover,
.btn-cta-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline:active,
.btn-outline-sm:active,
.btn-cta-outline:active {
    transform: translateY(0);
}

/* 아이콘 버튼 인터랙션 */
.btn-icon {
    transition: all var(--transition-normal);
}

.btn-icon:hover {
    background: var(--gray-100);
    transform: scale(1.1);
}

.btn-icon:active {
    transform: scale(0.95);
}

/* ===== 카드 인터랙션 강화 ===== */
.creator-card,
.job-card,
.job-card-large,
.user-type-card {
    transition: all var(--transition-normal);
}

.creator-card:hover,
.job-card:hover,
.job-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.user-type-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* 카드 포커스 상태 */
.creator-card:focus-within,
.job-card:focus-within,
.job-card-large:focus-within {
    box-shadow: var(--focus-ring), var(--shadow-md);
}

/* ===== 폼 검증 및 에러 상태 ===== */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-label.required::after {
    content: '*';
    color: var(--danger);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all var(--transition-fast);
    background: var(--surface);
    color: var(--text-primary);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--border-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
    outline: none;
}

/* 성공 상태 */
.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
    border-color: var(--success);
}

.form-input.is-valid:focus,
.form-select.is-valid:focus,
.form-textarea.is-valid:focus {
    box-shadow: var(--focus-ring-success);
}

/* 에러 상태 */
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: var(--danger);
    background: rgba(225, 112, 85, 0.05);
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
    box-shadow: var(--focus-ring-danger);
}

/* 에러 메시지 */
.form-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger);
    animation: shake 0.3s ease;
}

.form-error i {
    font-size: 14px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 성공 메시지 */
.form-success {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--success);
}

/* 도움말 텍스트 */
.form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* 입력 필드 아이콘 */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.input-with-icon .form-input {
    padding-left: 44px;
}

.input-with-icon .form-input:focus + .input-icon,
.input-with-icon:focus-within .input-icon {
    color: var(--primary);
}

/* ===== 스켈레톤 로더 ===== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 12px;
    width: 70%;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: var(--radius-md);
}

/* 스켈레톤 카드 */
.skeleton-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.skeleton-card .skeleton-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.skeleton-card .skeleton-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== 로딩 스피너 ===== */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 버튼 로딩 상태 */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* 전체 페이지 로딩 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow);
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== 스크롤 애니메이션 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 순차적 애니메이션 딜레이 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== 이미지 레이지 로딩 ===== */
.lazy-image {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.lazy-image.loaded {
    opacity: 1;
}

.image-placeholder {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.image-placeholder i {
    font-size: 32px;
}

/* ===== 링크 인터랙션 ===== */
.nav-link {
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== 툴팁 ===== */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 8px 12px;
    background: var(--gray-900);
    color: white;
    font-size: 13px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-tooltip);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--gray-900);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ===== 배지 ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-dark);
}

.badge-success {
    background: var(--success-light);
    color: var(--success-dark);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger-dark);
}

.badge-info {
    background: var(--info-light);
    color: var(--info-dark);
}

/* ===== 반응형 개선 ===== */
@media (max-width: 768px) {
    /* 터치 친화적 버튼 크기 */
    .btn-primary,
    .btn-outline,
    .btn-primary-sm,
    .btn-outline-sm {
        min-height: 44px;
        min-width: 44px;
    }

    /* 카드 호버 비활성화 (모바일) */
    .creator-card:hover,
    .job-card:hover,
    .job-card-large:hover {
        transform: none;
    }

    /* 터치 피드백 */
    .creator-card:active,
    .job-card:active,
    .job-card-large:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* 스켈레톤 이미지 높이 조정 */
    .skeleton-image {
        height: 150px;
    }

    /* 폼 인풋 크기 */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* iOS 줌 방지 */
        padding: 14px 16px;
    }
}

/* ===== 고대비 모드 (접근성) ===== */
@media (prefers-contrast: high) {
    :root {
        --border-default: #000;
        --text-primary: #000;
        --text-secondary: #333;
    }

    .btn-primary,
    .btn-outline {
        border-width: 2px;
    }
}

/* ===== 모션 감소 모드 (접근성) ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
    }
}

/* ===== 역할 전환 시스템 ===== */
.role-switcher {
    margin-top: 20px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .role-switcher {
    background: var(--gray-800);
}

.role-switcher-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-toggle-container {
    display: flex;
    gap: 8px;
    background: var(--white);
    padding: 4px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .role-toggle-container {
    background: var(--gray-700);
}

.role-toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.role-toggle-btn:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

[data-theme="dark"] .role-toggle-btn:hover {
    background: var(--gray-600);
}

.role-toggle-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.role-toggle-btn i {
    font-size: 16px;
}

.add-role-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    background: transparent;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-role-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
}

[data-theme="dark"] .add-role-btn {
    border-color: var(--gray-600);
}

[data-theme="dark"] .add-role-btn:hover {
    border-color: var(--primary);
}

/* ===== 기업 대시보드 ===== */
.company-dashboard-content {
    padding: 24px 0;
}

.company-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.company-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-default);
    transition: all 0.2s ease;
}

[data-theme="dark"] .company-stat-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.company-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.company-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.company-stat-card .stat-icon.jobs {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.company-stat-card .stat-icon.applicants {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.company-stat-card .stat-icon.proposals {
    background: rgba(253, 203, 110, 0.1);
    color: var(--warning);
}

.company-stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.company-stat-card .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.company-stat-card .stat-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
}

.company-stat-card .stat-trend.up {
    color: var(--success);
}

.company-stat-card .stat-trend.down {
    color: var(--danger);
}

/* 대시보드 섹션 */
.dashboard-section {
    margin-bottom: 32px;
}

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.view-all-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: var(--primary-dark);
}

/* ===== 채용공고 관리 카드 ===== */
.job-management-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-management-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-default);
    transition: all 0.2s ease;
}

[data-theme="dark"] .job-management-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.job-management-card:hover {
    box-shadow: var(--shadow-md);
}

.job-management-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-management-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.job-management-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.job-management-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.job-status-badge.active {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.job-status-badge.closed {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-secondary);
}

.job-status-badge.draft {
    background: rgba(253, 203, 110, 0.2);
    color: var(--warning);
}

.job-management-stats {
    display: flex;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    margin: 12px 0;
}

.job-stat-item {
    text-align: center;
}

.job-stat-item .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.job-stat-item .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.job-management-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.job-action-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.job-action-btn.edit {
    background: var(--gray-100);
    color: var(--text-primary);
}

.job-action-btn.edit:hover {
    background: var(--gray-200);
}

[data-theme="dark"] .job-action-btn.edit {
    background: var(--gray-700);
    color: var(--text-primary);
}

[data-theme="dark"] .job-action-btn.edit:hover {
    background: var(--gray-600);
}

.job-action-btn.view-applicants {
    background: var(--primary);
    color: var(--white);
}

.job-action-btn.view-applicants:hover {
    background: var(--primary-dark);
}

/* ===== 지원자 관리 테이블 ===== */
.applicants-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-primary);
    font-size: 14px;
    min-width: 150px;
    cursor: pointer;
}

[data-theme="dark"] .filter-select {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.applicants-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-default);
}

[data-theme="dark"] .applicants-table {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.applicants-table thead {
    background: var(--gray-100);
}

[data-theme="dark"] .applicants-table thead {
    background: var(--gray-700);
}

.applicants-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.applicants-table td {
    padding: 16px;
    border-top: 1px solid var(--border-default);
}

.applicant-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.applicant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.applicant-name {
    font-weight: 500;
    color: var(--text-primary);
}

.applicant-role {
    font-size: 13px;
    color: var(--text-secondary);
}

.applicant-status {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.applicant-status.reviewing {
    background: rgba(253, 203, 110, 0.2);
    color: #b7791f;
}

.applicant-status.interview {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.applicant-status.accepted {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.applicant-status.rejected {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

.applicant-actions {
    display: flex;
    gap: 8px;
}

.applicant-action-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-default);
    background: var(--white);
    color: var(--text-primary);
}

.applicant-action-btn:hover {
    background: var(--gray-100);
}

[data-theme="dark"] .applicant-action-btn {
    background: var(--gray-700);
    border-color: var(--gray-600);
}

[data-theme="dark"] .applicant-action-btn:hover {
    background: var(--gray-600);
}

/* ===== 스카우트 크리에이터 카드 ===== */
.scout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.scout-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-default);
    transition: all 0.2s ease;
    text-align: center;
}

[data-theme="dark"] .scout-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.scout-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scout-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
}

.scout-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.scout-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.scout-specialty {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.scout-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.scout-tag {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
}

[data-theme="dark"] .scout-tag {
    background: var(--gray-700);
}

.scout-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 16px;
}

.scout-stat {
    text-align: center;
}

.scout-stat .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.scout-stat .label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.scout-action-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scout-action-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ===== 보낸 제안 목록 ===== */
.proposal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proposal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 16px;
}

[data-theme="dark"] .proposal-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.proposal-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.proposal-content {
    flex: 1;
}

.proposal-target {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.proposal-job {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.proposal-date {
    font-size: 12px;
    color: var(--text-tertiary);
}

.proposal-status {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.proposal-status.pending {
    background: rgba(253, 203, 110, 0.2);
    color: #b7791f;
}

.proposal-status.accepted {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.proposal-status.rejected {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

/* ===== 기업 사이드바 네비게이션 ===== */
.mypage-nav[id="companyNav"] {
    display: none;
}

.mypage-nav[id="companyNav"].active {
    display: block;
}

/* ===== 빈 상태 UI ===== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .empty-state {
    background: var(--gray-800);
}

.empty-state-icon {
    font-size: 48px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-state-btn {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== 채용공고 등록 모달 ===== */
.job-post-form .form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-default);
}

.job-post-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job-post-form .form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.job-post-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.job-post-form .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-post-form .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.job-post-form .form-check label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

/* ===== 반응형 - 역할 전환 & 기업 대시보드 ===== */
@media (max-width: 768px) {
    .role-toggle-container {
        flex-direction: column;
    }

    .role-toggle-btn {
        justify-content: flex-start;
        padding: 14px 16px;
    }

    .company-quick-stats {
        grid-template-columns: 1fr;
    }

    .job-management-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .job-stat-item {
        flex: 1;
        min-width: 80px;
    }

    .applicants-table {
        display: block;
        overflow-x: auto;
    }

    .scout-grid {
        grid-template-columns: 1fr;
    }

    .proposal-card {
        flex-direction: column;
        text-align: center;
    }

    .proposal-status {
        margin-top: 8px;
    }

    .job-post-form .form-row {
        grid-template-columns: 1fr;
    }

    .applicants-filter {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }
}
