/**
 * Styles pour le shortcode [simulator_subjects]
 */

.tcf-subjects-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f0f4ff 0%, #faf8ff 100%);
    border-radius: 24px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .tcf-subjects-wrapper {
        padding: 24px 16px;
        margin: 20px auto;
        border-radius: 16px;
    }
}

.tcf-subjects-main-header {
    text-align: center;
    margin-bottom: 40px;
}

.tcf-subjects-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.tcf-subjects-sub-title {
    font-size: 1.1rem;
    color: #6b7280;
}

.tcf-subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Card Style Redesign: Glass Dashboard */
.tcf-subject-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    
}

.tcf-subject-card:hover {
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

/* Top Accent Bar */
.tcf-card-accent-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #3b82f6, #4f46e5); /* blue-500 to indigo-600 */
}

/* Card Header */
.tcf-card-header {
    padding: 32px 32px 16px;
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
}

/* Glass Badges Row */
.tcf-card-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tcf-badge-primary {
    background: #e6ebff;
    color: #1363df;
    padding: 6px 16px;
    border-radius: 9999px; /* full */
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tcf-badge-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(194, 198, 214, 0.3); /* outline-variant/30 */
    background: rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #424654; /* on-surface-variant */
}

.tcf-badge-meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

.tcf-card-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #131b2e;
    margin-bottom: 0px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}

/* Tasks Preview - Glass Dashboard Row */
.tcf-card-tasks {
    padding: 10px 32px 0 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.tcf-task-row {
    position: relative;
    padding-left: 18px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    color: #424654;
    line-height: 1.6;
    transition: color 0.2s;
}

.tcf-task-row:hover {
    color: #131b2e;
}

/* Colored Dots */
.tcf-task-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3b82f6; /* default blue */
    flex-shrink: 0;
}

.tcf-task-row:nth-child(2)::before {
    background-color: #6366f1; /* indigo */
}

.tcf-task-row:nth-child(3)::before {
    background-color: #60a5fa; /* light blue */
}

.tcf-task-name {
    font-weight: 700;
    color: #111827;
    margin-right: 4px;
}

/* Hidden Details */
.tcf-card-details-hidden {
    display: none;
    margin-top: 12px;
}

.tcf-details-documents-view {
    margin-top: 12px;
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.tcf-doc-preview-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tcf-doc-preview-item {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Footer & Buttons */
.tcf-card-footer {
    padding: 0 32px 32px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.tcf-btn-details-toggle {
    background: transparent;
    border: none;
    color: #5f6d7e;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
}

.tcf-btn-details-toggle:hover {
    color: #1e4db7;
}

.tcf-btn-start-simulation {
    background: #1363DF;
    color: white !important;
    width: 100%;
    margin-top: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 6px 12px -3px rgba(37, 99, 235, 0.15), 0 3px 6px -2px rgba(37, 99, 235, 0.1) !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.tcf-btn-start-simulation:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.3), 0 6px 8px -4px rgba(37, 99, 235, 0.2) !important;
    color: white !important;
}

.tcf-btn-start-simulation svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tcf-btn-start-simulation:hover svg {
    transform: translateX(4px);
}

/* Premium Button Style (Secondary / Details) */
.tcf-btn-premium {
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%) !important;
    color: white !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
    cursor: pointer;
}

@media (max-width: 640px) {
    a.tcf-btn.tcf-btn-primary.tcf-btn-premium.btn__write {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        min-height: 44px !important;
        white-space: normal !important;
        text-align: center;
        line-height: 1.35;
    }

    a.tcf-btn.tcf-btn-primary.tcf-btn-premium.btn__write .btn-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

.tcf-btn-premium:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    filter: brightness(1.2) !important;
}

.tcf-btn-premium .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.tcf-btn-premium:hover .btn-icon {
    transform: rotate(-10deg) scale(1.1);
}

.tcf-btn-premium .btn-icon {
    width: 18px;
    height: 18px;
}

/* Pagination */
.tcf-pagination,
.tcf-subjects-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tcf-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    line-height: 1;
}

.tcf-page-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.tcf-page-btn.active {
    background: #1363df;
    color: #ffffff;
    border-color: #1363df;
    box-shadow: 0 4px 10px rgba(19, 99, 223, 0.24);
}

.tcf-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 640px) {
    .tcf-pagination,
    .tcf-subjects-pagination {
        gap: 6px;
        padding: 6px;
        margin-top: 18px;
    }

    .tcf-page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/* Premium Loader */
.tcf-loader-container {
    text-align: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tcf-premium-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}

.tcf-premium-spinner .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.tcf-premium-spinner .spinner-ring:nth-child(1) {
    border-top-color: #2563eb;
    border-right-color: rgba(37, 99, 235, 0.2);
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.tcf-premium-spinner .spinner-ring:nth-child(2) {
    border-bottom-color: #4f46e5;
    border-left-color: rgba(79, 70, 229, 0.2);
    animation: spin-reverse 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    transform: scale(0.85); /* Inner ring */
}

.tcf-loader-text {
    font-family: 'poppins', sans-serif;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: scale(0.85) rotate(360deg); }
    100% { transform: scale(0.85) rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

/* Expanded State */
.tcf-subject-card.expanded {
    grid-column: span 1;
    /* Keep normal width, or span 2 if grid permits? Prompt says "agrandisse horizontalement et verticalement". */
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tcf-subjects-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mode Libre Banner Styles - REDESIGN
   ========================================================================== */

.tcf-free-mode-banner {
    background: linear-gradient(135deg, #0d52bc 0%, #1e4db7 100%);
    border-radius: 16px;
    padding: 22px 32px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(13, 82, 188, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tcf-free-mode-banner::before {
    display: none;
    /* Let's use the background gradient instead */
}

/* Subtle pattern overlay */
.tcf-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.05) 2px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}
.section-py-120 {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf8ff 100%) !important;
}

/* Light effect */
.tcf-free-mode-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.tcf-free-mode-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.tcf-free-mode-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.tcf-free-mode-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    animation: sparkle-subtle-glow 3s ease-in-out infinite;
}

@keyframes sparkle-subtle-glow {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    }
}

.tcf-free-mode-text {
    flex: 1;
}

.tcf-free-mode-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tcf-free-mode-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}

.tcf-free-mode-description {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.55;
    max-width: 580px;
    font-family: 'Poppins', sans-serif;
}

.tcf-banner-action {
    position: relative;
    z-index: 2;
}

.tcf-free-mode-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0d52bc;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.tcf-free-mode-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tcf-free-mode-btn:hover {
    background: #f8fafc;
    color: #1e4db7;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tcf-free-mode-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.tcf-free-mode-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive: Tablet */
@media (max-width: 1100px) {
    .tcf-free-mode-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .tcf-free-mode-content {
        gap: 20px;
    }

    .tcf-free-mode-description {
        max-width: 100%;
    }

    .tcf-banner-action {
        width: 100%;
    }

    .tcf-free-mode-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .tcf-free-mode-banner {
        padding: 18px 14px;
        margin-bottom: 20px;
        border-radius: 12px;
        gap: 14px;
        box-shadow: 0 6px 18px rgba(13, 82, 188, 0.14);
    }

    .tcf-free-mode-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tcf-free-mode-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .tcf-free-mode-icon svg {
        width: 21px;
        height: 21px;
    }

    .tcf-free-mode-title {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .tcf-free-mode-description {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .tcf-free-mode-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        min-height: 44px;
        font-size: 0.88rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        border-radius: 9px;
    }

    .tcf-free-mode-badge {
        font-size: 0.62rem;
        padding: 3px 9px;
        margin-bottom: 8px;
    }
}

.tcf-sidebar-ad-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-top: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tcf-sidebar-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 82, 188, 0.1);
}

.tcf-ad-card-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1e4db7;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.tcf-ad-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c2b4d;
    margin-bottom: 16px;
    line-height: 1.4;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.tcf-ad-card-text {
    font-size: 0.95rem;
    color: #5f6d7e;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Premium Ad Modifications */
.tcf-sidebar-ad-card.premium-ad {
    background: linear-gradient(135deg, #082A5E 0%, #1a56db 100%);
    border: none;
    box-shadow: 0 10px 25px -5px rgba(8, 42, 94, 0.4);
}

.tcf-sidebar-ad-card.premium-ad:hover {
    box-shadow: 0 15px 30px -5px rgba(8, 42, 94, 0.5);
    border-color: transparent;
}

.tcf-sidebar-ad-card.premium-ad .tcf-ad-card-badge {
    background: #ffffff;
    color: #082A5E;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tcf-sidebar-ad-card.premium-ad .tcf-ad-card-title {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tcf-sidebar-ad-card.premium-ad .tcf-ad-card-text {
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.tcf-btn-whatsapp {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25d366 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease !important;
}

.tcf-btn-whatsapp:hover {
    background: #20ba5a !important;
    transform: scale(1.02);
}

.tcf-btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* Responsive pour la section compréhension */
@media (max-width: 768px) {
    .tcf-subjects-wrapper {
        padding: 0;
    }

    .tcf-free-mode-icon {
        display: none;
    }

    .tcf-card-tasks {
        padding: 15px;
    }
}

/* Mobile polish: composants plus compacts + tailles de texte uniformes */
@media (max-width: 768px) {
    .tcf-subjects-wrapper {
        padding: 12px !important;
        margin: 12px auto;
        border-radius: 12px;
    }

    .tcf-subjects-grid {
        gap: 14px;
        margin-bottom: 20px;
    }

    .tcf-subject-card {
        border-radius: 12px;
    }

    .tcf-card-header {
        padding: 18px 16px 10px;
    }

    .tcf-card-badges-row {
        gap: 8px;
        margin-bottom: 14px;
    }

    .tcf-badge-primary {
        font-size: 0.66rem;
        padding: 5px 11px;
    }

    .tcf-badge-meta {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .tcf-card-main-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .tcf-card-tasks {
        padding: 6px 16px 0 16px;
    }

    .tcf-task-row {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
        padding-left: 14px;
    }

    .tcf-card-footer {
        padding: 0 16px 16px 16px;
    }

    .tcf-btn-details-toggle,
    .tcf-btn-start-simulation,
    .tcf-btn-premium {
        font-size: 0.88rem;
    }

    .tcf-btn-start-simulation {
        padding: 11px 14px;
        min-height: 44px;
    }

    .tcf-pagination,
    .tcf-subjects-pagination {
        margin-top: 14px;
    }
}

/* Desktop/Large screens: uniformisation des tailles et espacements */
@media (min-width: 1200px) {
    .tcf-subjects-wrapper {
        max-width: 1240px;
        padding: 28px;
        margin: 28px auto;
        border-radius: 18px;
    }

    .tcf-free-mode-banner {
        padding: 30px 24px;
        margin-bottom: 28px;
        border-radius: 14px;
    }

    .tcf-free-mode-title {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .tcf-free-mode-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tcf-free-mode-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .tcf-subjects-grid {
        gap: 18px;
        margin-bottom: 28px;
    }

    .tcf-subject-card {
        border-radius: 14px;
    }

    .tcf-card-header {
        padding: 22px 22px 12px;
    }

    .tcf-card-main-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .tcf-card-tasks {
        padding: 8px 22px 0 22px;
    }

    .tcf-task-row {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 12px;
    }

    .tcf-card-footer {
        padding: 0 22px 20px 22px;
    }

    .tcf-btn-details-toggle,
    .tcf-btn-start-simulation,
    .tcf-btn-premium {
        font-size: 0.9rem;
    }

    .tcf-pagination,
    .tcf-subjects-pagination {
        margin-top: 18px;
    }
}