/* ==========================================================================
   4. 대시보드 및 통계 (Dashboard & Stats)
   ========================================================================== */
.dashboard-body {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 2rem;
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.progress-circle-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.progress-circle-svg {
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 10;
}

.progress-circle-val {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 10;
    stroke-dasharray: 440;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stats-card {
    border-radius: 24px !important;
    background-color: var(--bg-card) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--border-color) !important;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.category-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

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

.category-details {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: var(--bg-main);
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.detail-item:hover {
    border-color: var(--primary-blue);
    background: var(--bg-card);
    cursor: pointer;
    transform: translateX(4px);
}

.detail-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.detail-item.completed .dot {
    background-color: var(--success-green);
}

.detail-item.remaining .dot {
    background-color: var(--danger-red);
}

.detail-item .item-title {
    color: var(--text-main);
}

/* Welcome Page (6.8) */
.welcome-body {
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.welcome-card {
    max-width: 650px;
    width: 90%;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.stat-badge {
    flex: 1;
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
}

.stat-standard {
    background-color: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.stat-lite {
    background-color: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.stat-standard .stat-label {
    color: var(--primary-blue);
}

.stat-lite .stat-label {
    color: #ea580c;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-standard .stat-value {
    color: var(--primary-blue);
}

.stat-lite .stat-value {
    color: #ea580c;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.step-icon-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.step-text h5 {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-main);
    font-size: 1rem;
}

.step-text p {
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.guide-alert {
    background-color: rgba(2, 132, 199, 0.1);
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.75rem;
}

.footer-notice {
    background: var(--bg-main);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}