﻿.courses-header .description {
    font-size: clamp(14px, 1.5vw, 18px);
    font-family: "Newsreader", serif;
    color: #676f7e;
    line-height: 180%;
    margin-top: 22px;
    max-width: 578px;
}

.progress-section {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 32px;
}

.progress-card {
    background: #f4f7fa;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e5e8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-label {
    font-size: clamp(12px, 1.5vw, 14px);
    font-family: "Newsreader", serif;
    color: #676f7e;
    text-transform: uppercase;
}

.progress-count {
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 600;
    color: var(--primary-dark);
    font-family: "Geist Mono", monospace, sans-serif;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 4px;
    background: #E3E5E8;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Courses Section */
.courses-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.course-section-title {
    font-size: 14px;
    font-family: "Geist Mono", monospace, serif;
    color: #676f7e;
    text-transform: uppercase;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Course Item */
.course-item {
    background: #f4f7fa;
    border-radius: 24px;
    padding: 20px;
    border: 2px solid #e3e5e8;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    animation-delay: calc(0.2s + (var(--i) * 0.1s));
}

    .course-item:hover {
        border-color: #4a90e2;
        border-width: 2px;
    }

    .course-item:focus {
        border-width: 2px;
        outline: none;
        border-color: #357abd;
    }


/* Status Icon */
.status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #ddd;
}

    .status-icon.completed {
        border-color: var(--primary-dark);
    }

    .status-icon.incomplete svg {
        display: none;
    }

    .status-icon svg {
        width: 14.5px;
        height: 10.67px;
    }

/* Course Content */
.course-content {
    flex: 1;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 4px;
    font-family: "Geist Mono" monospace,sans-serif;
}

.course-number {
    font-size: 12px;
    font-weight: 400;
    color: #676F7E;
    letter-spacing: 1.2;
    font-family: "Geist Mono", monospace, serif;
}

.course-description {
    font-size: 14px;
    line-height: 1.2;
    color: #676F7E;
    font-family: "Newsreader", serif;
}

/* Action Button */
.action-container {
    min-width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.course-action {
    padding: 4px;
    background: transparent;
    border: none;
    color: #676F7E;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-top: 2px;
}

    .course-action:hover {
        border-color: #4a90e2;
        color: #4a90e2;
        transform: translateY(-2px);
    }

    .course-action.start:hover {
        background: #357abd;
        border-color: #357abd;
        color: #fff;
    }

/* Tablet Styles */
@media (min-width: 640px) {

    .progress-card {
        padding: 30px;
    }



    .course-description {
        font-size: 15px;
    }

    .action-container {
        min-width: unset;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {


    .progress-card {
        padding: 30px 35px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-card {
    animation-delay: 0.1s;
}


@keyframes progressFill {
    from {
        width: 0;
    }

    to {
        width: var(--progress-width);
    }
}

.progress-bar-fill {
    animation: progressFill 1s ease-out forwards;
    animation-delay: 0.3s;
}
