/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

:root {
    --bg-gradient: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    
    --primary: #f43f5e; /* 벚꽃 딥 핑크 */
    --primary-light: #fda4af;
    --primary-gradient: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
    
    --secondary: #3b82f6; /* 오션 블루 */
    --secondary-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --glow-shadow: 0 0 20px rgba(244, 63, 94, 0.2);
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* 스크롤바 디자인 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 레이아웃 컨테이너 */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* 사이드바 스타일 */
.sidebar {
    width: 380px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--card-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
    overflow-y: auto;
}

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

.brand-icon {
    font-size: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(244, 63, 94, 0.3));
}

.brand h2 {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 사이드바 카드 공통 */
.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition-smooth);
}

.sidebar-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
}

/* 폼 요소 스타일 */
.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

input, select, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

select option {
    background-color: #111827;
    color: var(--text-main);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-danger-outline {
    background: transparent;
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* 동기화 정보 설명 */
.sync-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.sync-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

/* 저장 상태 표시 */
.save-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 10px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition-smooth);
}

.status-indicator.active {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.status-indicator.pending {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}

/* 메인 콘텐츠 영역 스타일 */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 헤더 대시보드 */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-title h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-title p {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-stats {
    display: flex;
    gap: 16px;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    transition: var(--transition-smooth);
}

.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-val {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.expense-color {
    color: var(--primary-light);
}

.balance-color {
    color: var(--success);
}

/* 프로그레스 바 */
.progress-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.progress-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 일정 네비게이션 탭 */
.days-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 16px;
    overflow-x: auto;
}

.tabs-container {
    display: flex;
    gap: 8px;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--card-bg);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-add-day {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.btn-add-day:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(244, 63, 94, 0.05);
}

/* 일자 상세 영역 */
.day-details-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h2 {
    font-size: 22px;
    font-weight: 700;
}

/* 타임라인 스타일 */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--card-hover-bg);
    transform: translateX(4px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid #0f172a;
    transition: var(--transition-smooth);
}

/* 카테고리별 데코레이션 */
.timeline-item.cat-schedule::before { background: #94a3b8; }
.timeline-item.cat-sightseeing::before { background: #10b981; }
.timeline-item.cat-food::before { background: #fb7185; }
.timeline-item.cat-transport::before { background: #3b82f6; }
.timeline-item.cat-hotel::before { background: #a855f7; }
.timeline-item.cat-shopping::before { background: #f59e0b; }
.timeline-item.cat-flight::before { background: #06b6d4; }
.timeline-item.cat-activity::before { background: #f43f5e; }
.timeline-item.cat-telecom::before { background: #6366f1; }
.timeline-item.cat-souvenir::before { background: #ec4899; }
.timeline-item.cat-other::before { background: #6b7280; }

.item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.item-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(244, 63, 94, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.item-title {
    font-size: 16px;
    font-weight: 600;
    word-break: break-all;
}

.item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    min-width: 0;
}

.category-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}

.item-memo {
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.memo-link {
    color: var(--secondary-gradient); /* 파란색 계열 강조 */
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 2px;
    transition: var(--transition-smooth);
}

.memo-link:hover {
    color: #93c5fd;
    text-decoration: none;
}

/* 카테고리 뱃지 컬러 */
.badge-schedule { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.badge-sightseeing { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-food { background: rgba(251, 113, 133, 0.15); color: #fda4af; }
.badge-transport { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-hotel { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.badge-shopping { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-flight { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.badge-activity { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.badge-telecom { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.badge-souvenir { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.badge-other { background: rgba(107, 114, 128, 0.15); color: #9ca3af; }

.item-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-cost {
    font-size: 16px;
    font-weight: 700;
}

.item-no-cost {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-delete-item {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.btn-delete-item:hover {
    color: var(--danger);
}

/* 일정 등록 카드 폼 */
.add-activity-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 10px;
}

.add-activity-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
}

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

.form-row-three {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row-three > .form-group {
    flex: 1;
    min-width: 150px;
}

.form-row-three > .form-group.flex-2 {
    flex: 2;
    min-width: 250px;
}

.form-row-four {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row-four > .form-group {
    flex: 1;
    min-width: 120px;
}

.form-row-four > .form-group.flex-2 {
    flex: 2;
    min-width: 220px;
}

.form-row-two {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row-two > .form-group {
    flex: 1;
    min-width: 200px;
}

.form-row-two > .form-group.flex-2 {
    flex: 2;
    min-width: 300px;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

/* 가이드 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 650px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--text-main);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px;
}

.guide-step h4 {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.guide-step p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.guide-step code {
    background: rgba(244, 63, 94, 0.1);
    color: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.guide-step pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: monospace;
    font-size: 11px;
    overflow-x: auto;
    color: #cbd5e1;
    margin-top: 10px;
}

.highlight {
    color: var(--primary-light);
    font-weight: 700;
}

/* 반응형 모바일 디자인 */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        max-height: 500px;
    }
    .main-content {
        padding: 20px;
    }
}

/* 여행 가이드 섹션 스타일 */
.travel-guide-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-top: 15px;
}

.travel-guide-section:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.guide-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
}

.guide-header h2 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.guide-header h2 i {
    color: var(--primary-light);
}

.toggle-icon {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.travel-guide-section.open .toggle-icon {
    transform: rotate(180deg);
}

.guide-body {
    padding: 24px;
    border-top: 1px solid var(--card-border);
    display: none; /* 기본 접힘 상태 */
    flex-direction: column;
    gap: 20px;
    background: rgba(0, 0, 0, 0.15);
}

/* 가이드 내부 탭 */
.guide-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 12px;
    overflow-x: auto;
}

.guide-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.guide-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.guide-tab-btn.active {
    color: var(--primary-light);
    background: rgba(244, 63, 94, 0.1);
}

.guide-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.guide-tab-content.active {
    display: block;
}

/* 준비물 목록 */
.guide-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.guide-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: var(--radius-md);
}

.guide-list-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-list-title i {
    color: var(--primary-light);
}

.guide-list p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 단계별 가이드 타임라인 */
.step-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    gap: 16px;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--glow-shadow);
}

.step-detail {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    flex: 1;
}

.step-detail h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-detail p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 꿀팁 그리드 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.tip-card {
    background: rgba(244, 63, 94, 0.02);
    border: 1px dashed rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: var(--transition-smooth);
}

.tip-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-light);
    background: rgba(244, 63, 94, 0.04);
}

.tip-card h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 스마트폰 전용 상세 모바일 최적화 (768px 이하) */
@media (max-width: 768px) {
    .sidebar {
        padding: 20px;
        max-height: none;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .dashboard-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .dashboard-stats .stat-box:last-child {
        grid-column: span 2;
    }
    
    .stat-box {
        min-width: 0;
        padding: 12px 6px;
        align-items: center;
        text-align: center;
    }
    
    .stat-label {
        font-size: 9px;
        margin-bottom: 4px;
    }
    
    .stat-val {
        font-size: 13px;
        word-break: break-all;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .item-right {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 10px;
    }
    
    .form-row-three, .form-row-two, .form-row-four {
        flex-direction: column;
        gap: 8px;
    }
    
    .guide-tabs {
        gap: 4px;
    }
    
    .guide-tab-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}
