/* ===== Course Benefits ===== */
.course-benefits {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-right: 4px solid #0d6efd;
}

.benefit-item {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}
.benefit-item:last-child {
    border-bottom: none;
}
.benefit-item i {
    position: absolute;
    right: 0;
    color: #28a745;
}

/* ===== Video Player Container ===== */
#videoPlayerArea {
    background-color: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

/* ===== Video Controls ===== */
.video-controls-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.video-controls-overlay .btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.ratio:hover .video-controls-overlay {
    opacity: 1;
}

.video-controls-overlay .btn {
    padding: 0.35rem 0.65rem;
    border: none;
    color: white;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.video-controls-overlay .btn:hover {
    background-color: rgba(0, 0, 0, 0.85);
    transform: translateY(-1px);
}

.video-controls-overlay .btn:active {
    transform: translateY(0);
}

.speed-control {
    min-width: 54px;
}
.speed-control .fas {
    margin-left: 4px;
}

.fullscreen-btn {
    width: 34px;
    padding: 0;
    justify-content: center;
}

/* ===== Video Meta Info ===== */
.video-meta {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
}
.video-meta h5 {
    font-weight: 600;
    color: #2c3e50;
}

/* ===== Transcript Styles ===== */
.video-transcript {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1.25rem;
    border-right: 3px solid #0d6efd;
    margin-top: 1rem;
}
.video-transcript h5 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

/* ===== Payment Modal ===== */
#paymentModal .form-control {
    margin-bottom: 1rem;
}
#paymentModal .card {
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* ===== Course Description ===== */
.course-description {
    line-height: 1.8;
}
.course-description h3 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-description ul, 
.course-description ol {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}
.course-description li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-right: 1.25rem;
}
.course-description ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    right: 0;
}
.course-description ol {
    list-style-type: arabic-indic;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 576px) {
    .video-controls-overlay {
        bottom: 8px;
        right: 8px;
    }
    .video-controls-overlay .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    .speed-control {
        min-width: 48px;
    }
}