/* ============================================
   마케팅랩 - 프로페셔널 디자인 시스템
   MARKETINGLAB Design System
   ============================================ */

/* CSS 변수 정의 - 전문적인 컬러 스킴 */
:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --primary-dark: #4338ca;

    /* Secondary Colors */
    --secondary-color: #64748b;
    --secondary-hover: #475569;

    /* Status Colors */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* Background Colors */
    --bg-body: #f3f4f6;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #1f2937;
    --bg-darker: #111827;

    /* Border Colors */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Typography */
    --font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;

    /* Spacing */
    --header-height: 64px;
    --sidebar-width: 280px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* Input 기본 스타일 초기화 */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* ============================================
   Top Banner
   ============================================ */
/* 상단 배너 슬라이더 */
.top-banner-slider {
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b5cf6 100%);
    position: relative;
    overflow: hidden;
    height: 45px;
}

.top-banner-slider.hidden {
    display: none;
}

.top-banner-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.top-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.top-banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.top-banner-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 100%;
}

.top-banner-slide img {
    max-height: 40px;
    width: auto;
}

.top-banner-slide .banner-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 0 60px;
    text-align: center;
}

.top-banner-controls {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.top-banner-controls button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: background 0.2s;
}

.top-banner-controls button:hover {
    background: rgba(255,255,255,0.3);
}

.top-banner-counter {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.top-banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
    z-index: 10;
}

.top-banner-close:hover {
    background: rgba(255,255,255,0.3);
}

/* 기존 top-banner 호환성 유지 */
.top-banner {
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    position: relative;
}

.top-banner a {
    display: block;
}

.top-banner img {
    max-height: 50px;
    width: auto;
}

.top-banner .banner-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.top-banner .banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.top-banner .banner-close:hover {
    color: #fff;
}

/* ============================================
   Header Top (Utility Bar)
   ============================================ */
.header-top {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 100;
}

.header-top .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    font-size: 12px;
    width: 100%;
}

.header-utils-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.header-utils-left i {
    margin-right: 4px;
    color: var(--primary-color);
}

.header-utils-left strong {
    color: var(--primary-color);
    font-weight: 600;
}

.header-utils-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-utils-right a {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-utils-right a:hover {
    color: var(--primary-color);
}

.point-display {
    color: var(--warning-color) !important;
    font-weight: 600;
}

.btn-point-charge {
    background: var(--warning-color);
    color: #fff !important;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
}

.btn-point-charge:hover {
    background: #e67e22;
    color: #fff !important;
}

/* ============================================
   Header Main
   ============================================ */
.header-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.header-main .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 30px;
}

/* Logo */
.logo {
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
}

.logo .logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo .logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 500px;
}

.header-search .search-form {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.header-search .search-select {
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-light);
    cursor: pointer;
    min-width: 100px;
}

.header-search .search-select:focus {
    outline: none;
}

.header-search .search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
}

.header-search .search-input:focus {
    outline: none;
}

.header-search .search-btn {
    padding: 12px 18px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.header-search .search-btn:hover {
    background: var(--primary-hover);
}

/* Header Quick */
.header-quick {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   Main Navigation
   ============================================ */
.nav-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-main .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-link i.fa-chevron-down {
    font-size: 10px;
    margin-left: 2px;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--primary-color);
}

/* Nav Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px;
    gap: 24px;
}

.mega-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column h4 i {
    color: var(--primary-color);
    font-size: 13px;
}

.mega-column ul li a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.mega-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

/* ============================================
   Mobile Navigation
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.mobile-nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1002;
    transition: right var(--transition-slow);
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
}

.mobile-nav-title {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    padding: 5px;
}

.mobile-nav-close:hover {
    color: #fff;
}

.mobile-user-info {
    padding: 18px 20px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.mobile-user-detail {
    flex: 1;
}

.mobile-user-detail strong {
    font-size: 15px;
}

.mobile-user-point {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--warning-color);
}

.mobile-login-box {
    padding: 20px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-search form {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.mobile-search input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
}

.mobile-search input:focus {
    outline: none;
}

.mobile-search button {
    padding: 12px 16px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-nav-menu {
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.mobile-nav-menu li {
    position: relative;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 10;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    touch-action: manipulation;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li a:active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-nav-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    pointer-events: none;
}

.mobile-nav-divider {
    height: 8px;
    background: var(--bg-light);
}

/* Breadcrumb */
.breadcrumb-wrapper {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 10px;
}

.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   Top Notice Bar (Legacy)
   ============================================ */
.top-notice-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-notice-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.top-notice-bar a {
    color: #fff;
    text-decoration: underline;
}

.notice-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
}

/* ============================================
   Header - Professional Navigation
   ============================================ */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: 1px solid var(--border-light);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    font-size: 12px;
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.header-utils a {
    color: var(--text-muted);
}

.header-utils a:hover {
    color: var(--primary-color);
}

.header-utils .divider {
    color: var(--border-color);
}

.header-main {
    height: var(--header-height);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Main Navigation with Mega Menu */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav > ul {
    display: flex;
    height: 100%;
}

.main-nav > ul > li {
    position: relative;
    height: 100%;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: all var(--transition-fast);
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
    color: var(--primary-color);
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.main-nav > ul > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

.main-nav > ul > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mega-menu-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.mega-menu-section ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.mega-menu-section ul li a:hover {
    color: var(--primary-color);
}

.mega-menu-section .menu-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 10px;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 240px;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    background: var(--bg-light);
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-menu .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-menu .user-info {
    display: flex;
    flex-direction: column;
}

.user-menu .user-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-primary);
}

.user-menu .user-point {
    font-size: 11px;
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1002;
    transition: right var(--transition-slow), visibility var(--transition-slow);
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-title {
    font-weight: 700;
    font-size: 18px;
}

.mobile-nav-close {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-user-info {
    padding: 20px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.mobile-user-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.mobile-user-details span {
    font-size: 12px;
    color: var(--text-muted);
}

.mobile-nav > ul {
    padding: 10px 0;
}

.mobile-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav > ul > li.has-submenu > a::after {
    content: '›';
    font-size: 20px;
    color: var(--text-muted);
}

.mobile-nav li.divider {
    height: 8px;
    background: var(--bg-light);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-xs {
    padding: 4px 10px;
    font-size: 11px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    color: #fff;
}

.btn-danger {
    background: var(--danger-color);
    color: #fff;
}

.btn-warning {
    background: var(--warning-color);
    color: #fff;
}

.btn-like {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-like:hover,
.btn-like.liked {
    border-color: var(--danger-color);
    color: var(--danger-color);
    background: #fef2f2;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.alert ul {
    margin-left: 16px;
    list-style: disc;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-success .alert-icon {
    background: var(--success-color);
    color: #fff;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-danger .alert-icon {
    background: var(--danger-color);
    color: #fff;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ============================================
   Main Layout
   ============================================ */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 30px 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.main-content {
    min-width: 0;
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.widget-header h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header h3 .icon {
    color: var(--primary-color);
}

.widget-header .more-link {
    font-size: 12px;
    color: var(--text-muted);
}

.widget-body {
    padding: 16px 20px;
}

/* Login Widget */
.login-widget .login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-widget input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
}

.login-widget input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.login-widget .login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.login-widget .remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.login-widget .login-links {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.login-widget .login-links a {
    color: var(--text-muted);
}

.login-widget .social-login {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.login-widget .social-login p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
}

.login-widget .social-buttons {
    display: flex;
    gap: 8px;
}

.login-widget .social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 12px;
    text-align: center;
}

/* User Profile Widget */
.user-widget .user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.user-widget .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.user-widget .profile-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.user-widget .profile-info .user-level {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}

.user-widget .user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
}

.user-widget .stat-item {
    text-align: center;
}

.user-widget .stat-item .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.user-widget .stat-item .label {
    font-size: 11px;
    color: var(--text-muted);
}

.user-widget .user-actions {
    display: flex;
    gap: 8px;
}

.user-widget .user-actions .btn {
    flex: 1;
}

/* Popular Posts Widget */
.popular-widget .popular-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.popular-widget .tab-btn {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.popular-widget .tab-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.popular-widget .popular-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.popular-widget .popular-list li:last-child {
    border-bottom: none;
}

.popular-widget .rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-widget .popular-list li:nth-child(1) .rank { background: #fef2f2; color: var(--danger-color); }
.popular-widget .popular-list li:nth-child(2) .rank { background: #fff7ed; color: #ea580c; }
.popular-widget .popular-list li:nth-child(3) .rank { background: #fefce8; color: #ca8a04; }

.popular-widget .post-info {
    flex: 1;
    min-width: 0;
}

.popular-widget .post-title {
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-bottom: 4px;
}

.popular-widget .post-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-light);
}

/* Banner Widget */
.banner-widget {
    padding: 0;
}

.banner-widget img {
    width: 100%;
    display: block;
}

.banner-placeholder {
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-light) 100%);
    text-align: center;
}

.banner-placeholder .icon,
.banner-placeholder i {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.banner-placeholder span {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.banner-placeholder small {
    font-size: 11px;
    color: var(--text-light);
}

/* Sidebar Banner */
.sidebar-banner {
    padding: 0 !important;
    overflow: hidden;
}

.sidebar-banner img {
    width: 100%;
    display: block;
}

.sidebar-banner .banner-placeholder {
    border-radius: var(--radius-lg);
}

/* Login Widget Extended */
.login-widget .widget-body {
    padding: 20px;
}

.login-widget .input-icon {
    position: relative;
}

.login-widget .input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.login-widget .input-icon input {
    padding-left: 44px;
    text-indent: 0;
}

.login-widget .form-group {
    margin-bottom: 12px;
}

.login-widget input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    transition: all var(--transition-fast);
    background: #fff;
    box-sizing: border-box;
}

.login-widget input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-widget input:invalid {
    box-shadow: none;
}

.login-widget input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.login-widget .input-icon input {
    padding-left: 44px !important;
}

.login-widget .login-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
}

.login-widget .login-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.login-widget .login-links a:hover {
    color: var(--primary-color);
}

.login-widget .social-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.login-widget .divider-text {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.login-widget .social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.login-widget .btn-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-widget .btn-kakao {
    background: #fee500;
    color: #000;
}

.login-widget .btn-naver {
    background: #03c75a;
    color: #fff;
    font-weight: 700;
}

.login-widget .btn-google {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #4285f4;
}

.login-widget .btn-social:hover {
    transform: scale(1.1);
}

/* User Widget Extended */
.user-widget .widget-body {
    padding: 0;
}

.user-widget .user-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ede9fe 100%);
}

.user-widget .user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.user-widget .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-widget .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.user-widget .user-info {
    flex: 1;
}

.user-widget .user-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-widget .user-level {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--primary-color);
}

.user-widget .user-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.user-widget .user-stat {
    text-align: center;
}

.user-widget .user-stat:first-child {
    border-right: 1px solid var(--border-light);
}

.user-widget .user-stat .stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.user-widget .user-stat .stat-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-widget .user-stat .stat-value.point-value {
    color: var(--warning-color);
}

.user-widget .user-actions {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.user-widget .user-actions .btn {
    flex: 1;
    font-size: 12px;
}

.user-widget .user-quick-links {
    padding: 12px 16px;
}

.user-widget .user-quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.user-widget .user-quick-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.user-widget .user-quick-links .admin-link {
    color: var(--danger-color);
}

.user-widget .user-quick-links .admin-link:hover {
    background: #fef2f2;
}

/* Popular Widget Extended */
.popular-widget .popular-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.popular-widget .popular-list li:last-child {
    border-bottom: none;
}

.popular-widget .popular-item .rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-widget .popular-item .rank.top {
    background: var(--primary-color);
    color: #fff;
}

.popular-widget .popular-item a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.popular-widget .popular-item .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.popular-widget .popular-item:hover .title {
    color: var(--primary-color);
}

.popular-widget .popular-item .comment-count {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Recruit Widget Small */
.recruit-widget .recruit-list-sm li {
    border-bottom: 1px solid var(--border-light);
}

.recruit-widget .recruit-list-sm li:last-child {
    border-bottom: none;
}

.recruit-widget .recruit-list-sm li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.recruit-widget .recruit-list-sm .title {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 8px;
}

.recruit-widget .recruit-list-sm li:hover .title {
    color: var(--primary-color);
}

.recruit-widget .recruit-list-sm .status {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 500;
}

.recruit-widget .recruit-list-sm .status.open {
    background: #ecfdf5;
    color: var(--success-color);
}

.recruit-widget .recruit-list-sm .status.closed {
    background: var(--bg-body);
    color: var(--text-muted);
}

/* Stats Widget */
.stats-widget .stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.stats-widget .stats-list li:last-child {
    border-bottom: none;
}

.stats-widget .stats-list .stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.stats-widget .stats-list .stat-label i {
    color: var(--primary-color);
}

.stats-widget .stats-list .stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Ad Widget */
.ad-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff;
}

.ad-widget .ad-content {
    padding: 28px 20px;
    text-align: center;
}

.ad-widget .ad-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.ad-widget h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ad-widget p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.6;
}

.ad-widget .ad-positions {
    text-align: left;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.ad-widget .ad-positions li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
}

.ad-widget .btn {
    background: #fff;
    color: #667eea;
    border: none;
}

.ad-widget .btn:hover {
    background: #f0f0ff;
}

/* Tags Widget */
.tags-widget .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-widget .tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tags-widget .tag:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Recent Activity Widget */
.activity-widget .activity-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.activity-widget .activity-list li:last-child {
    border-bottom: none;
}

.activity-widget .activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-widget .activity-content {
    flex: 1;
    min-width: 0;
}

.activity-widget .activity-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.activity-widget .activity-time {
    font-size: 11px;
    color: var(--text-light);
}

/* ============================================
   Homepage Sections
   ============================================ */

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    margin-bottom: 30px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
}

.slider-wrapper {
    position: relative;
    height: 320px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide-bg-purple {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

.slide-bg-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
}

.slide-bg-green {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
}

.slide-bg-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 50px 60px;
}

.slide-text {
    flex: 1;
    color: #fff;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.slide-text h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 16px;
}

.slide-text h2 strong {
    font-size: 38px;
    font-weight: 800;
    display: block;
}

.slide-text p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 24px;
}

.slide-buttons {
    display: flex;
    gap: 12px;
}

.slide-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.15);
    margin-left: 40px;
}

/* Slider Button Styles */
.btn-white {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
    font-weight: 600;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dots .dot:hover,
.slider-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-dots .dot.active {
    width: 24px;
    border-radius: 5px;
}

/* Slider Autoplay Control */
.slider-autoplay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-autoplay:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-autoplay.playing i::before {
    content: "\f04c"; /* pause icon */
}

.slider-autoplay:not(.playing) i::before {
    content: "\f04b"; /* play icon */
}

/* Hero Banner (Legacy - keep for backward compatibility) */
.hero-banner {
    margin-bottom: 30px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    position: relative;
    min-height: 280px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    max-width: 550px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content h2 strong {
    display: block;
    font-size: 38px;
    background: linear-gradient(90deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.hero-buttons .btn-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hero-buttons .btn-primary:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.hero-image {
    position: relative;
    z-index: 1;
    font-size: 120px;
    color: rgba(255,255,255,0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.quick-stats .stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.quick-stats .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.quick-stats .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
    color: var(--primary-color);
}

.quick-stats .stat-info {
    flex: 1;
}

.quick-stats .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.quick-stats .stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Legacy stat-card support */
.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card .stat-icon.users { background: #eff6ff; color: var(--info-color); }
.stat-card .stat-icon.posts { background: #f0fdf4; color: var(--success-color); }
.stat-card .stat-icon.comments { background: #fef3c7; color: var(--warning-color); }
.stat-card .stat-icon.visitors { background: #fce7f3; color: #ec4899; }

.stat-card .stat-info h4 {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-card .stat-info .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-info .change {
    font-size: 11px;
    color: var(--success-color);
}

/* Board Section */
.board-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 .icon {
    color: var(--primary-color);
}

.section-header .tabs {
    display: flex;
    gap: 4px;
}

.section-header .tab-btn {
    padding: 6px 14px;
    background: none;
    border: none;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.section-header .tab-btn:hover,
.section-header .tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.more-link {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.more-link:hover {
    color: var(--primary-color);
}

/* Post List */
.post-list {
    padding: 0;
}

.post-list li {
    border-bottom: 1px solid var(--border-light);
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    transition: background var(--transition-fast);
}

.post-list li a:hover {
    background: var(--bg-light);
}

.post-list .category {
    flex-shrink: 0;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 11px;
    color: var(--text-muted);
}

.post-list .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-primary);
}

.post-list .comment-count {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.post-list .meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

.post-list .badge {
    flex-shrink: 0;
}

.post-list .date {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* No Data */
.post-list .no-data,
.no-data {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* Numbered Post List (인기글) */
.post-list-numbered li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
}

.post-list-numbered li a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.post-list-numbered .rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-list-numbered .rank.top {
    background: var(--primary-color);
    color: #fff;
}

.post-list-numbered .board-tag {
    flex-shrink: 0;
    padding: 3px 8px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 10px;
    color: var(--text-muted);
}

/* Section Tabs */
.section-tabs {
    display: flex;
    gap: 4px;
}

.section-tabs .tab-btn {
    padding: 6px 14px;
    background: none;
    border: none;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.section-tabs .tab-btn:hover,
.section-tabs .tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Content Banner */
.content-banner {
    margin: 20px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.content-banner img {
    width: 100%;
    display: block;
}

.content-banner .banner-placeholder-wide {
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-light) 100%);
    text-align: center;
    border-radius: var(--radius-lg);
}

.content-banner .banner-placeholder-wide i {
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: block;
}

.content-banner .banner-placeholder-wide span {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.content-banner .banner-placeholder-wide small {
    font-size: 12px;
    color: var(--text-light);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius);
}

.badge-notice {
    background: var(--danger-color);
    color: #fff;
}

.badge-new {
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.badge-hot {
    background: #fef2f2;
    color: var(--danger-color);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.badge-secondary {
    background: var(--bg-light);
    color: var(--text-muted);
}

.badge-success {
    background: #ecfdf5;
    color: var(--success-color);
}

.badge-danger {
    background: #fef2f2;
    color: var(--danger-color);
}

.badge-warning {
    background: #fffbeb;
    color: #b45309;
}

/* Two Column Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Recruit Grid Layout (체험단/기자단 섹션) */
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Recruit List inside section */
.recruit-list {
    padding: 16px 20px;
}

.recruit-item {
    margin-bottom: 12px;
}

.recruit-item:last-child {
    margin-bottom: 0;
}

.recruit-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.recruit-item > a:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.recruit-item .recruit-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.recruit-item .recruit-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.recruit-item .recruit-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.recruit-item .deadline.expired {
    color: var(--danger-color);
}

.recruit-item .recruit-status {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.recruit-item .recruit-status.open {
    background: #ecfdf5;
    color: var(--success-color);
}

.recruit-item .recruit-status.closed {
    background: var(--bg-body);
    color: var(--text-muted);
}

/* Recruit Section (Legacy) */
.recruit-section .recruit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 20px;
}

.recruit-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-fast);
}

.recruit-card:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.recruit-card .recruit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.recruit-card .recruit-type {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 500;
}

.recruit-card .recruit-status {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
}

.recruit-card .recruit-status.open {
    background: #ecfdf5;
    color: var(--success-color);
}

.recruit-card .recruit-status.closed {
    background: var(--bg-body);
    color: var(--text-muted);
}

.recruit-card h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recruit-card .recruit-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.quick-link-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.quick-link-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-link-item .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.quick-link-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   Board List Page
   ============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--text-light);
}

.board-header {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.board-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.board-desc {
    color: var(--text-muted);
    font-size: 14px;
}

.board-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.total-count {
    font-size: 13px;
    color: var(--text-muted);
}

.sort-options {
    display: flex;
    gap: 4px;
}

.sort-options button {
    padding: 6px 12px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
}

.sort-options button.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form select,
.search-form input[type="text"] {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
}

.search-form input[type="text"] {
    width: 200px;
}

.search-form input:focus,
.search-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Board Table */
.board-list {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th,
.board-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.board-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.board-table tr:last-child td {
    border-bottom: none;
}

.board-table tr:hover td {
    background: var(--bg-light);
}

.board-table .notice-row {
    background: #fffbeb;
}

.board-table .notice-row:hover td {
    background: #fef3c7;
}

.board-table .col-num { width: 60px; text-align: center; color: var(--text-muted); }
.board-table .col-category { width: 100px; }
.board-table .col-title { }
.board-table .col-writer { width: 100px; }
.board-table .col-date { width: 90px; color: var(--text-muted); }
.board-table .col-view { width: 60px; text-align: center; color: var(--text-muted); }
.board-table .col-like { width: 60px; text-align: center; color: var(--text-muted); }

.board-table .col-title a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.board-table .post-title-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-table .comment-count {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination ul {
    display: flex;
    gap: 4px;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.pagination li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination li.active a {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ============================================
   Post View Page
   ============================================ */
.post-view {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.post-header {
    padding: 28px;
    border-bottom: 1px solid var(--border-light);
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.post-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.post-title .badge {
    vertical-align: middle;
    margin-right: 10px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.author-info .author-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.author-info .author-company {
    font-size: 12px;
    color: var(--text-muted);
}

.post-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Recruit Info Box */
.recruit-info-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.recruit-info-box .recruit-status {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.recruit-info-box .recruit-status.open {
    background: var(--success-color);
    color: #fff;
}

.recruit-info-box .recruit-status.closed {
    background: var(--secondary-color);
    color: #fff;
}

.recruit-details {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.recruit-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Post Content */
.post-content {
    padding: 32px 28px;
    min-height: 200px;
    line-height: 1.85;
    font-size: 15px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 16px 0;
}

/* Post Attachments */
.post-attachments {
    padding: 18px 28px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.post-attachments h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-attachments ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-attachments li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.post-attachments li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.post-attachments .file-size {
    color: var(--text-light);
    font-size: 11px;
}

/* Post Actions */
.post-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    border-top: 1px solid var(--border-light);
}

.post-actions .btn {
    min-width: 120px;
}

/* Apply Section */
.apply-section {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ede9fe 100%);
    border-top: 1px solid var(--border-light);
}

/* Post Toolbar */
.post-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    border-top: 1px solid var(--border-light);
}

.post-edit-buttons {
    display: flex;
    gap: 8px;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-light);
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 18px 28px;
    transition: background var(--transition-fast);
}

.post-navigation a:hover {
    background: var(--bg-light);
}

.post-navigation a:first-child {
    border-right: 1px solid var(--border-light);
}

.post-navigation .nav-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.post-navigation .nav-title {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   Comments Section
   ============================================ */
.comments-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.comments-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-total {
    color: var(--primary-color);
}

.comments-list {
    margin-bottom: 24px;
}

.comment-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item.reply {
    margin-left: 48px;
    padding-left: 18px;
    border-left: 3px solid var(--primary-light);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author .author-avatar,
.comment-author .author-avatar-text {
    width: 36px;
    height: 36px;
    font-size: 13px;
}

.comment-author .author-name {
    font-size: 14px;
    font-weight: 500;
}

.comment-date {
    font-size: 12px;
    color: var(--text-light);
}

.comment-content {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.comment-actions {
    display: flex;
    gap: 12px;
}

.comment-actions button {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.comment-actions button:hover {
    color: var(--primary-color);
}

.comment-actions .btn-delete:hover {
    color: var(--danger-color);
}

/* Comment Form */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    min-height: 100px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form .btn {
    align-self: flex-end;
}

.login-notice {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.login-notice a {
    color: var(--primary-color);
    font-weight: 500;
}

.no-comments {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

/* Reply Form */
.reply-form-container {
    margin-top: 12px;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.reply-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 13px;
    resize: none;
}

.reply-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ============================================
   Write Page
   ============================================ */
.write-container {
    max-width: 900px;
    margin: 0 auto;
}

.write-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.write-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.write-header .board-name {
    color: var(--text-muted);
}

.write-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group .required {
    color: var(--danger-color);
}

.form-group .optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    margin-right: 8px;
    flex-shrink: 0;
}

.form-section .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-options {
    display: flex;
    gap: 24px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.form-section {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.form-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.terms-box {
    max-height: 150px;
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   Auth Pages (Login/Register)
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    padding: 48px 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.auth-box-wide {
    max-width: 560px;
}

.auth-box h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-box .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-links .divider {
    margin: 0 12px;
    color: var(--border-color);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* 로그인 페이지 소셜 로그인 */
.auth-box .social-login {
    text-align: center;
}

.auth-box .social-login-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.auth-box .social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.auth-box .btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 100px;
}

.auth-box .btn-kakao {
    background: #fee500;
    color: #191919;
}

.auth-box .btn-kakao:hover {
    background: #f5dc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

.auth-box .btn-naver {
    background: #03c75a;
    color: #fff;
}

.auth-box .btn-naver:hover {
    background: #02b350;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.4);
}

.auth-box .btn-naver .naver-n {
    font-weight: 700;
    font-size: 16px;
}

.auth-box .btn-google {
    background: #fff;
    color: #444;
    border: 1px solid var(--border-color);
}

.auth-box .btn-google:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 로그인 상태 유지 체크박스 */
.remember-check {
    margin: 16px 0 20px;
}

.remember-check .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.remember-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* ============================================
   MyPage
   ============================================ */
.mypage-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.mypage-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.user-profile-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.profile-image img,
.avatar-placeholder-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.avatar-placeholder-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.user-profile-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.user-profile-card .user-point {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.mypage-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.mypage-nav a:hover,
.mypage-nav a.active {
    background: var(--primary-color);
    color: #fff;
}

.mypage-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.mypage-section {
    display: none;
}

.mypage-section.active {
    display: block;
}

.mypage-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-color);
}

.profile-form {
    max-width: 600px;
}

.profile-image-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-image-upload .current-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
}

.data-table tr:hover td {
    background: var(--bg-light);
}

.no-data {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

/* ============================================
   Applications Page
   ============================================ */
.applications-container {
    max-width: 1100px;
    margin: 0 auto;
}

.recruit-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 24px;
}

.recruit-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.recruit-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.recruit-stats .status-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.recruit-stats .status-badge.active {
    background: #ecfdf5;
    color: var(--success-color);
}

.recruit-stats .status-badge.closed {
    background: var(--bg-light);
    color: var(--text-muted);
}

.recruit-actions {
    margin-top: 16px;
}

.applications-list {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.applications-list h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.message-row td {
    padding-top: 0 !important;
    background: var(--bg-light);
}

.apply-message {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content form {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   Footer
   ============================================ */
.footer-banner-section {
    padding: 32px 0;
    background: var(--bg-light);
}

.footer-banner {
    padding: 32px 0;
    background: var(--bg-light);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.banner-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    display: block;
}

.banner-item img {
    width: 100%;
    display: block;
}

.banner-item .banner-placeholder {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-white);
}

.site-footer {
    background: var(--bg-darker);
    color: #9ca3af;
    padding: 0;
}

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-description {
    font-size: 13px;
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-nav-column h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav-column h4 i {
    color: var(--primary-color);
    font-size: 12px;
}

.footer-nav-column ul li {
    margin-bottom: 12px;
}

.footer-nav-column ul li a {
    font-size: 13px;
    color: #9ca3af;
    transition: all var(--transition-fast);
}

.footer-nav-column ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Footer Stats Bar */
.footer-stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-stats-bar .stat-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.footer-stats-bar .stat-item span {
    color: #9ca3af;
}

.footer-stats-bar .stat-item strong {
    color: #fff;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
}

.footer-copyright {
    color: #6b7280;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-bottom a {
    color: #9ca3af;
    transition: color var(--transition-fast);
}

.footer-links-bottom a:hover {
    color: #fff;
}

.footer-links-bottom a.highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-links-bottom .divider {
    color: #4b5563;
}

/* Legacy Footer Support */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-info p {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-links h4,
.footer-stats h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul li,
.footer-stats ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-stats li {
    font-size: 13px;
}

.footer-stats strong {
    color: var(--primary-color);
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal .modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    margin: 20px;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal .modal-header h3 i {
    color: var(--warning-color);
}

.modal .modal-body {
    padding: 24px;
}

.modal .modal-body p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.modal .modal-body strong {
    color: var(--primary-color);
}

.modal .modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1280px) {
    .container {
        max-width: 100%;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .board-grid,
    .recruit-grid,
    .recruit-section .recruit-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-stats-bar {
        flex-wrap: wrap;
        gap: 24px;
    }

    .mypage-layout {
        grid-template-columns: 1fr;
    }

    .mypage-sidebar {
        position: static;
    }

    .mypage-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mypage-nav a {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }

    .mega-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .nav-main {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav,
    .mobile-nav-overlay {
        display: block;
    }

    .header-search {
        display: none;
    }

    .header-main {
        height: 60px;
    }

    .header-main-inner {
        height: 60px;
    }

    .header-quick {
        display: none;
    }

    .logo .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .logo .logo-title {
        font-size: 18px;
    }

    .logo .logo-subtitle {
        font-size: 10px;
    }

    .hero-slide {
        height: 200px;
        padding: 24px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .board-table th,
    .board-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .board-table .col-writer,
    .board-table .col-like {
        display: none;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-top {
        padding: 32px 0;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-banner {
        flex-direction: column;
        padding: 32px 24px;
        min-height: auto;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content h2 strong {
        font-size: 28px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        font-size: 80px;
        margin-top: 20px;
    }

    /* Slider Responsive */
    .slider-wrapper {
        height: 380px;
    }

    .slide-content {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
    }

    .slide-text h2 {
        font-size: 22px;
    }

    .slide-text h2 strong {
        font-size: 26px;
    }

    .slide-text p {
        font-size: 13px;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .slide-buttons .btn {
        width: 100%;
        max-width: 220px;
    }

    .slide-image {
        display: none;
    }

    .slider-nav {
        right: 50%;
        transform: translateX(50%);
    }

    .slider-autoplay {
        top: 15px;
        right: 15px;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .search-form input[type="text"] {
        width: 100%;
    }

    .board-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .auth-box {
        padding: 28px;
    }

    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-navigation a:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .site-main {
        padding: 20px 0;
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .quick-link-item {
        padding: 14px 10px;
    }

    .quick-link-item .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .quick-link-item span {
        font-size: 11px;
    }

    .post-title {
        font-size: 18px;
    }

    .user-menu .btn span {
        display: none;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .post-list li a {
        padding: 12px 16px;
    }

    .post-list .category {
        display: none;
    }

    .post-list .meta {
        display: none;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-header,
    .sidebar,
    .site-footer,
    .mobile-nav,
    .modal-overlay {
        display: none !important;
    }

    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Quick Links Section (i-boss style)
   ============================================ */
.quick-links-section {
    margin: 24px 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-light);
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.ql-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ql-icon-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: #fff;
}

.ql-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
}

.ql-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.ql-icon-orange {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
}

.ql-icon-yellow {
    background: linear-gradient(135deg, #eab308 0%, #fbbf24 100%);
    color: #fff;
}

.ql-icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
}

.ql-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ql-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.ql-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Live Status Bar
   ============================================ */
.live-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.live-status-bar .status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.live-status-bar .status-item i {
    font-size: 15px;
    color: var(--text-muted);
}

.live-status-bar .status-item span {
    color: var(--text-muted);
}

.live-status-bar .status-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.live-status-bar .status-item strong.highlight {
    color: var(--primary-color);
}

.status-divider {
    width: 1px;
    height: 20px;
    background: var(--border-light);
}

/* ============================================
   Combined Section (Tabs)
   ============================================ */
.combined-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.combined-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.combined-header .tab-buttons {
    display: flex;
    gap: 0;
}

.combined-header .tab-btn {
    padding: 14px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.combined-header .tab-btn:hover {
    color: var(--text-primary);
}

.combined-header .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-white);
}

.combined-header .tab-btn i {
    font-size: 12px;
}

.combined-body {
    position: relative;
}

.combined-body .tab-panel {
    display: none;
    padding: 0;
}

.combined-body .tab-panel.active {
    display: block;
}

/* Ranked List */
.ranked-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranked-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.ranked-list li:last-child {
    border-bottom: none;
}

.ranked-list li:hover {
    background: var(--bg-light);
}

.ranked-list .rank-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: 6px;
}

.ranked-list .rank-num.top {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: #fff;
}

.ranked-list li a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ranked-list .board-label {
    flex-shrink: 0;
    padding: 3px 8px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.ranked-list .post-title {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranked-list .comment-cnt {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    flex-shrink: 0;
}

.ranked-list .post-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-light);
}

.ranked-list .no-data {
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 40px 20px;
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.more-btn:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

/* ============================================
   Category Boards Grid
   ============================================ */
.category-boards {
    margin-bottom: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-light);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.cat-icon-blue { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.cat-icon-orange { background: linear-gradient(135deg, #f97316 0%, #fb923c 100%); }
.cat-icon-green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.cat-icon-pink { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }

.category-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.category-header .more-link {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.category-header .more-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-light);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.category-list .title {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-list .cnt {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    flex-shrink: 0;
}

.category-list .date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-light);
}

.category-list li.empty {
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 30px;
}

/* ============================================
   Realtime Section
   ============================================ */
.realtime-section {
    margin-bottom: 24px;
}

.realtime-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.realtime-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.realtime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-light);
}

.realtime-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.realtime-header h3 i {
    color: var(--primary-color);
    font-size: 14px;
}

.realtime-header .more-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.realtime-header .more-link:hover {
    color: var(--primary-color);
}

.realtime-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.realtime-list li {
    border-bottom: 1px solid var(--border-light);
}

.realtime-list li:last-child {
    border-bottom: none;
}

.realtime-list li a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 18px;
    transition: background var(--transition-fast);
}

.realtime-list li a:hover {
    background: var(--bg-light);
}

.realtime-list .comment-text,
.realtime-list .title {
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.realtime-list .comment-meta,
.realtime-list .meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.realtime-list .writer {
    color: var(--text-muted);
}

.realtime-list .time,
.realtime-list .date {
    color: var(--text-light);
}

.realtime-list li.empty {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   Responsive: New Sections
   ============================================ */
@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .realtime-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .quick-link-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
        gap: 10px;
    }

    .ql-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .ql-text strong {
        font-size: 12px;
    }

    .ql-text span {
        display: none;
    }

    .live-status-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px;
    }

    .status-divider {
        display: none;
    }

    .live-status-bar .status-item {
        flex: 0 0 calc(50% - 8px);
        justify-content: center;
    }

    .combined-header .tab-btn {
        padding: 12px 14px;
        font-size: 13px;
    }

    .combined-header .tab-btn i {
        display: none;
    }

    .ranked-list li {
        padding: 12px 16px;
    }

    .ranked-list .board-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-link-card {
        padding: 12px 8px;
    }

    .ql-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 8px;
    }

    .ql-text strong {
        font-size: 11px;
    }

    .live-status-bar {
        padding: 12px;
        gap: 12px;
    }

    .live-status-bar .status-item {
        font-size: 11px;
        gap: 6px;
    }

    .live-status-bar .status-item i {
        font-size: 12px;
    }

    .combined-header .tab-buttons {
        width: 100%;
    }

    .combined-header .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 8px;
        font-size: 12px;
    }
}

/* ============================================
   사업자 정보 (Footer Business Info)
   ============================================ */
.footer-business-info {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.business-info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: center;
    align-items: center;
}

.business-info-content .info-item {
    font-size: 13px;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.business-info-content .info-item strong {
    color: #d1d5db;
    font-weight: 500;
}

.business-info-content .info-item a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.business-info-content .info-item a:hover {
    color: #fff;
}

/* 사업자 정보 구분선 */
.business-info-content .info-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 16px;
}

@media (max-width: 768px) {
    .footer-business-info {
        padding: 20px 0;
    }

    .business-info-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .business-info-content .info-item {
        font-size: 12px;
    }

    .business-info-content .info-item:not(:last-child)::after {
        display: none;
    }
}

/* Checkbox fix for registration */
.form-check input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    cursor: pointer !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 8px 0 0 !important;
    background: #fff !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
}
.form-check {
    display: flex !important;
    align-items: center !important;
}
.form-check label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

