/* 대시보드 스타일 */

.step-dashboard {
    padding: 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 24px;
}

.dashboard-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dashboard-date {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 목표 카드 */
.dashboard-goal-card {
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.3);
}

.dashboard-goal-amount {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.dashboard-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dashboard-progress-fill {
    height: 100%;
    background: white;
    border-radius: 100px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dashboard-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.9;
}

/* 통계 카드 */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

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

/* 대시보드 액션 버튼 */
.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-btn {
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dashboard-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-btn:active {
    transform: scale(0.98);
}

.dashboard-btn.record {
    background: linear-gradient(135deg, #00c853, #26de81);
    color: white;
}

.dashboard-btn.detail {
    background: var(--primary-color);
    color: white;
}

.dashboard-btn.new {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* 온보딩 스타일 */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    flex-direction: column;
    transition: background 0.5s ease;
}

.onboarding-overlay.active {
    display: flex;
}

/* 슬라이드별 배경색 */
.onboarding-overlay[data-slide="1"] { background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%); }
.onboarding-overlay[data-slide="2"] { background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); }
.onboarding-overlay[data-slide="3"] { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.onboarding-overlay[data-slide="4"] { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.onboarding-slides {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.onboarding-slide {
    display: none;
    text-align: center;
    color: white;
    max-width: 400px;
    animation: fadeIn 0.5s;
}

.onboarding-slide.active {
    display: block;
}

.onboarding-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

.onboarding-cat-image {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.onboarding-slide h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.onboarding-slide p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.onboarding-controls {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding-skip,
.onboarding-next {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.onboarding-skip:hover,
.onboarding-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.onboarding-next {
    background: white;
    color: var(--primary-color);
}

.onboarding-next:hover {
    background: rgba(255, 255, 255, 0.95);
}

.onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.onboarding-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, width 0.3s;
}

.onboarding-dot.active {
    background: white;
    width: 24px;
    border-radius: 100px;
}

/* 투자 시작하기 버튼 */
.action-btn.start-investment {
    background: linear-gradient(135deg, #00c853, #26de81);
    color: white;
    border: 2px solid transparent;
}

.action-btn.start-investment:hover {
    background: linear-gradient(135deg, #00b848, #22d077);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

/* 투자 기록 섹션 */
.investment-history {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.investment-history-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 8px;
    margin-bottom: 8px;
}

.history-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.history-amount {
    font-size: 15px;
    font-weight: 600;
    color: var(--success-color);
}

/* 다크모드 토글 */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    transition: transform 0.2s;
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* 다크모드 스타일 */
body.dark-mode {
    --text-primary: #f1f3f5;
    --text-secondary: #adb5bd;
    --text-tertiary: #868e96;
    --bg-primary: #1a1b1e;
    --bg-secondary: #25262b;
    --bg-tertiary: #2c2e33;
    --border-color: #373a40;
    --border-light: #2c2e33;
    --primary-light: #1e3a5f;
}

@media (max-width: 380px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-goal-amount {
        font-size: 28px;
    }

    .onboarding-icon {
        font-size: 60px;
    }

    .onboarding-slide h2 {
        font-size: 20px;
    }
}

/* ===== 새 대시보드 오버레이 스타일 ===== */

.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.dashboard-overlay.active {
    display: block;
}

.dashboard-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

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

.dashboard-header h1 {
    font-size: 24px;
    font-weight: 700;
}

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

.dashboard-header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.dashboard-header-btn:active {
    transform: scale(0.95);
}

/* 레거시 호환성 유지 */
.dashboard-theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.dashboard-theme-btn:active {
    transform: scale(0.95);
}

/* 진행률 카드 */
.dashboard-progress-card {
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.3);
}

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

.progress-title {
    font-size: 16px;
    font-weight: 600;
}

.progress-percent {
    font-size: 28px;
    font-weight: 800;
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: white;
    border-radius: 100px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-label {
    font-size: 12px;
    opacity: 0.8;
}

.progress-value {
    font-size: 14px;
    font-weight: 700;
}

/* 통계 카드 */
.stat-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-icon {
    font-size: 24px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

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

/* 대시보드 버튼 스타일 업데이트 */
.dashboard-btn.primary {
    background: linear-gradient(135deg, #00c853, #26de81);
    color: white;
}

.dashboard-btn.secondary {
    background: var(--primary-color);
    color: white;
}

.dashboard-btn.outline {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* 피클플러스 대시보드 배너 */
.dashboard-pickle {
    margin-top: 24px;
}

/* 투자 기록 섹션 */
.dashboard-history {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 16px;
    margin-top: 20px;
}

.dashboard-history h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-list .empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
    font-size: 14px;
}

/* 투자 종료 버튼 */
.dashboard-end-btn {
    width: 100%;
    padding: 12px;
    margin-top: 24px;
    background: transparent;
    color: var(--text-tertiary);
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

/* 기록 모달 */
.record-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.record-modal-overlay.active {
    display: flex;
}

.record-modal {
    background: var(--bg-primary);
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
}

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

.record-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.record-modal-body {
    padding: 24px 20px;
    text-align: center;
}

.record-month {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.record-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.record-input {
    width: 100%;
    max-width: 280px;
    padding: 12px 16px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.record-input::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-tertiary);
}

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

.record-suffix {
    font-size: 18px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.record-input-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.record-quick-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.record-quick-btns button {
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.record-quick-btns button:active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.record-quick-btns button:last-child {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.record-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.record-cancel-btn,
.record-save-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.record-cancel-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.record-save-btn {
    background: var(--primary-color);
    color: white;
}

/* 모달 내 프로모 배너 */
.modal-promo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 20px 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 12px;
    text-decoration: none;
    color: white;
}

.modal-promo-icon {
    font-size: 24px;
}

.modal-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-promo-title {
    font-size: 14px;
    font-weight: 600;
}

.modal-promo-sub {
    font-size: 12px;
    opacity: 0.9;
}

.modal-promo-arrow {
    font-size: 18px;
    opacity: 0.8;
}

/* 포트폴리오 모달 */
.portfolio-modal-overlay,
.history-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portfolio-modal-overlay.active,
.history-modal-overlay.active {
    display: flex;
}

.portfolio-modal,
.history-modal {
    background: var(--bg-primary);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.portfolio-modal-header h3,
.history-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.portfolio-modal-body,
.history-modal-body {
    padding: 12px 16px;
    overflow-y: auto;
    flex: 1;
}

.portfolio-modal-footer,
.history-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.portfolio-close-btn,
.history-close-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* 포트폴리오 상세 정보 */
.portfolio-summary {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.portfolio-summary-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.portfolio-summary-rate {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.portfolio-summary-rate span {
    font-size: 16px;
    color: var(--text-secondary);
}

.portfolio-etf-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portfolio-etf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.portfolio-etf-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-etf-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.portfolio-etf-rate {
    font-size: 13px;
    color: var(--text-secondary);
}

.portfolio-etf-percent {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-etf-amount {
    text-align: right;
}

.portfolio-etf-amount-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.portfolio-etf-amount-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 투자 기록 목록 */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.history-list-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.history-list-amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.history-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary);
}

.history-total {
    margin-top: 16px;
    padding: 16px;
    background: var(--primary-color);
    border-radius: 12px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.history-total-amount {
    font-size: 20px;
    font-weight: 700;
}

/* 온보딩 컨테이너 스타일 업데이트 */
.onboarding-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.onboarding-container .onboarding-slide {
    flex: 1;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.onboarding-container .onboarding-slide.active {
    display: flex;
}

.onboarding-container .onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.onboarding-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

/* 투자 시작하기 버튼 (결과 화면) - OTT 배너와 비슷한 크기 */
.start-investment-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px 22px;
    margin: 20px 0;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.start-investment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.start-investment-btn:active {
    transform: translateY(0);
}

.start-investment-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.start-investment-text {
    font-size: 17px;
    font-weight: 700;
}

.start-investment-sub {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}

.start-investment-hint {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}

/* 다크모드 추가 스타일 */
body.dark-mode .dashboard-progress-card {
    background: linear-gradient(135deg, #1e4a8f 0%, #153a6a 100%);
}

body.dark-mode .record-input {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

body.dark-mode .record-quick-btns button {
    background: var(--bg-tertiary);
}

/* ===== 토스 스타일 대시보드 v2 ===== */

/* 헤더 v2 */
.dashboard-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 20px;
}

.dashboard-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
}

.greeting-emoji {
    font-size: 32px;
}

.greeting-text {
    display: flex;
    flex-direction: column;
}

.greeting-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.greeting-level {
    font-size: 13px;
    color: var(--text-tertiary);
}

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

.header-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.header-action-btn:hover {
    background: var(--bg-tertiary);
}

.header-action-btn:active {
    transform: scale(0.95);
}

/* 메인 자산 카드 */
.asset-card {
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.asset-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.asset-amount {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.asset-goal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.asset-goal strong {
    color: white;
}

.asset-percent {
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.asset-progress {
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}

.asset-progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.asset-edit-hint {
    position: absolute;
    bottom: 10px;
    right: 16px;
    font-size: 11px;
    opacity: 0.6;
}

/* 퀵 액션 버튼 */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-action-btn:active {
    transform: scale(0.97);
    background: var(--bg-secondary);
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
}

.quick-action-btn.primary:active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.quick-action-icon {
    font-size: 24px;
}

.quick-action-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.quick-action-btn.primary .quick-action-text {
    color: white;
}

/* 요약 카드 */
.summary-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.summary-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--bg-primary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.summary-icon {
    font-size: 20px;
}

.summary-content {
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-more {
    font-size: 13px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
}

/* 히스토리 섹션 */
.history-section {
    margin-bottom: 24px;
}

/* 설정 섹션 */
.settings-section {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.settings-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.settings-btn:last-child {
    border-bottom: none;
}

.settings-btn:hover {
    background: var(--bg-secondary);
}

.settings-btn:active {
    background: var(--bg-tertiary);
}

.settings-icon {
    font-size: 20px;
    margin-right: 12px;
}

.settings-text {
    flex: 1;
    text-align: left;
    font-size: 15px;
    color: var(--text-primary);
}

.settings-btn.danger .settings-text {
    color: #ef4444;
}

.settings-arrow {
    font-size: 18px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* 다크모드 */
body.dark-mode .asset-card {
    background: linear-gradient(135deg, #1e4a8f 0%, #153a6a 100%);
}

body.dark-mode .quick-action-btn.primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ===== 기존 대시보드 스타일 (레거시) ===== */

/* 심플 프로필 카드 */
.profile-card-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.profile-card-simple:active {
    transform: scale(0.98);
}

.profile-card-simple .profile-level-badge {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.profile-card-simple .profile-nickname {
    font-size: 16px;
    margin-bottom: 2px;
}

.profile-card-simple .profile-level-name {
    font-size: 12px;
}

/* 메인 액션 버튼 */
.dashboard-main-action {
    width: 100%;
    padding: 20px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(49, 130, 246, 0.3);
}

.dashboard-main-action:active {
    transform: scale(0.98);
}

.main-action-icon {
    font-size: 28px;
}

.main-action-text {
    font-size: 18px;
    font-weight: 700;
}

/* 간단한 진행 상세 */
.progress-details-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.progress-details-simple strong {
    color: white;
    font-weight: 700;
}

/* 간단한 통계 */
.dashboard-stats-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.dashboard-stats-simple .stat-item {
    text-align: center;
}

.dashboard-stats-simple .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.dashboard-stats-simple .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* 부가 액션 버튼 */
.dashboard-sub-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.sub-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.sub-action-btn:active {
    transform: scale(0.98);
    background: var(--bg-secondary);
}

/* 하단 메뉴 */
.dashboard-footer-menu {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-menu-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.2s;
}

.footer-menu-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.footer-menu-btn.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ===== 기존 프로필 카드 스타일 ===== */
.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.profile-card:active {
    transform: scale(0.98);
}

.profile-level-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

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

.profile-nickname {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-level-name {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.profile-progress-wrapper {
    text-align: right;
    flex-shrink: 0;
}

.profile-level-message {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.profile-next-level {
    font-size: 11px;
    color: var(--text-tertiary);
}

.profile-edit-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 14px;
    opacity: 0.5;
}

/* 프로필 아바타 (첫글자 표시) */
.profile-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
}

/* 대시보드 헤더 프로필 영역 */
.dashboard-greeting .profile-edit-icon {
    position: static;
    font-size: 12px;
    opacity: 0.6;
    margin-left: 4px;
}

.dashboard-greeting:hover {
    opacity: 0.85;
}

.dashboard-greeting:active {
    transform: scale(0.98);
}

body.dark-mode .profile-avatar {
    background: linear-gradient(135deg, #1e4a8f 0%, #153a6a 100%);
}

/* 프로필 모달 스타일 */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-modal-overlay.active {
    display: flex;
}

.profile-modal {
    background: var(--bg-primary);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

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

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

.profile-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-modal-body {
    padding: 24px 20px;
}

.profile-input-group {
    margin-bottom: 20px;
}

.profile-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

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

.profile-input::placeholder {
    color: var(--text-tertiary);
}

.profile-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-input-wrapper .profile-input {
    flex: 1;
    text-align: right;
}

.profile-input-suffix {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-input-hint {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.profile-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.profile-cancel-btn,
.profile-save-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.profile-cancel-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.profile-cancel-btn:hover {
    background: var(--border-color);
}

.profile-save-btn {
    background: var(--primary-color);
    color: white;
}

.profile-save-btn:hover {
    background: #2970e0;
}

/* 다크모드 프로필 스타일 */
body.dark-mode .profile-level-badge {
    background: linear-gradient(135deg, #3d3527 0%, #4a3f2d 100%);
}

body.dark-mode .profile-input {
    background: var(--bg-tertiary);
}

/* 레벨별 배지 색상 */
.profile-level-badge.level-1 { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.profile-level-badge.level-2 { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.profile-level-badge.level-3 { background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); }
.profile-level-badge.level-4 { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); }
.profile-level-badge.level-5 { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }
.profile-level-badge.level-6 { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); box-shadow: 0 0 20px rgba(255, 193, 7, 0.3); }

body.dark-mode .profile-level-badge.level-1 { background: linear-gradient(135deg, #1a3a5c 0%, #234b6e 100%); }
body.dark-mode .profile-level-badge.level-2 { background: linear-gradient(135deg, #1b3a2f 0%, #245a42 100%); }
body.dark-mode .profile-level-badge.level-3 { background: linear-gradient(135deg, #3d3527 0%, #4a3f2d 100%); }
body.dark-mode .profile-level-badge.level-4 { background: linear-gradient(135deg, #3d2535 0%, #4d2d42 100%); }
body.dark-mode .profile-level-badge.level-5 { background: linear-gradient(135deg, #352540 0%, #3d2d4a 100%); }
body.dark-mode .profile-level-badge.level-6 { background: linear-gradient(135deg, #3d3020 0%, #4d3d28 100%); box-shadow: 0 0 20px rgba(255, 193, 7, 0.2); }

/* ===== 백업/복원 섹션 ===== */
.backup-section {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.backup-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.backup-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.backup-buttons {
    display: flex;
    gap: 12px;
}

.backup-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.backup-btn.export {
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    color: white;
}

.backup-btn.import {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.backup-btn:active {
    transform: scale(0.98);
}

.backup-btn-icon {
    font-size: 24px;
}

.backup-btn-text {
    font-size: 13px;
    font-weight: 600;
}

/* ===== 설정 섹션 개선 ===== */
.settings-section {
    margin-top: 16px;
    margin-bottom: 8px;
}

.settings-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 4px;
}

.settings-btn-group {
    display: flex;
    gap: 10px;
}

.settings-btn-group .settings-btn {
    flex: 1;
    justify-content: center;
    padding: 14px 12px;
}

.settings-btn-group .settings-btn .settings-text {
    font-size: 13px;
}

.settings-btn-group .settings-btn .settings-arrow {
    display: none;
}

/* 위험 영역 */
.settings-section.danger-zone {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

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

.settings-btn.danger.full-width {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.settings-btn.danger.full-width:hover {
    background: rgba(255, 68, 68, 0.12);
}

body.dark-mode .settings-btn.danger.full-width {
    background: rgba(255, 68, 68, 0.15);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* ========================================
   대시보드 V3 - 살림냥이 스타일
======================================== */

.dashboard-container-v3 {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 32px;
    background: var(--bg-secondary);
    min-height: 100vh;
}

/* 상단 헤더 바 */
.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.topbar-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-primary);
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.topbar-btn:active {
    transform: scale(0.95);
}

/* 프로필 카드 */
.profile-card-v3 {
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.25);
}

.profile-card-v3:active {
    transform: scale(0.98);
}

.profile-card-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.profile-card-avatar img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.profile-card-avatar .avatar-emoji {
    font-size: 56px;
    line-height: 1;
}

.profile-card-greeting {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-card-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 퀵 메뉴 그리드 */
.quick-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.quick-menu-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quick-menu-item:active {
    transform: scale(0.98);
    background: var(--bg-secondary);
}

.quick-menu-icon {
    font-size: 32px;
}

.quick-menu-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-menu-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 투자 현황 카드 */
.status-card-v3 {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

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

.status-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.status-card-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.status-card-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.status-card-progress {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 8px;
}

body.dark-mode .status-card-v3 .status-card-progress {
    background: rgba(255, 255, 255, 0.15);
}

.status-card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3182f6 0%, #1b64da 100%);
    border-radius: 100px;
    transition: width 0.5s ease;
}

.status-card-goal {
    font-size: 13px;
    color: var(--text-secondary);
}

.status-card-goal strong {
    color: var(--text-primary);
}

/* 투자 통계 */
.stats-row-v3 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.stat-item-v3 {
    text-align: center;
    flex: 1;
}

.stat-value-v3 {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label-v3 {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* 프로모션 배너 - OTT 절약 (promo-banner-large와 동일) */
.promo-banner-v3 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    margin-bottom: 4px;
    transition: transform 0.2s;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.promo-banner-v3:active {
    transform: scale(0.98);
}

.promo-banner-v3.step1-banner {
    margin-top: 24px;
}

.promo-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.promo-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
}

.promo-banner-text {
    font-size: 16px;
    font-weight: 700;
}

.promo-banner-sub {
    font-size: 13px;
    opacity: 0.85;
}

.promo-banner-arrow {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.affiliate-disclosure-v3 {
    font-size: 11px;
    color: var(--text-tertiary);
    text-align: left;
    margin-bottom: 8px;
}

/* 섹션 타이틀 */
.section-title-v3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: left;
}

/* 백업 그리드 */
.backup-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.backup-card-v3 {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.backup-card-v3:active {
    transform: scale(0.98);
    background: var(--bg-secondary);
}

.backup-card-icon {
    font-size: 32px;
}

.backup-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.backup-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.backup-hint-v3 {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 16px;
}

/* 큰 프로모 배너 (구독료 절약) */
.promo-banner-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    text-decoration: none;
    margin-bottom: 8px;
}

.promo-banner-large-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.promo-banner-large-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-banner-large-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
}

.promo-banner-large-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.promo-banner-large-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.promo-banner-large-arrow {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

/* 쿠팡 배너 (파란색) */
a.promo-banner-large.coupang-shopping,
a.promo-banner-large.coupang-book {
    background: linear-gradient(135deg, #3182f6 0%, #1a65d9 100%) !important;
}

.coupang-shopping,
.coupang-book {
    background: linear-gradient(135deg, #3182f6 0%, #1a65d9 100%) !important;
}

/* 데이터 삭제 배너 */
.delete-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.delete-banner:active {
    background: rgba(239, 68, 68, 0.05);
}

.delete-banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.delete-banner-text {
    color: #ef4444;
    font-size: 15px;
    font-weight: 600;
}

.delete-banner-sub {
    flex: 1;
    text-align: right;
    color: var(--text-tertiary);
    font-size: 12px;
}

/* 푸터 */
.dashboard-footer-v3 {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.footer-reset-btn {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s;
}

.footer-reset-btn:hover {
    color: #f44;
}

.footer-copyright {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 12px;
}

/* 다크모드 */
body.dark-mode .profile-card-v3 {
    background: linear-gradient(135deg, #1e4a8f 0%, #153a6a 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .profile-card-greeting {
    color: #fff;
}

body.dark-mode .profile-card-info {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .profile-card-avatar {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-mode .promo-banner-v3 {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
}

body.dark-mode .promo-banner-large {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ===== 금액 달성 레벨 카드 ===== */
.amount-level-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.amount-level-header {
    margin-bottom: 12px;
}

.amount-level-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount-level-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.amount-level-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.amount-level-message {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.amount-level-next {
    font-size: 13px;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

/* ===== 이번 달 투자 현황 카드 ===== */
.monthly-status-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.monthly-status-header {
    margin-bottom: 12px;
}

.monthly-status-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.monthly-status-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.monthly-status-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.monthly-status-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.monthly-status-divider {
    color: var(--text-tertiary);
    font-size: 14px;
}

.monthly-status-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.monthly-status-percent {
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 100px;
    margin-left: auto;
}

.monthly-status-message {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
}

.monthly-status-message.highlight {
    background: linear-gradient(135deg, rgba(49, 130, 246, 0.1) 0%, rgba(27, 100, 218, 0.1) 100%);
    color: var(--primary-color);
    font-weight: 500;
}

body.dark-mode .monthly-status-message.highlight {
    background: linear-gradient(135deg, rgba(49, 130, 246, 0.2) 0%, rgba(27, 100, 218, 0.2) 100%);
}

body.dark-mode .monthly-status-message {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

body.dark-mode .amount-level-next {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* ===== 투자 기록 수정/삭제 버튼 스타일 ===== */
.history-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

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

.history-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

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

.history-edit-btn,
.history-delete-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-edit-btn:hover {
    background: var(--primary-light);
}

.history-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== 기록 수정 모달 스타일 ===== */
.edit-record-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.edit-record-modal-overlay.active {
    display: flex;
}

.edit-record-modal {
    background: var(--bg-primary);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

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

.edit-record-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.edit-record-modal-body {
    padding: 20px;
}

.edit-record-date {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.edit-record-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 0 16px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.edit-record-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.edit-record-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 20px;
    font-family: inherit;
    font-weight: 600;
    padding: 14px 0;
    color: var(--text-primary);
    text-align: right;
    outline: none;
}

.edit-record-suffix {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 8px;
}

.edit-record-modal-footer {
    display: flex;
    padding: 16px 20px;
    gap: 12px;
    border-top: 1px solid var(--border-light);
}

.edit-record-cancel-btn,
.edit-record-save-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-record-cancel-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.edit-record-save-btn {
    background: var(--primary-color);
    color: white;
}

.edit-record-save-btn:active {
    transform: scale(0.98);
}

/* 다크모드 */
body.dark-mode .edit-record-modal {
    background: var(--bg-secondary);
}

body.dark-mode .history-edit-btn,
body.dark-mode .history-delete-btn {
    background: var(--bg-tertiary);
}

body.dark-mode .edit-record-input-wrapper {
    background: var(--bg-tertiary);
}

body.dark-mode .edit-record-input-wrapper:focus-within {
    background: var(--bg-primary);
}

/* ===== 리마인더 카드 스타일 ===== */
.reminder-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.reminder-card:active {
    transform: scale(0.98);
}

.reminder-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminder-card-icon {
    font-size: 24px;
}

.reminder-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reminder-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.reminder-card-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

.reminder-card-arrow {
    font-size: 20px;
    color: var(--text-tertiary);
}

/* ===== 리마인더 모달 스타일 ===== */
.reminder-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.reminder-modal-overlay.active {
    display: flex;
}

.reminder-modal {
    background: var(--bg-primary);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

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

.reminder-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.reminder-modal-body {
    padding: 20px;
}

.reminder-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reminder-toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.reminder-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

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

.reminder-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-tertiary);
    border-radius: 100px;
    transition: all 0.3s;
}

.reminder-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.reminder-options {
    display: none;
}

.reminder-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.reminder-option-label {
    font-size: 15px;
    color: var(--text-primary);
}

.reminder-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.reminder-info {
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
}

.reminder-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

.reminder-save-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.reminder-save-btn:active {
    transform: scale(0.98);
}

/* 다크모드 */
body.dark-mode .reminder-card {
    background: var(--bg-secondary);
}

body.dark-mode .reminder-modal {
    background: var(--bg-secondary);
}

body.dark-mode .reminder-select {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

/* ===== 오프라인 배너 스타일 ===== */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff9100 0%, #ff6d00 100%);
    color: white;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 99999;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.offline-icon {
    font-size: 16px;
}

.offline-text {
    text-align: center;
}

/* ===== 자동 백업 설정 스타일 ===== */
.auto-backup-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.auto-backup-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auto-backup-icon {
    font-size: 24px;
}

.auto-backup-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auto-backup-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.auto-backup-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

body.dark-mode .auto-backup-card {
    background: var(--bg-secondary);
}

/* ===== 다크모드 전체 스타일 보완 ===== */

/* 대시보드 컨테이너 */
body.dark-mode .dashboard-container-v3 {
    background: var(--bg-primary);
}

/* 탑바 */
body.dark-mode .dashboard-topbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .topbar-title {
    color: var(--text-primary);
}

body.dark-mode .topbar-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .topbar-btn:active {
    background: var(--bg-tertiary);
}

/* 퀵 메뉴 */
body.dark-mode .quick-menu-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.dark-mode .quick-menu-item:active {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

body.dark-mode .quick-menu-label {
    color: var(--text-primary);
}

body.dark-mode .quick-menu-desc {
    color: var(--text-secondary);
}

/* 투자 현황 카드 */
body.dark-mode .status-card-v3 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.dark-mode .status-card-title {
    color: var(--text-secondary);
}

body.dark-mode .status-card-amount {
    color: var(--text-primary);
}

body.dark-mode .status-card-goal {
    color: var(--text-secondary);
}

/* 투자 통계 */
body.dark-mode .stats-row-v3 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.dark-mode .stat-value-v3 {
    color: var(--text-primary);
}

body.dark-mode .stat-label-v3 {
    color: var(--text-secondary);
}

body.dark-mode .stat-divider {
    background: var(--border-color);
}

/* 이번 달 현황 카드 */
body.dark-mode .monthly-status-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.dark-mode .monthly-status-title {
    color: var(--text-secondary);
}

body.dark-mode .monthly-status-count,
body.dark-mode .monthly-status-divider {
    color: var(--text-secondary);
}

/* 금액 레벨 카드 */
body.dark-mode .amount-level-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.dark-mode .amount-level-title {
    color: var(--text-secondary);
}

body.dark-mode .amount-level-name {
    color: var(--text-primary);
}

/* 푸터 */
body.dark-mode .dashboard-footer {
    border-top: 1px solid var(--border-color);
}

body.dark-mode .footer-menu-item {
    color: var(--text-secondary);
}

body.dark-mode .footer-menu-item:hover {
    color: var(--text-primary);
}

/* ===== 학습 콘텐츠 링크 섹션 ===== */
.learn-section-v3 {
    margin: 16px 0;
}

.learn-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.learn-links-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

/* 첫번째 줄: 3개 (각 2칸씩) */
.learn-links-grid-5 .learn-link-card:nth-child(1) {
    grid-column: 1 / 3;
}

.learn-links-grid-5 .learn-link-card:nth-child(2) {
    grid-column: 3 / 5;
}

.learn-links-grid-5 .learn-link-card:nth-child(3) {
    grid-column: 5 / 7;
}

/* 두번째 줄: 2개 (각 3칸씩, 중앙 정렬) */
.learn-links-grid-5 .learn-link-card:nth-child(4) {
    grid-column: 1 / 4;
}

.learn-links-grid-5 .learn-link-card:nth-child(5) {
    grid-column: 4 / 7;
}

.learn-links-grid-5 .learn-link-card {
    padding: 12px 8px;
}

.learn-links-grid-5 .learn-link-icon {
    font-size: 20px;
}

.learn-links-grid-5 .learn-link-text {
    font-size: 11px;
}

.learn-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.learn-link-card:active {
    transform: scale(0.98);
    background: var(--bg-secondary);
}

.learn-link-icon {
    font-size: 24px;
}

.learn-link-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}

body.dark-mode .learn-link-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.dark-mode .learn-link-card:active {
    background: var(--bg-tertiary);
}

body.dark-mode .learn-link-text {
    color: #f1f5f9;
}

/* 학습 콘텐츠 접이식 아코디언 */
.learn-accordion {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
}

.learn-accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.2s;
}

.learn-accordion-header:hover {
    background: var(--bg-secondary);
}

.learn-accordion-icon {
    font-size: 18px;
}

.learn-accordion-title {
    flex: 1;
    text-align: left;
}

.learn-accordion-arrow {
    font-size: 10px;
    color: var(--text-tertiary);
    transition: transform 0.3s;
}

.learn-accordion.open .learn-accordion-arrow {
    transform: rotate(180deg);
}

.learn-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
}

.learn-accordion.open .learn-accordion-content {
    max-height: 300px;
    padding: 0 20px 16px 20px;
}

body.dark-mode .learn-accordion {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

body.dark-mode .learn-accordion-header:hover {
    background: var(--bg-secondary);
}

/* 프로필 인사말 카드 (간소화) */
.profile-greeting-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #3182f6 0%, #1b64da 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.profile-greeting-card:active {
    transform: scale(0.98);
}

.profile-greeting-icon {
    font-size: 32px;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.profile-greeting-text {
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

.profile-nickname {
    font-weight: 700;
    color: white;
}

.profile-message {
    opacity: 0.9;
}

/* 다음 레벨 진행 카드 */
.level-progress-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.level-progress-header {
    margin-bottom: 12px;
}

.level-progress-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.level-progress-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.level-progress-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
}

.level-current {
    font-weight: 600;
    color: var(--text-primary);
}

.level-arrow {
    color: var(--text-tertiary);
}

.level-next {
    font-weight: 600;
    color: var(--primary-color);
}

.level-progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #10b981);
    border-radius: 100px;
    transition: width 0.5s ease;
    width: 0%;
}

.level-progress-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

body.dark-mode .level-progress-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

/* 컴팩트 프로모 배너 */
.promo-banner-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
}

.promo-banner-compact:hover,
.promo-banner-compact:active {
    background: var(--bg-tertiary);
}

.promo-compact-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.promo-compact-text {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.promo-compact-arrow {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* 대시보드 내 아코디언 */
.dashboard-accordion {
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dashboard-accordion .learn-accordion-header {
    padding: 14px 16px;
}

.dashboard-accordion .learn-accordion-content {
    padding: 0 16px;
}

.dashboard-accordion.open .learn-accordion-content {
    padding: 0 16px 16px 16px;
}

/* ===== 결과 페이지 - 월 수령액 카드 ===== */
.monthly-income-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

.monthly-income-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.monthly-income-icon {
    font-size: 20px;
}

.monthly-income-title {
    font-size: 15px;
    font-weight: 600;
    color: #166534;
}

.monthly-income-content {
    text-align: center;
}

.monthly-income-desc {
    font-size: 13px;
    color: #15803d;
    margin-bottom: 8px;
}

.monthly-income-amount {
    font-size: 28px;
    font-weight: 800;
    color: #166534;
    margin-bottom: 8px;
}

.monthly-income-note {
    font-size: 12px;
    color: #22c55e;
}

body.dark-mode .monthly-income-card {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    border-color: #22c55e;
}

body.dark-mode .monthly-income-title {
    color: #86efac;
}

body.dark-mode .monthly-income-desc {
    color: #86efac;
}

body.dark-mode .monthly-income-amount {
    color: #4ade80;
}

body.dark-mode .monthly-income-note {
    color: #86efac;
}

/* ===== 결과 페이지 - 컴팩트 광고 섹션 ===== */
.compact-ads-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.compact-ads-disclosure {
    font-size: 11px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 4px;
}

/* 결과 페이지 아코디언 */
.result-accordion {
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.result-accordion .learn-accordion-header {
    padding: 14px 16px;
}

.result-accordion .learn-accordion-content {
    padding: 0 16px;
}

.result-accordion.open .learn-accordion-content {
    padding: 0 16px 16px 16px;
}

