.fce-course-search {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px 0;
} .fce-course-search-header {
margin-bottom: 30px;
}
.fce-course-search-header h2 {
font-size: 28px;
margin-bottom: 20px;
font-weight: 600;
} .fce-course-search-filters {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}
.fce-course-search-filter {
flex: 1;
min-width: 200px;
}
.fce-course-search-input,
.fce-course-search-filter select {
width: 100%;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
background-color: #fff;
}
.fce-course-search-input:focus,
.fce-course-search-filter select:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
} .fce-course-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin-bottom: 30px;
} .fce-course-card {
border: 1px solid #e5e5e5;
border-radius: 8px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: #fff;
height: 100%;
display: flex;
flex-direction: column;
}
.fce-course-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
} .fce-course-image {
width: 100%;
height: 0;
padding-bottom: 56.25%; position: relative;
overflow: hidden;
margin-bottom: 15px;
border-radius: 5px;
}
.fce-course-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.fce-course-item:hover .fce-course-image img {
transform: scale(1.05);
} .fce-course-content {
padding: 20px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.fce-course-title {
font-size: 18px;
font-weight: 600;
margin: 0 0 10px;
line-height: 1.4;
}
.fce-course-title a {
color: #333;
text-decoration: none;
}
.fce-course-title a:hover {
color: #2271b1;
}
.fce-course-author {
font-size: 14px;
color: #666;
margin-bottom: 10px;
}
.fce-course-description {
font-size: 14px;
line-height: 1.6;
color: #666;
margin-bottom: 15px;
} .fce-course-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
padding-top: 15px;
border-top: 1px solid #f0f0f0;
}
.fce-course-lessons {
font-size: 14px;
color: #666;
}
.fce-course-price {
font-weight: 600;
}
.fce-course-price-free {
color: #4CAF50;
}
.fce-course-price-paid {
color: #2271b1;
} .fce-course-categories {
margin-top: 10px;
font-size: 13px;
color: #666;
}
.fce-course-category {
color: #2271b1;
text-decoration: none;
}
.fce-course-category:hover {
text-decoration: underline;
} .fce-course-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
margin-top: 30px;
}
.fce-course-pagination button {
padding: 8px 16px;
background-color: #2271b1;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s ease;
}
.fce-course-pagination button:hover:not(:disabled) {
background-color: #135e96;
}
.fce-course-pagination button:disabled {
background-color: #e5e5e5;
cursor: not-allowed;
color: #999;
}
.fce-course-pagination-info {
font-size: 14px;
color: #666;
} .fce-course-search-no-results {
text-align: center;
padding: 40px 0;
color: #666;
} .fce-course-search.loading {
position: relative;
}
.fce-course-search.loading:after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.7);
z-index: 10;
}
.fce-course-search.loading:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
margin: -20px 0 0 -20px;
border-radius: 50%;
border: 3px solid #f3f3f3;
border-top-color: #3498db;
animation: spin 1s linear infinite;
z-index: 11;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media (max-width: 768px) {
.fce-course-search-filters {
flex-direction: column;
}
.fce-course-search-filter {
width: 100%;
}
.fce-course-grid {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
}
@media (max-width: 480px) {
.fce-course-grid {
grid-template-columns: 1fr;
}
.fce-course-pagination {
flex-direction: column;
}
} .fce-community-stat {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
display: flex;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); transition: all 0.3s ease;
margin-bottom: 25px;
padding: 25px;
background-color: #fff;
position: relative;
z-index: 1;
} .fce-community-stat:before {
display: none;
}
.fce-community-stat:hover {
transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); } .fce-stat-icon {
display: flex;
align-items: center;
justify-content: center;
margin-right: 16px; position: relative;
z-index: 2;
} .fce-stat-icon svg {
width: 28px; height: 28px;
fill: none !important;
stroke: #19283a; stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.fce-community-stat:hover .fce-stat-icon svg {
color: #19283a; } .fce-stat-icon:before {
display: none;
} .fce-stat-content {
flex: 1;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
}
.fce-stat-value {
font-size: 32px; font-weight: 600; line-height: 1.1;
color: #19283a; margin-bottom: 4px; transition: transform 0.2s ease;
transform-origin: left center;
text-shadow: none; }
.fce-community-stat:hover .fce-stat-value {
transform: none; }
.fce-stat-label {
font-size: 14px;
color: #555;
line-height: 1.4;
font-weight: 500;
} .fce-community-stat.horizontal {
flex-direction: row;
align-items: center;
}
.fce-community-stat.vertical {
flex-direction: column;
text-align: center;
padding: 25px 20px;
}
.fce-community-stat.vertical .fce-stat-icon {
margin-right: 0;
margin-bottom: 12px; }
.fce-community-stat.vertical .fce-stat-value {
transform-origin: center;
} .fce-community-stat.small {
padding: 16px;
border-radius: 8px;
}
.fce-community-stat.small .fce-stat-value {
font-size: 24px;
}
.fce-community-stat.small .fce-stat-icon svg {
width: 20px;
height: 20px;
}
.fce-community-stat.large {
padding: 28px;
border-radius: 12px;
}
.fce-community-stat.large .fce-stat-value {
font-size: 40px;
margin-bottom: 6px;
}
.fce-community-stat.large .fce-stat-label {
font-size: 16px;
}
.fce-community-stat.large .fce-stat-icon svg {
width: 32px;
height: 32px;
} @keyframes pulse {
0%, 100% {
transform: none;
}
}
@keyframes shine {
0%, 100% {
transform: none;
}
}
@keyframes subtle-bounce {
0%, 100% {
transform: none;
}
}
.fce-community-stat:hover {
animation: none;
}
.fce-community-stat:hover .fce-stat-icon:before {
animation: none;
} .fce-community-stat[data-stat-type="total_members"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="total_enrolled"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="total_posts"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="recent_posts"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="total_comments"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="recent_comments"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="active_users"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="course_completion_rate"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="total_courses"] .fce-stat-icon svg,
.fce-community-stat[data-stat-type="total_completed"] .fce-stat-icon svg {
color: #19283a;
}
.fce-community-stat[data-stat-type="total_members"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_enrolled"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_posts"] .fce-stat-value,
.fce-community-stat[data-stat-type="recent_posts"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_comments"] .fce-stat-value,
.fce-community-stat[data-stat-type="recent_comments"] .fce-stat-value,
.fce-community-stat[data-stat-type="active_users"] .fce-stat-value,
.fce-community-stat[data-stat-type="course_completion_rate"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_courses"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_completed"] .fce-stat-value {
color: #19283a !important;
} .fce-community-stat:after {
display: none;
} .fce-community-stat[data-stat-type="total_members"],
.fce-community-stat[data-stat-type="total_enrolled"],
.fce-community-stat[data-stat-type="total_posts"],
.fce-community-stat[data-stat-type="recent_posts"],
.fce-community-stat[data-stat-type="total_comments"],
.fce-community-stat[data-stat-type="recent_comments"],
.fce-community-stat[data-stat-type="active_users"],
.fce-community-stat[data-stat-type="course_completion_rate"] {
background-image: none;
} .fce-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 25px;
margin-bottom: 35px;
}
.fce-stats-grid.columns-2 {
grid-template-columns: repeat(2, 1fr);
}
.fce-stats-grid.columns-3 {
grid-template-columns: repeat(3, 1fr);
}
.fce-stats-grid.columns-4 {
grid-template-columns: repeat(4, 1fr);
} .fce-community-stat[data-stat-type="total_members"]:after,
.fce-community-stat[data-stat-type="total_enrolled"]:after {
background-color: #4CAF50;
}
.fce-community-stat[data-stat-type="total_members"] .fce-stat-value,
.fce-community-stat[data-stat-type="total_enrolled"] .fce-stat-value {
color: #4CAF50;
}
.fce-community-stat[data-stat-type="total_members"] .fce-stat-icon .dashicons,
.fce-community-stat[data-stat-type="total_enrolled"] .fce-stat-icon .dashicons {
color: #4CAF50;
}
.fce-community-stat[data-stat-type="total_members"] .fce-stat-icon:before,
.fce-community-stat[data-stat-type="total_enrolled"] .fce-stat-icon:before {
background-color: rgba(76, 175, 80, 0.1);
}
.fce-community-stat[data-stat-type="total_posts"]:after,
.fce-community-stat[data-stat-type="recent_posts"]:after {
background-color: #2196F3;
}
.fce-community-stat[data-stat-type="total_posts"] .fce-stat-value,
.fce-community-stat[data-stat-type="recent_posts"] .fce-stat-value {
color: #2196F3;
}
.fce-community-stat[data-stat-type="total_posts"] .fce-stat-icon .dashicons,
.fce-community-stat[data-stat-type="recent_posts"] .fce-stat-icon .dashicons {
color: #2196F3;
}
.fce-community-stat[data-stat-type="total_posts"] .fce-stat-icon:before,
.fce-community-stat[data-stat-type="recent_posts"] .fce-stat-icon:before {
background-color: rgba(33, 150, 243, 0.1);
}
.fce-community-stat[data-stat-type="total_comments"]:after,
.fce-community-stat[data-stat-type="recent_comments"]:after {
background-color: #FF9800;
}
.fce-community-stat[data-stat-type="total_comments"] .fce-stat-value,
.fce-community-stat[data-stat-type="recent_comments"] .fce-stat-value {
color: #FF9800;
}
.fce-community-stat[data-stat-type="total_comments"] .fce-stat-icon .dashicons,
.fce-community-stat[data-stat-type="recent_comments"] .fce-stat-icon .dashicons {
color: #FF9800;
}
.fce-community-stat[data-stat-type="total_comments"] .fce-stat-icon:before,
.fce-community-stat[data-stat-type="recent_comments"] .fce-stat-icon:before {
background-color: rgba(255, 152, 0, 0.1);
}
.fce-community-stat[data-stat-type="active_users"]:after {
background-color: #9C27B0;
}
.fce-community-stat[data-stat-type="active_users"] .fce-stat-value {
color: #9C27B0;
}
.fce-community-stat[data-stat-type="active_users"] .fce-stat-icon .dashicons {
color: #9C27B0;
}
.fce-community-stat[data-stat-type="active_users"] .fce-stat-icon:before {
background-color: rgba(156, 39, 176, 0.1);
}
.fce-community-stat[data-stat-type="course_completion_rate"]:after {
background-color: #E91E63;
}
.fce-community-stat[data-stat-type="course_completion_rate"] .fce-stat-value {
color: #E91E63;
}
.fce-community-stat[data-stat-type="course_completion_rate"] .fce-stat-icon .dashicons {
color: #E91E63;
}
.fce-community-stat[data-stat-type="course_completion_rate"] .fce-stat-icon:before {
background-color: rgba(233, 30, 99, 0.1);
} @media (max-width: 768px) {
.fce-stats-grid.columns-3,
.fce-stats-grid.columns-4 {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.fce-community-stat.horizontal {
flex-direction: column;
text-align: center;
padding: 25px 20px;
}
.fce-community-stat.horizontal .fce-stat-icon {
margin-right: 0;
margin-bottom: 15px;
}
.fce-community-stat.horizontal .fce-stat-value {
transform-origin: center;
}
.fce-community-stat.horizontal:after {
width: 100%;
height: 6px;
top: auto;
bottom: 0;
left: 0;
}
.fce-community-stat.horizontal:hover:after {
height: 10px;
width: 100%;
}
.fce-stats-grid,
.fce-stats-grid.columns-2,
.fce-stats-grid.columns-3,
.fce-stats-grid.columns-4 {
grid-template-columns: 1fr;
}
}  .fce-community-stat[data-stat-type="total_members"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(76, 175, 80, 0.03) 0%, transparent 30%);
}
.fce-community-stat[data-stat-type="total_enrolled"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(76, 175, 80, 0.03) 0%, transparent 30%);
}
.fce-community-stat[data-stat-type="total_posts"],
.fce-community-stat[data-stat-type="recent_posts"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(33, 150, 243, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(33, 150, 243, 0.03) 0%, transparent 30%);
}
.fce-community-stat[data-stat-type="total_comments"],
.fce-community-stat[data-stat-type="recent_comments"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(255, 152, 0, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(255, 152, 0, 0.03) 0%, transparent 30%);
}
.fce-community-stat[data-stat-type="active_users"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(156, 39, 176, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(156, 39, 176, 0.03) 0%, transparent 30%);
}
.fce-community-stat[data-stat-type="course_completion_rate"] {
background-image: 
radial-gradient(circle at 10% 90%, rgba(233, 30, 99, 0.03) 0%, transparent 30%),
radial-gradient(circle at 90% 10%, rgba(233, 30, 99, 0.03) 0%, transparent 30%);
} @keyframes pulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}
.fce-community-stat:hover .fce-stat-icon:before {
animation: pulse 2s infinite;
} .fce-community-stat:before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to bottom right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.4) 50%,
rgba(255, 255, 255, 0) 60%,
rgba(255, 255, 255, 0) 100%
);
transform: rotate(45deg);
transition: all 0.8s;
z-index: 0;
opacity: 0;
}
.fce-community-stat:hover:before {
opacity: 1;
animation: shine 1.5s forwards;
}
@keyframes shine {
0% {
transform: rotate(45deg) translateX(-100%);
}
100% {
transform: rotate(45deg) translateX(100%);
}
} .fce-stat-value {
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
} .fce-community-stat {
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
} @keyframes subtle-bounce {
0%, 100% {
transform: translateY(-6px);
}
50% {
transform: translateY(-8px);
}
}
.fce-community-stat:hover {
animation: subtle-bounce 2s infinite;
}