/* Course Show Page */
/* .course-header {
    background-color: #29303b;
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
} */

.preview-video{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items:center;
}

.preview-video video{
    max-width: 600px;
}

.course-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.rating i {
    color: #f4c150;
}

.course-instructor a {
    color: white;
    font-weight: 600;
}

.course-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.course-tabs .nav-link {
    color: #686f7a;
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
}

.course-tabs .nav-link.active {
    color: #0f7c90;
    border-bottom: 2px solid #0f7c90;
    background: transparent;
}

.what-you-learn h3,
.course-requirements h3,
.course-description-full h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.learn-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.learn-items li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.learn-items li i {
    color: #0f7c90;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Course Sidebar */
.course-sidebar {
    position: sticky;
    top: 20px;
}

.course-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 1px 1px rgba(20,23,28,.1), 0 3px 1px 0 rgba(20,23,28,.1);
    overflow: hidden;
}

.course-poster {
    position: relative;
}

.course-poster img {
    width: 100%;
    height: auto;
}

.preview-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.course-pricing {
    padding: 1.5rem;
    border-bottom: 1px solid #e8e9eb;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #29303b;
}

.price-free {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f7c90;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #686f7a;
}

.course-actions {
    padding: 1.5rem;
}

.btn-buy-course, .btn-start-course, .btn-enroll-course {
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.course-includes {
    padding: 0 1.5rem 1.5rem;
}

.course-includes h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-includes ul {
    list-style: none;
    padding: 0;
}

.course-includes li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: flex-start;
}

.course-includes li i {
    color: #0f7c90;
    margin-right: 0.7rem;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.share-course {
    padding: 1.5rem;
    border-top: 1px solid #e8e9eb;
}

.share-course h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    gap: 0.8rem;
}

.social-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.linkedin { background: #0077b5; }
.whatsapp { background: #25d366; }

.course-features {
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 1px 1px rgba(20,23,28,.1), 0 3px 1px 0 rgba(20,23,28,.1);
    padding: 1.5rem;
}

.feature-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-item i {
    color: #0f7c90;
    margin-right: 0.7rem;
    font-size: 1.1rem;
}

/* Curriculum */
.curriculum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chapter-item {
    margin-bottom: 0.5rem;
}

.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.chapter-title {
    display: flex;
    align-items: center;
}

.chapter-number {
    margin-right: 0.7rem;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #686f7a;
    margin-left: 10px;
}

.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lesson-item {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #e8e9eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-info {
    display: flex;
    align-items: center;
}

.lesson-info i {
    color: #0f7c90;
    margin-right: 0.7rem;
    font-size: 0.9rem;
}

.lesson-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: #686f7a;
}

/* Reviews */
.overall-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
}

.rating-stars i {
    color: #f4c150;
    font-size: 1.5rem;
}

.rating-count {
    color: #686f7a;
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8e9eb;
    display: flex;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.review-content {
    flex: 1;
}

.review-rating i {
    color: #f4c150;
    font-size: 0.9rem;
}

.review-title {
    font-weight: 600;
    margin: 0.5rem 0;
}

.review-date {
    font-size: 0.8rem;
    color: #686f7a;
    margin-top: 0.5rem;
}

.review-actions {
    margin-top: 1rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    font-size: 1.5rem;
    padding: 0 0.2rem;
    cursor: pointer;
}

.rating-input input:checked ~ label,
.rating-input input:hover ~ label {
    color: #f4c150;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #f4c150;
}

/* Course Player */
.course-player-container {
    background: #f7f9fa;
    min-height: calc(100vh - 70px);
    margin-top: 73px;
}


@media (max-width: 992px) {
    .course-player-container {
      margin-top: 63px;
    }
}

.course-content-area {
    padding: 2rem;
}

.course-video-player {
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.course-video-player video {
    width: 100%;
    height: auto;
}

.no-video-placeholder {
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: #29303b;
}

@media (max-width: 768px) {
    .no-video-placeholder {
        height: 250px;
    }
}

.no-video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.lesson-header {
    margin-bottom: 2rem;
}

.lesson-progress .progress {
    height: 8px;
    margin-bottom: 0.5rem;
}

.lesson-progress .progress-bar {
    background-color: #0f7c90;
}

.lesson-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lesson-content img {
    max-width: 100%;
    height: auto;
}

.lesson-resources h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e8e9eb;
    border-radius: 5px;
    margin-bottom: 0.8rem;
}

.resource-icon i {
    font-size: 2rem;
    margin-right: 1rem;
    color: #0f7c90;
}

.resource-name {
    font-weight: 600;
}

.resource-meta {
    font-size: 0.8rem;
    color: #686f7a;
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e9eb;
}

@media (max-width: 768px) {
    .lesson-navigation {
        display: block;
    }
    .lesson-navigation a,.lesson-navigation button{
        margin-bottom: 10px;
    }
}

/* Course Sidebar */
.course-sidebar {
    padding: 2rem 1rem;
}

.course-progress-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 1px 1px rgba(20,23,28,.1), 0 3px 1px 0 rgba(20,23,28,.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.progress-percentage {
    font-weight: 700;
    color: #0f7c90;
}

.progress-bar-container .progress {
    height: 8px;
    margin-bottom: 1rem;
}

.progress-bar-container .progress-bar {
    background-color: #0f7c90;
}

.course-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.stat-item i {
    color: #0f7c90;
    margin-right: 0.5rem;
}

.accordion-button {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
}

.chapter-title i {
    margin-right: 0.7rem;
    color: #0f7c90;
    font-size: 0.9rem;
}

.completed-lessons {
    font-size: 0.8rem;
    color: #686f7a;
}

.lesson-list {
    padding-left: 0;
}

.lesson-item {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f1f1f1;
}

.lesson-item.active {
    background: #f7f9fa;
    border-left: 3px solid #0f7c90;
}

.lesson-item.completed .lesson-title {
    color: #0f7c90;
}

.lesson-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.lesson-icon i {
    color: #0f7c90;
    font-size: 0.9rem;
    margin-right: 0.7rem;
}

.lesson-title {
    flex: 1;
    font-size: 0.9rem;
}

.lesson-duration {
    font-size: 0.8rem;
    color: #686f7a;
}

.toggle-all-chapters {
    font-size: 0.8rem;
}

/* Course Completion Page */
.course-completion-page {
    padding: 4rem 0;
}

.completion-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 3rem;
    text-align: center;
}

.completion-badge {
    width: 100px;
    height: 100px;
    background: #0f7c90;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.completion-badge i {
    color: white;
    font-size: 3rem;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.certificate-section {
    background: #f7f9fa;
    border-radius: 5px;
    padding: 2rem;
    margin: 2rem 0;
}

.next-steps {
    margin-top: 3rem;
}

.next-step-card {
    background: white;
    border: 1px solid #e8e9eb;
    border-radius: 5px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
}

.next-step-card i {
    font-size: 2rem;
    color: #0f7c90;
    margin-bottom: 1rem;
}

.next-step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.next-step-card p {
    font-size: 0.9rem;
    color: #686f7a;
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.related-courses {
    margin-top: 3rem;
}

.course-card {
    border: 1px solid #e8e9eb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.course-card img {
    width: 100%;
    height: auto;
}

.course-info {
    padding: 1rem;
}

.course-info h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #686f7a;
}

/* Responsive */
@media (max-width: 992px) {
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .learn-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* .course-header {
        padding: 2rem 0;
    } */

    .curriculum-header .stats{
        display: block !important;
        text-align: end;
    }

    .chapter-meta{
        width: 150px;
        justify-content: end;
    }

    .preview-video video{
        max-width: 400px;
    }

    .course-title {
        font-size: 1.8rem;
    }

    .course-meta {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .completion-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
