/* Personalized Dashboard Styles */

.personalized-dashboard {
    background: linear-gradient(135deg, rgba(76, 139, 245, 0.1) 0%, rgba(211, 103, 193, 0.1) 100%);
    border: 1px solid rgba(76, 139, 245, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
}

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

.welcome-text h2 {
    font-size: 28px;
    margin: 0 0 8px 0;
    color: #fff;
}

.track-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(76, 139, 245, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: #7bb8ff;
    margin: 0;
}

.progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.progress-fill {
    stroke: url(#progress-gradient);
    stroke-dasharray: 283;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #4c8bf5;
}

.stat-label {
    font-size: 13px;
    color: #9495b3;
}

.continue-learning {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.continue-learning h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #b8b9d6;
}

.next-topic-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(90deg, #4c8bf5, #d367c1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.next-topic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 139, 245, 0.4);
}

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

.next-name {
    flex: 1;
    font-size: 18px;
}

.next-arrow {
    font-size: 20px;
}

.continue-learning.completed {
    text-align: center;
}

.continue-learning.completed h3 {
    font-size: 20px;
    color: #7CFF6E;
}

.explore-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    background: rgba(124, 255, 110, 0.1);
    border: 1px solid rgba(124, 255, 110, 0.3);
    border-radius: 8px;
    color: #7CFF6E;
    text-decoration: none;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-link {
    color: #7bb8ff;
    text-decoration: none;
    font-size: 14px;
}

.action-link:hover {
    text-decoration: underline;
}

/* Guest and no-assessment states */
.guest-state,
.no-assessment {
    text-align: center;
    padding: 40px 20px;
}

.guest-state h2,
.no-assessment h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.guest-state p,
.no-assessment p {
    color: #b8b9d6;
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guest-actions,
.assessment-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(90deg, #4c8bf5, #d367c1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 139, 245, 0.4);
}

.cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cta-note {
    font-size: 14px;
    color: #7a7b9d;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .dashboard-stats {
        flex-direction: column;
    }

    .guest-actions {
        flex-direction: column;
        align-items: center;
    }
}