﻿.course-item {
    transition: all 0.3s ease;
    cursor: move;
}

    .course-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.drag-over {
    border: 2px dashed #007bff;
    background-color: #f8f9fa;
}

.course-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-move {
    opacity: 0.7;
    transition: opacity 0.3s;
}

    .btn-move:hover {
        opacity: 1;
    }


.course-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
}

.course-thumbnail {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.course-info-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.instructor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.course-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.lesson-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

@media (max-width: 768px) {
    .course-header {
        padding: 1.5rem 0;
    }

    .course-thumbnail {
        margin-bottom: 1.5rem;
    }
}


.lesson-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

    .lesson-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    }

.lesson-thumbnail {
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-thumbnail {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lesson-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #007bff;
    transition: transform 0.2s ease;
}

    .play-button:hover {
        transform: scale(1.1);
    }

.lesson-title a {
    transition: color 0.2s ease;
}

    .lesson-title a:hover {
        color: #007bff !important;
    }

.lesson-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 4.5em;
}

.lesson-meta {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lesson-card {
        margin-bottom: 1rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.headingBackground {
    background-color: #110842;
    height: 90px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1500px;
    }
}

.container-hearder {
    width: 100%;
    max-width: 1700px;
    height: 100%;
    display: flex;
    -ms-align-content: inherit;
    -webkit-align-content: inherit;
    align-content: inherit;
    -ms-align-content: inherit;
    -webkit-align-content: inherit;
    align-items: center;
    justify-content: flex-start;
}


.free-container .link-free {
    color: #110842 !important;
    text-decoration: none;
}
.free-container .lesson-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bottom-btn-free {
    background-color: #110842;
}
.free-container .card-title.lesson-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}