/* =========================================
   MY PROGRESS DASHBOARD
   ========================================= */

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* --- Badges --- */
.badges-row {
    display: flex;
    gap: 3rem; /* Increased gap to comfortably fit the bigger 120px badges */
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease; /* Adds a smooth hover effect */
}

.badge-item:hover {
    transform: translateY(-5px); /* Makes the badge float up slightly when hovered */
}

.badge-placeholder {
    width: 100px; /* Increased to match the new earned badge size */
    height: 100px;
    background-color: #d1d5db; /* Light grey from mockup */
    border-radius: 50%;
}

/* --- Progress Cards --- */
.progress-card {
    background-color: #6993c8; /* The soft blue from your mockup */
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #0d47a1; /* Dark blue background behind the logo */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.course-logo {
    width: 60%;
    height: auto;
}

.card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-details h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.course-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* --- Progress Bar --- */
.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.progress-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    width: 35px; /* Keeps text aligned */
}

.progress-track {
    flex: 1;
    height: 10px;
    background-color: #b8c8dd; /* Light transparent blue/grey track */
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0d47a1; /* Dark blue fill */
    border-radius: 10px;
}

/* --- Card Buttons --- */
.card-actions {
    display: flex;
    gap: 1rem;
}

.btn-white {
    background-color: #ffffff;
    color: #111;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-white:hover {
    background-color: #f3f4f6;
}

