/* =========================
   ACTIVITIES
========================= */

.activity-tabs {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.activity-tab {

    border: none;

    background: white;

    padding: 14px 20px;

    border-radius: 18px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.05);
}

.activity-tab:hover {

    transform: translateY(-2px);
}

.active-tab {

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );

    color: white;
}

.activity-stat-card {

    background: white;

    border-radius: 24px;

    padding: 24px;

    text-align: center;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.05);
}

.activity-stat-value {

    font-size: 36px;

    font-weight: 800;

    margin-bottom: 10px;
}

.activity-stat-label {

    color: #6b7280;

    font-weight: 600;
}

.modern-activity-card {

    background: white;

    border-radius: 28px;

    padding: 24px;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);

    transition: 0.25s ease;
}

.modern-activity-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.10);
}

.activity-title {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 10px;

    color: #111827;
}

.activity-course {

    color: #4b5563;

    margin-bottom: 10px;
}

.activity-meta {

    color: #6b7280;

    font-size: 14px;
}

.activity-success {

    margin-top: 14px;

    color: #16a34a;

    font-weight: 700;
}

.activity-danger {

    margin-top: 14px;

    color: #dc2626;

    font-weight: 700;
}

.activity-btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );

    color: white;

    font-weight: 700;

    text-decoration: none;

    transition: 0.25s ease;
}

.activity-btn-primary:hover {

    transform: translateY(-2px);
}

.certificate-card {

    background: white;

    border-radius: 28px;

    padding: 30px;

    text-align: center;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);
}

.certificate-icon {

    font-size: 60px;

    margin-bottom: 20px;
}

.certificate-title {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 10px;
}

.certificate-date {

    color: #6b7280;
}
/* =========================
   ASSIGNMENT V2 CARD
========================= */

.assignment-card-v2 {

    background: white;

    border-radius: 30px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.05);

    transition:
        all 0.25s ease;
}

.assignment-card-v2:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.10);
}

/* HEADER */

.assignment-card-header {

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #2563eb
        );

    padding: 24px;

    color: white;
}

.assignment-subject-pill {

    display: inline-flex;

    align-items: center;

    padding: 8px 14px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.16);

    backdrop-filter: blur(10px);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 14px;
}

.assignment-title {

    font-size: 28px;

    font-weight: 800;

    line-height: 1.2;
}

/* BODY */

.assignment-card-body {

    padding: 24px;
}

/* META */

.assignment-meta-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(140px, 1fr));

    gap: 16px;

    margin-bottom: 24px;
}

.assignment-meta-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 22px;

    padding: 18px;
}

.assignment-meta-label {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    color: #64748b;

    margin-bottom: 8px;

    font-weight: 700;
}

/* FEEDBACK */

.assignment-feedback-box {

    background:
        linear-gradient(
            to right,
            #eff6ff,
            #eef2ff
        );

    border: 1px solid #c7d2fe;

    border-radius: 24px;

    padding: 20px;

    margin-bottom: 24px;
}

.assignment-feedback-title {

    font-weight: 700;

    color: #3730a3;

    margin-bottom: 10px;
}

.assignment-feedback-box p {

    color: #475569;

    line-height: 1.7;
}

/* BUTTON */

.assignment-action-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    padding: 16px;

    border-radius: 22px;

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );

    color: white;

    font-weight: 700;

    text-decoration: none;

    transition: 0.25s ease;
}

.assignment-action-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37,99,235,0.25);
}

/* MOBILE */

@media (max-width: 640px) {

    .assignment-title {

        font-size: 22px;
    }

    .assignment-card-header {

        padding: 20px;
    }

    .assignment-card-body {

        padding: 20px;
    }

    .assignment-meta-grid {

        grid-template-columns: 1fr;
    }
}

/* =========================
   QUIZ V2 CARD
========================= */

.quiz-card-v2 {

    background: white;

    border-radius: 30px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.05);

    transition:
        all 0.25s ease;
}

.quiz-card-v2:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.10);
}

/* HEADER */

.quiz-card-header {

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #2563eb
        );

    padding: 24px;

    color: white;
}

.quiz-subject-pill {

    display: inline-flex;

    align-items: center;

    padding: 8px 14px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.16);

    backdrop-filter: blur(10px);

    font-size: 12px;

    font-weight: 700;
}

.quiz-pre-pill {

    display: inline-flex;

    align-items: center;

    padding: 8px 14px;

    border-radius: 999px;

    background: #fde68a;

    color: #111827;

    font-size: 12px;

    font-weight: 700;
}

.quiz-title {

    font-size: 28px;

    font-weight: 800;

    line-height: 1.2;
}

/* BODY */

.quiz-card-body {

    padding: 24px;
}

/* STATS */

.quiz-stats-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(120px, 1fr));

    gap: 16px;

    margin-bottom: 24px;
}

.quiz-stat-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 22px;

    padding: 18px;

    text-align: center;
}

.quiz-stat-value {

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 6px;
}

.quiz-stat-label {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    color: #64748b;

    font-weight: 700;
}

/* PROGRESS */

.quiz-progress-wrapper {

    margin-bottom: 24px;
}

.quiz-progress-label {

    font-size: 14px;

    color: #475569;

    font-weight: 600;
}

.quiz-progress-track {

    height: 14px;

    border-radius: 999px;

    background: #e2e8f0;

    overflow: hidden;
}

.quiz-progress-fill {

    height: 100%;

    border-radius: 999px;

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );
}

/* FEEDBACK */

.quiz-feedback-box {

    background:
        linear-gradient(
            to right,
            #eff6ff,
            #eef2ff
        );

    border: 1px solid #c7d2fe;

    border-radius: 24px;

    padding: 20px;

    margin-bottom: 24px;
}

.quiz-feedback-title {

    font-weight: 700;

    color: #3730a3;

    margin-bottom: 10px;
}

.quiz-feedback-box p {

    color: #475569;

    line-height: 1.7;
}

/* ACTIONS */

.quiz-actions {

    display: flex;

    flex-direction: column;

    gap: 14px;
}

.quiz-btn-primary {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    padding: 16px;

    border-radius: 22px;

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );

    color: white;

    font-weight: 700;

    text-decoration: none;

    transition: 0.25s ease;
}

.quiz-btn-primary:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37,99,235,0.25);
}

/* MOBILE */

@media (max-width: 640px) {

    .quiz-title {

        font-size: 22px;
    }

    .quiz-card-header {

        padding: 20px;
    }

    .quiz-card-body {

        padding: 20px;
    }

    .quiz-stats-grid {

        grid-template-columns: 1fr;
    }
}

/* =========================
   ACHIEVEMENT CARD V2
========================= */

.achievement-card-v2 {

    background: white;

    border-radius: 32px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.05);

    transition:
        all 0.25s ease;
}

.achievement-card-v2:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.10);
}

/* HEADER */

.achievement-header {

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #2563eb
        );

    padding: 28px;

    color: white;
}

.achievement-pill {

    display: inline-flex;

    align-items: center;

    padding: 8px 16px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.16);

    backdrop-filter: blur(10px);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 16px;
}

.achievement-title {

    font-size: 30px;

    font-weight: 800;

    line-height: 1.2;
}

.achievement-certified {

    background: #16a34a;

    color: white;

    padding: 10px 16px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}

/* BODY */

.achievement-body {

    padding: 28px;
}

/* PROGRESS */

.achievement-progress-card {

    background:
        linear-gradient(
            to right,
            #f8fafc,
            #f1f5f9
        );

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    padding: 22px;

    margin-bottom: 24px;
}

.achievement-progress-label {

    font-size: 14px;

    font-weight: 700;

    color: #475569;
}

.achievement-progress-value {

    font-size: 18px;

    font-weight: 800;

    color: #2563eb;
}

.achievement-progress-track {

    width: 100%;

    height: 14px;

    border-radius: 999px;

    background: #dbeafe;

    overflow: hidden;
}

.achievement-progress-fill {

    height: 100%;

    border-radius: 999px;

    background:
        linear-gradient(
            to right,
            #4f46e5,
            #2563eb
        );
}

/* STATUS */

.achievement-status-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 16px;

    margin-bottom: 26px;
}

.achievement-status-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    padding: 24px;

    text-align: center;
}

.achievement-status-icon {

    font-size: 34px;

    margin-bottom: 12px;
}

.achievement-status-title {

    font-weight: 700;

    color: #334155;
}

/* MOBILE */

@media (max-width: 640px) {

    .achievement-header {

        padding: 22px;
    }

    .achievement-body {

        padding: 22px;
    }

    .achievement-title {

        font-size: 24px;
    }

    .achievement-status-grid {

        grid-template-columns: 1fr;
    }
}