.cle-course-list-container {
max-width: 100%;
margin: 0 auto;
font-family: inherit;
}
.grid-single-column{
grid-template-columns: repeat(1, 1fr);
} .cle-course-grid {
display: grid;
gap: 32px; margin-bottom: 32px; } .cle-course-card {
overflow: hidden;
transition: all 0.3s ease;
display: flex;
flex-direction: row;
align-items: stretch;
min-height: 160px;
}
.cle-course-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.cle-course-sidebar-meta .tutor-icon-clock-line,
.cle-course-sidebar-meta .tutor-icon-mortarboard,
.cle-course-sidebar-meta .tutor-icon-level,
.cle-course-sidebar-meta .tutor-icon-refresh-o{
margin-right:.4rem;
}
.cle-course-sidebar {
position: relative;
overflow: hidden;
width: 200px;
flex-shrink: 0;
padding: 20px 24px;
}
.cle-course-image {
position: relative;
overflow: hidden;
flex-shrink: 0;
}
.cle-course-left-column {
width: 250px;
}
.cle-course-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.cle-course-card:hover .cle-course-image img {
transform: scale(1.05);
}
.cle-course-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
display: flex;
align-items: center;
justify-content: center;
color: #6b7280;
font-size: 0.875rem;
font-weight: 500;
}
.cle-course-content {
padding: 10px 24px;
flex: 1;
display: flex;
flex-direction: column;
position: relative;
}
.cle-course-sidebar-meta {
display: grid;
gap: .4rem;
}
.cle-course-title {
margin: 0 0 8px 0;
font-size: 1.25rem;
font-weight: 700;
line-height: 1.4;
color: #1a1a1a;
}
.cle-course-title a {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
}
.cle-course-title a:hover {
color: #2563eb;
}
.cle-course-excerpt {
color: #6b7280;
font-size: 0.875rem;
line-height: 1.5;
margin-bottom: 12px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.cle-course-meta {
margin-top: auto;
}
.cle-course-meta-items {
display: flex;
gap: 12px;
font-size: 0.875rem;
align-items: flex-start;
margin-bottom: 12px;
flex-direction: column;
}
.cle-course-meta-items span {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.cle-course-price {
font-weight: 700;
color: #1a1a1a;
font-size: 1.5rem;
position: absolute;
top: 20px;
right: 24px;
}
.cle-course-rating {
color: #f59e0b;
}
.cle-rating-stars {
display: inline-flex;
align-items: center;
gap: 2px;
}
.cle-course-rating-wrapper {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 8px;
}
.cle-rating-number {
font-weight: 600;
font-size: 0.875rem;
}
.cle-rating-count {
color: #6b7280;
font-size: 0.875rem;
}
.cle-star-full {
color: #f59e0b;
}
.cle-star-half {
color: #f59e0b;
}
.cle-star-empty {
color: #d1d5db;
}
.cle-rating-text {
font-size: 0.75rem;
}
.cle-course-instructor {
color: #374151;
font-size: 0.875rem;
font-weight: 500;
margin-bottom: 8px;
} .cle-instructor-info {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.cle-instructor-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: #e5e7eb;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 0.75rem;
color: #6b7280;
}
.cle-instructor-avatar img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.cle-instructor-link {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
}
.cle-instructor-link:hover {
color: #2563eb;
}
.cle-course-enrollment {
color: #059669;
}
.cle-course-progress {
color: #2563eb;
}
.cle-course-categories {
color: #6b7280;
}
.cle-category-link {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
} .cle-bestseller-badge {
position: absolute;
top: 12px;
left: 12px;
background: #ff6b35;
color: white;
font-size: 0.75rem;
font-weight: 600;
padding: 4px 8px;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
} .cle-course-stats {
display: flex;
align-items: center;
gap: 16px;
font-size: 0.875rem;
color: #6b7280;
margin-top: 8px;
}
.cle-course-stats span {
display: flex;
align-items: center;
gap: 4px;
} .cle-course-enroll {
margin-top: auto;
padding-top: 16px;
}
.cle-course-list-btn {
width: 100%;
}
.cle-course-list-btn .tutor-btn {
width: auto;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
font-size: 0.875rem;
font-weight: 600;
text-decoration: none;
border: none;
border-radius: 6px;
transition: all 0.2s ease;
cursor: pointer;
text-align: center;
line-height: 1.4;
background: #1a73e8;
color: white;
min-width: 120px;
} .cle-enroll-btn-outline .tutor-btn {
background-color: #1a73e8;
color: white;
border: none;
}
.cle-enroll-btn-outline .tutor-btn:hover {
background-color: #1557b0;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}
.cle-enroll-btn-filled .tutor-btn {
background-color: #1a73e8;
color: #ffffff;
border: none;
}
.cle-enroll-btn-filled .tutor-btn:hover {
background-color: #1557b0;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}
.cle-enroll-btn-minimal .tutor-btn {
background-color: transparent;
color: #23527c;
border-color: transparent;
text-decoration: underline;
}
.cle-enroll-btn-minimal .tutor-btn:hover {
background-color: #f3f4f6;
color: #1a3f5f;
} .cle-course-booking-progress {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
padding: 0.75rem;
background: #f9fafb;
border-radius: 6px;
border: 1px solid #e5e7eb;
}
.cle-booking-progress-circle {
position: relative;
width: 40px;
height: 40px;
border-radius: 50%;
background: conic-gradient(#e5e7eb 0deg, #e5e7eb calc(var(--pro) * 3.6deg), #23527c calc(var(--pro) * 3.6deg), #23527c 360deg);
display: flex;
align-items: center;
justify-content: center;
}
.cle-booking-progress-circle::before {
content: '';
width: 28px;
height: 28px;
border-radius: 50%;
background: #ffffff;
}
.cle-booking-percentage {
font-size: 0.75rem;
font-weight: 500;
color: #374151;
}
.cle-course-booking-full {
text-align: center;
padding: 0.75rem;
background: #fef3c7;
border: 1px solid #f59e0b;
border-radius: 6px;
margin-bottom: 0.75rem;
}
.cle-booking-status {
font-size: 0.875rem;
font-weight: 500;
color: #92400e;
}
.cle-course-price-section {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.cle-course-price-section .cle-course-price {
font-size: 1.125rem;
font-weight: 600;
color: #059669;
text-align: center;
} .cle-course-list .cle-course-enroll {
margin-top: 0.75rem;
}
.cle-course-list .cle-course-list-btn .tutor-btn {
padding: 0.5rem 1rem;
font-size: 0.75rem;
} @media (max-width: 767px) {
.cle-course-list-btn .tutor-btn {
padding: 0.625rem 1.25rem;
font-size: 0.8125rem;
}
.cle-booking-progress-circle {
width: 32px;
height: 32px;
}
.cle-booking-progress-circle::before {
width: 22px;
height: 22px;
}
.cle-booking-percentage {
font-size: 0.6875rem;
}
} .cle-course-list {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); border: 1px solid #f1f3f4; transition: all 0.2s ease;
}
.cle-course-list:hover {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06); border-color: #e8eaed;
}
.cle-course-list-content {
display: flex;
gap: 24px; padding: 24px; align-items: flex-start;
}
.cle-course-list .cle-course-image {
flex-shrink: 0;
width: 120px;
height: 80px;
border-radius: 6px;
overflow: hidden;
}
.cle-course-details {
flex: 1;
min-width: 0;
}
.cle-course-list .cle-course-title {
font-size: 1.125rem;
margin-bottom: 0.5rem;
}
.cle-course-list .cle-course-excerpt {
margin-bottom: 0.75rem;
-webkit-line-clamp: 2;
} .cle-search-container {
margin-bottom: 32px; }
.cle-search-form {
display: flex;
gap: 16px; max-width: 500px;
}
.cle-search-input {
flex: 1;
padding: 16px; border: 1px solid #f1f3f4; border-radius: 8px;
font-size: 0.875rem;
transition: border-color 0.2s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.cle-search-input:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.cle-search-button {
padding: 16px 24px; background: #2563eb;
color: white;
border: none;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.cle-search-button:hover {
background: #1d4ed8;
} .cle-filter-interface {
margin-bottom: 32px; border-radius: 8px;
overflow: hidden;
padding: 24px; } .cle-filter-checkboxes,
.cle-filter-radios {
display: flex;
flex-direction: column;
gap: 8px; max-height: 200px;
overflow-y: auto;
padding: 16px; background: #ffffff;
border: 1px solid #f1f3f4;
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.cle-checkbox-item,
.cle-radio-item {
display: flex;
align-items: center;
gap: 8px; font-size: 0.875rem;
cursor: pointer;
padding: 8px 0; }
.cle-checkbox-item input[type="checkbox"],
.cle-radio-item input[type="radio"] {
margin: 0;
cursor: pointer;
}
.cle-checkbox-item span,
.cle-radio-item span {
flex: 1;
cursor: pointer;
}
.cle-filter-slider {
padding: 0.5rem 0;
}
.cle-filter-range {
width: 100%;
height: 6px;
border-radius: 3px;
background: #e5e7eb;
outline: none;
-webkit-appearance: none;
appearance: none;
}
.cle-filter-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: #2563eb;
cursor: pointer;
border: 2px solid #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.cle-filter-range::-moz-range-thumb {
width: 18px;
height: 18px;
border-radius: 50%;
background: #2563eb;
cursor: pointer;
border: 2px solid #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.cle-slider-value {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 8px; font-size: 0.8125rem;
color: #6b7280;
}
.cle-slider-current {
font-weight: 600;
color: #2563eb;
} .cle-filter-item {
position: relative;
}
.cle-filter-item .cle-filter-label {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
font-weight: 500;
color: #374151;
} .cle-no-options {
color: #6b7280;
font-style: italic;
text-align: center;
padding: 1rem;
margin: 0;
font-size: 0.875rem;
}
.cle-filter-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.cle-global-search-container {
flex: 1;
max-width: 400px;
}
.cle-search-input-wrapper {
position: relative;
}
.cle-global-search {
width: 100%;
padding: 0.75rem 1rem 0.75rem 2.5rem;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 0.875rem;
transition: border-color 0.2s ease;
}
.cle-global-search:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.cle-search-icon {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: #9ca3af;
font-size: 0.875rem;
}
.cle-filter-toggle-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: #f3f4f6;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.cle-filter-toggle-btn:hover {
background: #e5e7eb;
border-color: #9ca3af;
}
.cle-filter-arrow {
transition: transform 0.2s ease;
}
.cle-filter-panel {
padding: 1.5rem 0;
background: #ffffff;
transition: all 0.3s ease;
display: block;
}
.cle-filter-panel-hidden {
display: none !important;
} .cle-debug-info {
background: #f0f0f0 !important;
padding: 10px !important;
margin: 10px 0 !important;
border: 1px solid #ccc !important;
font-family: monospace !important;
font-size: 12px !important;
}
.cle-loading {
opacity: 0.6;
pointer-events: none;
}
.cle-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid #f3f4f6;
border-top-color: #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
}
.cle-filter-panel.active {
display: block;
}
.cle-filter-controls {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.cle-filter-item {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.cle-filter-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
color: #374151;
}
.cle-filter-dropdown {
padding: 0.5rem 0.75rem;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 0.875rem;
transition: border-color 0.2s ease;
}
.cle-filter-dropdown:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.cle-filter-actions {
display: flex;
gap: 1rem;
justify-content: flex-end;
padding-top: 1rem;
}
.cle-apply-filters,
.cle-clear-filters {
padding: 0.75rem 1.5rem;
border-radius: 6px;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid transparent;
} .cle-pagination-container {
margin: 32px 0; }
.cle-pagination {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px; }
.cle-pagination-info {
font-size: 0.875rem;
color: #6b7280;
text-align: center;
}
.cle-pagination-links {
display: flex;
align-items: center;
gap: 8px; flex-wrap: wrap;
justify-content: center;
}
.cle-pagination-link,
.cle-pagination .current {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px; height: 40px; padding: 0 16px; border: 1px solid #f1f3f4; border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
text-decoration: none;
transition: all 0.2s ease;
background: #ffffff;
color: #374151;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.cle-pagination-link:hover {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); }
.cle-pagination-prev,
.cle-pagination-next {
min-width: auto;
padding: 0 16px; } .cle-load-more-container {
text-align: center;
margin: 32px 0; }
.cle-load-more-button {
padding: 16px 32px; background: #2563eb;
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); }
.cle-load-more-button:disabled {
cursor: not-allowed;
} .cle-infinite-scroll-trigger {
text-align: center;
padding: 2rem 0;
}
.cle-infinite-scroll-spinner {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: #6b7280;
font-size: 0.875rem;
} .cle-no-courses {
text-align: center;
padding: 3rem 1rem;
font-size: 1.125rem;
border-radius: 8px;
border: 1px solid #e5e7eb;
} @media (max-width: 767px) {
.cle-course-grid {
gap: 24px; }
.cle-course-card {
flex-direction: column;
min-height: auto;
}
.cle-course-image {
width: 100%;
height: 180px;
}
.cle-course-content {
padding: 16px;
}
.cle-course-price {
position: static;
font-size: 1.25rem;
margin-top: 8px;
text-align: left;
}
.cle-course-title {
font-size: 1.125rem;
}
.cle-filter-header {
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.cle-global-search-container {
max-width: none;
}
.cle-filter-controls {
grid-template-columns: 1fr;
gap: 16px; }
.cle-filter-actions {
flex-direction: column;
}
.cle-course-list-content {
flex-direction: column;
gap: 16px; }
.cle-course-list .cle-course-image {
width: 100%;
height: 200px;
}
.cle-pagination-links {
gap: 0.25rem;
}
.cle-pagination-link,
.cle-pagination .current {
min-width: 2.25rem;
height: 2.25rem;
font-size: 0.75rem;
}
}
@media (max-width: 480px) {
.cle-course-grid {
gap: 16px; }
.cle-course-content {
padding: 16px;
}
.cle-course-title {
font-size: 1.125rem;
}
.cle-course-title {
font-size: 1rem;
}
.cle-course-excerpt {
font-size: 0.75rem;
}
.cle-course-meta-items {
font-size: 0.625rem;
}
}  .cle-course-card:focus-within,
.cle-course-list:focus-within {
outline: 2px solid #2563eb;
outline-offset: 2px;
}
.cle-search-input:focus,
.cle-filter-dropdown:focus,
.cle-pagination-link:focus {
outline: 2px solid #2563eb;
outline-offset: 2px;
} .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}  @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cle-course-item {
animation: fadeInUp 0.6s ease-out;
} @keyframes spin {
to {
transform: rotate(360deg);
}
}
.cle-infinite-scroll-spinner::before {
content: '';
width: 1rem;
height: 1rem;
border: 2px solid #e5e7eb;
border-top-color: #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
} .cle-loading {
position: relative;
opacity: 0.6;
pointer-events: none;
}
.cle-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
margin: -20px 0 0 -20px;
border: 3px solid #f3f4f6;
border-top-color: #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 10;
}
.cle-error-message {
text-align: center;
padding: 2rem;
background: #fef2f2;
border: 1px solid #fecaca;
border-radius: 8px;
color: #dc2626;
margin: 1rem 0;
}
.cle-error-message p {
margin: 0;
font-size: 0.875rem;
} .cle-filter-panel {
transition: all 0.3s ease;
max-height: 1000px;
overflow: hidden;
}
.cle-filter-panel.cle-filter-panel-hidden {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
} .cle-search-input-wrapper {
position: relative;
}
.cle-search-input-wrapper.loading::after {
content: '';
position: absolute;
right: 0.75rem;
top: 50%;
width: 16px;
height: 16px;
margin-top: -8px;
border: 2px solid #e5e7eb;
border-top-color: #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
} @media print {
.cle-course-list-container {
max-width: none;
}
.cle-course-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.cle-search-container,
.cle-filter-interface,
.cle-pagination-container {
display: none;
}
.cle-course-card {
box-shadow: none;
border: 1px solid #000;
break-inside: avoid;
}
} .cle-categories-list-container {
max-width: 100%;
margin: 0 auto;
font-family: inherit;
}
.cle-categories-grid {
display: grid;
gap: 2rem;
margin-bottom: 2rem;
} .cle-categories-grid {
grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
.cle-categories-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.cle-categories-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1200px) {
.cle-categories-grid {
grid-template-columns: repeat(4, 1fr);
}
} .cle-category-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
overflow: hidden;
transition: all 0.3s ease;
border: 1px solid #e5e7eb;
}
.cle-category-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
border-color: #d1d5db;
}
.cle-category-image {
position: relative;
overflow: hidden;
aspect-ratio: 16/9;
}
.cle-category-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.cle-category-card:hover .cle-category-image img {
transform: scale(1.05);
}
.cle-category-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
display: flex;
align-items: center;
justify-content: center;
color: #6b7280;
font-size: 0.875rem;
font-weight: 500;
}
.cle-category-content {
padding: 1.5rem;
}
.cle-category-title {
margin: 0 0 0.75rem 0;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.4;
}
.cle-category-title a {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
}
.cle-category-title a:hover {
color: #23527c;
}
.cle-category-description {
color: #6b7280;
font-size: 0.875rem;
line-height: 1.6;
margin-bottom: 1rem;
}
.cle-category-meta {
margin-bottom: 1.5rem;
}
.cle-category-meta-items {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
font-size: 0.875rem;
color: #6b7280;
}
.cle-category-meta-items span {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.cle-category-course-count {
color: #059669;
font-weight: 500;
}
.cle-category-view {
margin-top: auto;
}
.cle-category-list-btn {
text-align: center;
}
.cle-category-list-btn .tutor-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
font-size: 0.875rem;
font-weight: 500;
text-decoration: none;
border-radius: 6px;
border: 2px solid transparent;
transition: all 0.2s ease;
cursor: pointer;
min-height: 44px;
width: 100%;
}
.cle-view-btn-outline .tutor-btn {
color: #23527c;
background-color: transparent;
border-color: #23527c;
}
.cle-view-btn-outline .tutor-btn:hover {
color: #ffffff;
background-color: #23527c;
border-color: #23527c;
}
.cle-view-btn-filled .tutor-btn {
color: #ffffff;
background-color: #23527c;
border-color: #23527c;
}
.cle-view-btn-filled .tutor-btn:hover {
background-color: #1e3a8a;
border-color: #1e3a8a;
}
.cle-view-btn-minimal .tutor-btn {
color: #23527c;
background-color: transparent;
border-color: transparent;
text-decoration: underline;
}
.cle-view-btn-minimal .tutor-btn:hover {
color: #1e3a8a;
text-decoration: none;
} .cle-category-list {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
overflow: hidden;
transition: all 0.3s ease;
border: 1px solid #e5e7eb;
}
.cle-category-list:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-color: #d1d5db;
}
.cle-category-list-content {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1.5rem;
}
.cle-category-list .cle-category-image {
flex-shrink: 0;
width: 120px;
height: 80px;
border-radius: 8px;
overflow: hidden;
}
.cle-category-details {
flex: 1;
min-width: 0;
}
.cle-category-list .cle-category-title {
margin: 0 0 0.5rem 0;
font-size: 1.125rem;
}
.cle-category-list .cle-category-description {
margin-bottom: 0.75rem;
font-size: 0.875rem;
}
.cle-category-list .cle-category-meta-items {
margin-bottom: 0;
}
.cle-category-list .cle-category-view {
flex-shrink: 0;
margin-top: 0;
}
.cle-category-list .cle-category-list-btn .tutor-btn {
width: auto;
min-width: 120px;
} .cle-no-categories {
text-align: center;
padding: 3rem 1rem;
color: #6b7280;
font-size: 1.125rem;
background: #f9fafb;
border-radius: 8px;
border: 2px dashed #d1d5db;
}
.cle-no-categories::before {
content: "📚";
display: block;
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
} @media (max-width: 767px) {
.cle-categories-grid {
grid-template-columns: repeat(1, 1fr);
gap: 1.5rem;
}
.cle-category-content {
padding: 1.25rem;
}
.cle-category-title {
font-size: 1.125rem;
}
.cle-category-list-content {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
.cle-category-list .cle-category-image {
width: 100%;
height: 120px;
}
.cle-category-list .cle-category-view {
width: 100%;
}
.cle-category-list .cle-category-list-btn .tutor-btn {
width: 100%;
}
}
@media (max-width: 480px) {
.cle-categories-grid {
gap: 1rem;
}
.cle-category-content {
padding: 1rem;
}
.cle-category-title {
font-size: 1rem;
}
.cle-category-description {
font-size: 0.8125rem;
}
.cle-category-meta-items {
font-size: 0.8125rem;
}
.cle-category-list-btn .tutor-btn {
padding: 0.625rem 1.25rem;
font-size: 0.8125rem;
}
} .cle-category-card:focus-within,
.cle-category-list:focus-within {
outline: 2px solid #23527c;
outline-offset: 2px;
}
.cle-category-title a:focus,
.cle-category-list-btn .tutor-btn:focus {
outline: 2px solid #23527c;
outline-offset: 2px;
} .cle-categories-grid.loading {
opacity: 0.6;
pointer-events: none;
}
.cle-categories-grid.loading::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
margin: -20px 0 0 -20px;
border: 4px solid #f3f4f6;
border-top: 4px solid #23527c;
border-radius: 50%;
animation: spin 1s linear infinite;
} @media print {
.cle-categories-grid {
display: block !important;
}
.cle-category-card,
.cle-category-list {
break-inside: avoid;
margin-bottom: 1rem;
box-shadow: none !important;
border: 1px solid #000 !important;
}
.cle-category-list-btn .tutor-btn {
display: none !important;
}
} .cle-category-buttons,
.cle-tag-buttons {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.cle-category-button,
.cle-tag-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 500;
text-decoration: none;
transition: all 0.2s ease-in-out;
border: none;
cursor: pointer;
line-height: 1.2;
white-space: nowrap;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.cle-category-button:hover,
.cle-tag-button:hover {
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
text-decoration: none;
}
.cle-category-button:active,
.cle-tag-button:active {
transform: translateY(0);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} .cle-category-button {
background-color: #e3f2fd;
color: #1976d2;
}
.cle-category-button:hover {
background-color: #bbdefb;
color: #0d47a1;
} .cle-tag-button {
background-color: #f3e5f5;
color: #7b1fa2;
}
.cle-tag-button:hover {
background-color: #e1bee7;
color: #4a148c;
} @media (max-width: 768px) {
.cle-category-buttons,
.cle-tag-buttons {
gap: 6px;
}
.cle-category-button,
.cle-tag-button {
padding: 4px 10px;
font-size: 0.6875rem;
}
}
@media (max-width: 480px) {
.cle-category-buttons,
.cle-tag-buttons {
gap: 4px;
}
.cle-category-button,
.cle-tag-button {
padding: 3px 8px;
font-size: 0.625rem;
}
} .cle-category-button:focus,
.cle-tag-button:focus {
outline: 2px solid #23527c;
outline-offset: 2px;
}