body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-top {
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
}

.hero-section {
    background-color: #1a233a;
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.hero-section p {
    color: #a0a5b1;
    font-size: 0.9rem;
}

.form-container {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.submit-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #bb2d3b;
}

.example-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #495057;
}

.example-list li {
    margin-bottom: 8px;
    font-weight: 500;
}

.textarea-custom {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    resize: none;
}

.textarea-custom:focus {
    box-shadow: none;
    border-color: #dc3545;
}

.section-title {
    font-weight: bold;
    font-size: 1.4rem;
    color: #212529;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
}

.category-pills .nav-link {
    color: #495057;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    margin-left: 8px;
    margin-bottom: 8px;
    padding: 5px 15px;
    font-size: 0.9rem;
}

.category-pills .nav-link.active {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.course-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    height: 100%;
    transition: 0.3s;
}

.course-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-thumbnail {
    position: relative;
    height: 160px;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
}

.video-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.play-icon-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.card-body-custom {
    padding: 15px;
}

.course-title {
    font-weight: bold;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-name {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.channel-name i {
    color: #dc3545;
}

.card-footer-custom {
    padding: 0 15px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-link {
    color: #495057;
    border: none;
    margin: 0 3px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.page-item.active .page-link {
    background-color: #dc3545;
    color: white;
}
