.meetings-page {
    padding-top: 28px !important;
}

section.meetings-page .filters {
    margin-bottom: 12px;
}

.course-discovery-panel,
.course-trust-strip,
.course-empty-state {
    background: #fff;
    border: 1px solid rgba(161, 44, 47, 0.1);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(24, 32, 56, 0.07);
}

.course-discovery-panel {
    background: linear-gradient(135deg, #fff 0%, #fffaf8 100%);
    padding: 20px;
    margin-bottom: 18px;
}

.course-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
}

.course-filter-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1f2937;
}

.course-filter-grid .form-control,
.course-filter-grid .form-select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #d6dbe5;
    box-shadow: inset 0 1px 2px rgba(24, 32, 56, 0.03);
}

.course-filter-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    margin-top: 27px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .course-filter-actions {
        justify-content: flex-start;
        align-self: stretch;
        margin-top: 14px;
    }
}

.course-filter-grid .form-control:focus,
.course-filter-grid .form-select:focus {
    border-color: #b33c3d;
    box-shadow: 0 0 0 3px rgba(179, 60, 61, 0.12);
}

.course-filter-summary {
    margin: 12px 0 0;
    color: #4b5563;
    font-size: 15px;
}

.course-trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 18px;
    margin-bottom: 18px;
}

.course-proof-item span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b91c1c;
    margin-bottom: 6px;
}

.course-proof-item strong {
    display: block;
    font-size: 19px;
    color: #111827;
}

.course-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
}

.course-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

.course-proof-line {
    margin: 0 0 10px;
    color: #374151;
    font-size: 14px;
}

.course-empty-state {
    padding: 40px 28px;
    text-align: center;
}

.filters {
    background: linear-gradient(135deg, #fff 0%, #fffaf8 100%);
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(161, 44, 47, 0.1);
    box-shadow: 0 16px 34px rgba(24, 32, 56, 0.07);
    margin-bottom: 0;
}

.filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.filters ul li {
    margin: 0;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fbf4ef;
    border: 1px solid transparent;
    color: #5a4e4b;
    font-weight: 600;
    transition: all 0.25s ease;
}

.filters ul li:hover,
.filters ul li.active {
    background: linear-gradient(135deg, #a12c2f, #cf5b4a);
    color: #fff;
    border-color: rgba(161, 44, 47, 0.18);
}

.coursecards {
    margin-top: 0;
    row-gap: 12px;
}

.course-card-col {
    margin-bottom: 12px;
    display: flex;
}

.course-card-col .course-card {
    width: 100%;
}

.course-card {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: 0 18px 42px rgba(24, 32, 56, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(24, 32, 56, 0.12);
}

.course-card .thumb {
    position: relative;
}

.course-card .thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.course-card .price span {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.92);
    color: #a12c2f;
    box-shadow: 0 10px 24px rgba(24, 32, 56, 0.14);
}

.course-card .down-content {
    padding: 24px 22px 22px;
}

.course-card-title {
    text-align: center;
    margin-bottom: 12px;
}

.course-card-title h4 {
    margin-bottom: 0;
    color: #1d1d1d;
    line-height: 1.35;
}

.course-card-title a {
    color: inherit;
}

.course-card-desc {
    color: #4d4d4d;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

.enroll-btn {
    position: absolute;
    bottom: 16px;
    left: 18px;
    z-index: 10;
}

.enroll-btn a {
    background: linear-gradient(135deg, #a12c2f, #cf5b4a);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(24, 32, 56, 0.24);
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.enroll-btn a::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -6px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #b33c3d transparent transparent;
}

.enroll-btn a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pagination ul li a {
    border-radius: 12px;
}

.courses-seo-section {
    background: #fff;
    border: 1px solid rgba(161, 44, 47, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(24, 32, 56, 0.07);
    margin: 28px 0 8px;
    padding: 34px 30px;
}

.courses-seo-section .section-label {
    color: #a12c2f;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.courses-seo-section h2 {
    color: #1d1d1d;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
}

.courses-seo-section p {
    color: #4d4d4d;
    line-height: 1.8;
}

.courses-seo-card {
    background: #fbf4ef;
    border: 1px solid rgba(161, 44, 47, 0.1);
    border-radius: 18px;
    height: 100%;
    padding: 24px;
}

.courses-seo-card h3 {
    color: #a12c2f;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.courses-seo-card p {
    margin-bottom: 0;
}

.modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(24, 32, 56, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.1), rgba(248, 185, 73, 0.15));
    border-bottom: 1px solid rgba(161, 44, 47, 0.08);
}

.modal-body {
    padding: 24px;
}

.modal-body .form-control {
    min-height: 46px;
    border-radius: 12px;
    border-color: #e6d7d3;
}

.modal-body .btn-primary {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #a12c2f, #cf5b4a);
    box-shadow: 0 16px 30px rgba(161, 44, 47, 0.22);
}

#enrollModal .modal-content {
    max-height: calc(100vh - 40px);
}

#enrollModal .modal-body {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
}

#enrollModal .modal-body .mb-3:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .course-card .thumb img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .filters {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .filters ul {
        justify-content: flex-start;
        gap: 10px;
    }

    .filters ul li {
        font-size: 13px;
        padding: 9px 14px;
    }

    .course-card .thumb img {
        height: 210px;
    }

    .course-card .down-content {
        padding: 20px 18px;
    }

    .course-card-title h4 {
        font-size: 20px;
    }

    .course-card-desc {
        font-size: 15px;
    }

    .courses-seo-section {
        border-radius: 18px;
        padding: 24px 18px;
    }

    .courses-seo-section h2 {
        font-size: 24px;
    }

    .enroll-btn {
        left: 14px;
        bottom: 14px;
    }

    .enroll-btn a {
        padding: 9px 15px;
        font-size: 12px;
    }

    .modal-body {
        padding: 18px;
    }
}
