
.red {
    text-align: center;
}

.red i.fa.fa-list-alt {
    color: #000;
    font-size: 53px;
  
    left: 64px;
    bottom: -4px;
}




.custom {
    padding-top: 51px;
}
h4.heading {
    color: black;


}



.colum i.fa.fa-graduation-cap {
    font-size: 35px;
}

img.img {
    height: 275px;
    width: 100%;
}

button {
    background-color: #ec7125;
    border: none;
    color: white;
    /* padding: 0px; */
    border-radius: 3px;
    font-size: 16px;
}

.buttons {
    text-align: right;
}


.colum h4 {
        padding-top: 5px;
    }


    a.btn {
        background-color: #ec7125;
        color: white;
        /* padding: 14px; */
    }

/* ==========================================================================
   Custom Category Courses Listing - Modern UX/UI
   ========================================================================== */

.cc-courses-page {
    padding: 10px 0 40px 0;
    font-family: inherit;
}

/* Header Section */
.cc-header-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.cc-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cc-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.cc-count-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(236, 113, 37, 0.1);
    color: #ec7125;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.cc-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.cc-btn-back:hover {
    background-color: #e2e8f0;
    color: #1e293b !important;
}

/* Filter & Controls Toolbar */
.cc-toolbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-toolbar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Search Box */
.cc-search-wrap {
    position: relative;
    flex: 1 1 280px;
    min-width: 220px;
}

.cc-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.9rem;
}

.cc-search-input {
    width: 100%;
    padding: 7px 34px 7px 32px;
    font-size: 0.86rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #f8fafc;
    height: 36px;
}

.cc-search-input:focus {
    border-color: #ec7125;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(236, 113, 37, 0.15);
}

.cc-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 2px 6px;
    display: none;
}

.cc-search-clear:hover {
    color: #334155;
}

/* Filter Buttons / Tabs */
.cc-filter-group {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    gap: 3px;
    flex-wrap: wrap;
}

.cc-filter-btn {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 30px;
    display: inline-flex;
    align-items: center;
}

.cc-filter-btn:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.cc-filter-btn.active {
    background: #ec7125;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(236, 113, 37, 0.25);
}

/* Secondary Filters Row: Area, Profile, Sort */
.cc-toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.cc-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cc-filter-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cc-filter-label i {
    color: #ec7125;
    font-size: 0.82rem;
}

.cc-filter-select {
    padding: 4px 26px 4px 10px;
    font-size: 0.82rem;
    color: #334155;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 34px;
    max-width: 240px;
    text-overflow: ellipsis;
}

.cc-area-wrap select.cc-filter-select {
    max-width: 320px;
}

.cc-profile-wrap select.cc-filter-select {
    max-width: 220px;
}

.cc-sort-wrap select.cc-filter-select {
    max-width: 170px;
}

.cc-filter-select:focus {
    border-color: #ec7125;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(236, 113, 37, 0.15);
}

.cc-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
    height: 32px;
}

.cc-filter-reset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Course Cards Grid */
.cc-course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.cc-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #fbc29d;
}

/* Card Image Header */
.cc-card-img-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    background: #f1f5f9;
    overflow: hidden;
}

.cc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cc-course-card:hover .cc-card-img {
    transform: scale(1.03);
}

.cc-badge-enrolled {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Body */
.cc-card-body {
    padding: 14px 16px 6px 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Meta Information Chips */
.cc-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.cc-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.cc-meta-chip i {
    color: #94a3b8;
}

/* Card Title */
.cc-card-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px 0;
}

/* Teacher / Instructor Info - Displayed in Rows */
.cc-card-teachers {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

.cc-teachers-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.cc-teachers-title i {
    color: #ec7125;
    font-size: 0.8rem;
}

.cc-teachers-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cc-teacher-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    color: #1e293b;
    line-height: 1.3;
}

.cc-teacher-bullet {
    width: 4px;
    height: 4px;
    background-color: #ec7125;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cc-teacher-name {
    color: #1e293b;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cc-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cc-card-title a:hover {
    color: #ec7125;
}

/* Card Summary Snippet */
.cc-card-summary {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Progress Section */
.cc-card-progress {
    margin-top: auto;
    padding-top: 4px;
    margin-bottom: 8px;
}

.cc-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.cc-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.cc-progress-bar {
    height: 100%;
    background: #ec7125;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Card Footer & Action Button */
.cc-card-footer {
    padding: 0 16px 14px 16px;
    margin-top: auto;
    background: transparent;
    border: none;
}

.cc-btn-access {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #ec7125 !important;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
}


.cc-btn-access:hover {
    background-color: #d45d17 !important;
    color: #ffffff !important;
}

.cc-btn-access i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.cc-btn-access:hover i {
    transform: translateX(3px);
}

/* Empty State / No Results */
.cc-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin: 20px 0;
}

.cc-empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.cc-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.cc-empty-text {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
}

.cc-btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ec7125 !important;
    color: #ffffff !important;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Scheduled Conferences: Top Indicator Bar & Card Indicators
   ========================================================================== */

/* Compact Conference Indicator Bar (Top of courses page) */
.cc-conf-compact-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cc-conf-compact-item {
    background: linear-gradient(135deg, #fffaf5 0%, #fff2e8 100%);
    border: 1px solid #fed7aa;
    border-left: 1px solid #fed7aa; /* no thick left accent */
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 3px 10px rgba(236, 113, 37, 0.08);
}

.cc-conf-compact-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cc-conf-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ec7125;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(236, 113, 37, 0.28);
    flex-shrink: 0;
}

.cc-conf-tag-indicator {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cc-conf-compact-title {
    font-weight: 700;
    font-size: 0.96rem;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cc-conf-compact-title:hover {
    color: #ec7125;
    text-decoration: none;
}

.cc-conf-compact-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-conf-item-time {
    font-size: 0.78rem;
    font-weight: 600;
    color: #c2410c;
    background: #ffedd5;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cc-conf-item-live {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    background: #dc2626;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: cc-pulse-glow 2s infinite ease-in-out;
}

.cc-conf-item-role {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cc-conf-item-role.student {
    background: #dcfce7;
    color: #166534;
}

.cc-conf-item-role.teacher,
.cc-conf-item-role.moderator {
    background: #e0e7ff;
    color: #3730a3;
}

.cc-conf-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-btn-conf-action {
    background: #ec7125 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cc-btn-conf-action:hover {
    background: #d45d15 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(236, 113, 37, 0.35);
    text-decoration: none;
}

.cc-btn-conf-subaction {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.82rem;
    border-radius: 6px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cc-btn-conf-subaction:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    text-decoration: none;
}

/* Card Floating Badges on Image */
.cc-badge-conf {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.cc-badge-conf-today {
    background: #ec7125;
    color: #ffffff;
}

.cc-badge-conf-waiting {
    background: #b45309;
    color: #ffffff;
}

.cc-badge-conf-live {
    background: #dc2626;
    color: #ffffff;
    animation: cc-pulse-glow 2s infinite ease-in-out;
}

.cc-conf-waiting-hint {
    font-size: 0.76rem;
    font-weight: 600;
    color: #92400e;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.cc-card-conference-info.is-waiting .cc-conf-waiting-hint {
    margin-top: 2px;
}

/* Card Body Conference Info Box */
.cc-card-conference-info {
    margin: 8px 0 10px 0;
    padding: 8px 10px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-left: 1px solid #ffedd5; /* no thick left accent */
    border-radius: 6px;
    font-size: 0.81rem;
    color: #9a3412;
}

.cc-card-conference-info.is-live {
    background: #fef2f2;
    border-color: #fee2e2;
    color: #991b1b;
}

.cc-meta-chip-conference {
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #ffedd5;
}

.cc-conf-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cc-conf-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cc-conf-main-icon {
    font-size: 0.88rem;
    color: #ec7125;
    flex-shrink: 0;
}

.is-live .cc-conf-main-icon {
    color: #dc2626;
}

.cc-conf-live-text {
    font-weight: 700;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cc-conf-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 7px;
    width: fit-content;
}

.cc-conf-status-accepted {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.cc-conf-status-host {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

/* Pulsing and Blinking Animations */
.cc-live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
    animation: cc-blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

.cc-live-pulse-dot.red {
    background: #dc2626;
}

@keyframes cc-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes cc-pulse-glow {
    0%, 100% { box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 2px 14px rgba(220, 38, 38, 0.7); }
}

/* ==========================================================================
   Course Area & Target Profile Modern Filters and Tags
   ========================================================================== */

/* Card Tags (Area & Target Profile on Course Cards) */
.cc-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.cc-tag-area {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.18s ease;
}

.cc-tag-area:hover {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.cc-tag-profile {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive adjustments for Toolbar & Filters */
@media (max-width: 768px) {
    .cc-toolbar {
        padding: 10px 14px;
        gap: 8px;
    }

    .cc-toolbar-main {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .cc-search-wrap {
        width: 100%;
        min-width: 0;
    }

    .cc-filter-group {
        width: 100%;
        display: flex;
    }

    .cc-filter-btn {
        flex: 1;
        justify-content: center;
        padding: 5px 6px;
        font-size: 0.78rem;
    }

    .cc-toolbar-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .cc-filter-item {
        width: 100%;
        justify-content: space-between;
    }

    .cc-filter-select,
    .cc-area-wrap select.cc-filter-select,
    .cc-profile-wrap select.cc-filter-select,
    .cc-sort-wrap select.cc-filter-select {
        max-width: 60%;
        flex: 1;
    }

    .cc-filter-reset-btn {
        width: 100%;
        justify-content: center;
    }
}