/*--------------------------------------------------------------
# Enhanced Course Details Styles - Simple Version
--------------------------------------------------------------*/

/* Course Details Container */
.course-details {
    position: relative;
    display: block;
    padding: 60px 0;
}

/* Course Details Left Section */
.course-details__left {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Course Image */
.course-details__img {
    position: relative;
    display: block;
}

.course-details__img img {
    width: 100%;
    object-fit: cover;
}

/* Course Content */
.course-details__content {
    position: relative;
    display: block;
    padding: 25px;
}

/* Course Tags Container */
.course-details__tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

/* Course Tags */
.course-details__tags a .course-details__tag-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #50bfda;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.course-details__tags a:hover .course-details__tag-box {
    background: #3da8c4;
}

.course-details__tag-shape {
    position: relative;
    display: block;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.course-details__tag {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

/* Course Title */
.course-details__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 20px 0 25px;
    color: #212529;
}

/* Instructor and Update Box */
.course-details__instructor-and-update-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.course-details__instructor-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-details__instructor-img {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #50bfda;
}

.course-details__instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details__instructor-content {
    position: relative;
    display: block;
    flex: 1;
}

.course-details__instructor-content p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.course-details__instructor-content h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #212529;
    margin: 0;
}

.course-details__update-box {
    position: relative;
    display: block;
    text-align: right;
}

.course-details__update-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-details__update-list > li {
    position: relative;
    display: block;
}

.course-details__update-list > li p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 2px;
    font-weight: 500;
}

.course-details__update-list > li h4 {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

/* Tab Navigation */
.course-details__main-tab-box {
    position: relative;
    display: block;
    margin-top: 30px;
}

.course-details__main-tab-box .tab-buttons {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.course-details__main-tab-box .tab-buttons .tab-btn {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.course-details__main-tab-box .tab-buttons .tab-btn p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    background: transparent;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.course-details__main-tab-box .tab-buttons .tab-btn p span {
    font-size: 16px;
    color: #212529;
}

.course-details__main-tab-box .tab-buttons .tab-btn.active-btn p {
    background: #50bfda;
    color: #fff;
}

.course-details__main-tab-box .tab-buttons .tab-btn.active-btn p span {
    color: #fff;
}

/* Tab Content */
.course-details__main-tab-box .tabs-content {
    position: relative;
    display: block;
}

.course-details__main-tab-box .tabs-content .tab {
    position: relative;
    display: none;
}

.course-details__main-tab-box .tabs-content .tab.active-tab {
    display: block;
}

.course-details__tab-inner {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

/* Curriculum Section */
.course-details__curriculum {
    position: relative;
    display: block;
}

.course-details__curriculum-content {
    position: relative;
    display: block;
}

.course-lessons-list {
    position: relative;
    display: block;
}

.course-lessons__items {
    position: relative;
    display: block;
}

.course-lessons__items li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.course-lessons__items li:last-child {
    margin-bottom: 0;
}

.course-lessons__item-text {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.course-lessons__item-text a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    text-decoration: none;
}

.course-lessons__item-text a span {
    font-size: 16px;
    color: #50bfda;
}

.course-lessons__duration {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.course-lessons__duration p {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 15px;
}

.course-lessons__icon-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-lessons__lock-icon,
.course-lessons__play-icon,
.course-lessons__download-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.course-lessons__lock-icon {
    background: #6c757d;
    color: #fff;
}

.course-lessons__play-icon {
    background: #50bfda;
    color: #fff;
}

.course-lessons__download-icon {
    align-items: center;
    background: #1976d2;
    color: #fff;
}

.course-lessons__lock-icon span,
.course-lessons__play-icon span,
.course-lessons__download-icon span {
    font-size: 14px;
}

/* Overview Section */
.course-details__overview {
    position: relative;
    display: block;
}

.course-details__overview p {
    font-size: 18px;
    line-height: 1.7;
    color: #212529;
    margin-bottom: 18px;
}

.course-details__overview ul {
    position: relative;
    display: block;
    margin: 20px 0;
    padding-left: 20px;
}

.course-details__overview ul li {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: #212529;
    margin-bottom: 10px;
    padding-left: 20px;
}

.course-details__overview ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #50bfda;
    font-size: 18px;
    font-weight: bold;
}

.course-details__overview-title-3 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 25px 0 15px;
}

/* Instructor Profile Section */
.course-details__instructor-profile {
    position: relative;
    display: block;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.course-details__instructor-profile + .course-details__instructor-profile {
    margin-top: 25px;
}

.course-details__instructor-profile-img {
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #50bfda;
}

.course-details__instructor-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details__instructor-profile-content {
    position: relative;
    display: block;
    text-align: center;
}

.course-details__instructor-profile-name h4 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.course-details__instructor-course-count {
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
}

.course-details__instructor-profile-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 20px 0 12px;
    text-align: left;
}

.course-details__instructor-profile-content ul {
    position: relative;
    display: block;
    text-align: left;
    margin: 12px 0;
    padding-left: 20px;
}

.course-details__instructor-profile-content ul li {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 1.7;
    color: #212529;
    margin-bottom: 8px;
    padding-left: 18px;
}

.course-details__instructor-profile-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #50bfda;
    font-size: 16px;
    font-weight: bold;
}

/* Course Details Right Section */
.course-details__right {
    position: relative;
    display: block;
}

.course-details__info-box {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Video Link */
.course-details__video-link {
    position: relative;
    display: block;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.course-details__video-link-bg {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.course-details__video-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.course-details__video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Blinking Border */
.course-details__video-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #50bfda;
    border-radius: 50%;
    animation: borderBlink 2s infinite;
    z-index: -1;
}

@keyframes borderBlink {
    0%, 100% {
        opacity: 1;
        border-color: #50bfda;
    }
    50% {
        opacity: 0.3;
        border-color: #4ecdc4;
    }
}

/* Simple Hover Effects */
.course-details__video-icon:hover {
    background: linear-gradient(45deg, #50bfda, #4ecdc4);
    box-shadow: 0 0 15px rgba(80, 191, 218, 0.6);
}

.course-details__video-icon:hover::after {
    border-color: #fff;
    animation: borderBlink 0.8s infinite;
}

/* Icon Color Change */
.course-details__video-icon span {
    font-size: 20px;
    color: #50bfda;
    margin-left: 2px;
    transition: color 0.3s ease;
}

.course-details__video-icon:hover span {
    color: #fff;
}

/* Subtle Glow */
.course-details__video-icon {
    box-shadow: 0 0 5px rgba(80, 191, 218, 0.2);
}

.course-details__video-icon:hover {
    box-shadow: 0 0 20px rgba(80, 191, 218, 0.6);
}

/* Social Box */
.course-details__social-box {
    position: relative;
    display: block;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.course-details__social-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    text-align: center;
}

.course-details__social-list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.course-details__social-list a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.course-details__social-list a:hover {
    transform: translateY(-1px);
}

/* Facebook */
.course-details__social-list a:nth-child(1) {
    background: #1877f2;
    color: white;
}

/* Twitter */
.course-details__social-list a:nth-child(2) {
    background: #1da1f2;
    color: white;
}

/* Line */
.course-details__social-list a:nth-child(3) {
    background: #00b900;
    color: white;
}

/* Copy Link */
.course-details__social-list a:nth-child(4) {
    background: #6c757d;
    color: white;
}

/* Info List */
.course-details__info-list {
    position: relative;
    display: block;
}

.course-details__info-list-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    text-align: center;
}

.course-details__info-list-1 {
    position: relative;
    display: block;
}

.course-details__info-list-1 li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.course-details__info-list-1 li:last-child {
    border-bottom: none;
}

.course-details__info-list-1 li > p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
}

.course-details__info-list-1 li > p > i {
    font-size: 16px;
    color: #50bfda;
    width: 18px;
    text-align: center;
}

.course-details__info-list-1 li > span {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-details__title {
        font-size: 24px;
    }
    
    .course-details__instructor-and-update-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .course-details__update-box {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .course-details {
        padding: 40px 0 60px;
    }
    
    .course-details__content {
        padding: 20px;
    }
    
    .course-details__title {
        font-size: 22px;
        line-height: 1.4;
    }
    
    .course-details__main-tab-box .tab-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .course-details__main-tab-box .tab-buttons .tab-btn p {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .course-details__tab-inner {
        padding: 20px;
    }
    
    .course-lessons__items li {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .course-lessons__duration {
        margin-right: 0;
    }
    
    .course-details__info-box {
        position: relative;
        top: 0;
        margin-top: 25px;
    }
    
    .course-details__instructors-simple {
        gap: 10px;
    }
    
    .course-details__instructor-item + .course-details__instructor-item {
        padding-top: 10px;
    }
    
    .course-details__instructor-img {
        width: 40px;
        height: 40px;
    }
    
    .course-details__instructor-content h4 {
        font-size: 14px;
    }
    
    .course-details__instructor-content p {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .course-details__title {
        font-size: 20px;
    }
    
    .course-details__tag-box {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .course-details__tags {
        flex-direction: column;
        gap: 6px;
    }
    
    .course-details__instructor-and-update-box {
        padding: 15px;
    }
    
    .course-details__instructor-img {
        width: 35px;
        height: 35px;
    }
    
    .course-details__instructor-content h4 {
        font-size: 13px;
    }
    
    .course-details__instructor-content p {
        font-size: 10px;
    }
    
    .course-details__instructor-profile-img {
        width: 80px;
        height: 80px;
    }
    
    .course-details__instructor-profile-name h4 {
        font-size: 18px;
    }

    .course-details__instructor-course-count {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .video-player-title {
        font-size: 18px;
    }
}

/* Video Player Modal Styles */
.video-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-modal.show {
    display: block;
    opacity: 1;
}

.video-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-player-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.video-player-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #50bfda;
    border-bottom: 1px solid #eee;
}

.video-player-title {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    flex: 1;
}

.video-player-close {
    filter: invert(1);
    opacity: 0.8;
}

.video-player-close:hover {
    opacity: 1;
}

.video-player-content {
    position: relative;
    display: block;
    padding: 0;
}

.video-player-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-player-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 15px;
}

.video-player-info {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.video-player-info p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

.video-player-info p i {
    color: #50bfda;
    width: 16px;
    text-align: center;
}

.video-player-controls {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-player-controls .btn {
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.video-player-controls .btn-outline-primary {
    color: #50bfda;
    border-color: #50bfda;
}

.video-player-controls .btn-outline-primary:hover {
    background: #50bfda;
    border-color: #50bfda;
    color: #fff;
}

.video-player-controls .btn-primary {
    background: #50bfda;
    border-color: #50bfda;
}

.video-player-controls .btn-primary:hover {
    background: #3da8c4;
    border-color: #3da8c4;
}

/* Responsive Design for Video Player */
@media (max-width: 768px) {
    .video-player-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .video-player-header {
        padding: 15px 20px;
    }
    
    .video-player-title {
        font-size: 16px;
    }
    
    .video-player-footer {
        padding: 15px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .video-player-info {
        justify-content: center;
        gap: 15px;
    }
    
    .video-player-controls {
        justify-content: center;
        gap: 8px;
    }
    
    .video-player-controls .btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .video-player-container {
        width: 98%;
        border-radius: 8px;
    }
    
    .video-player-header {
        padding: 12px 15px;
    }
    
    .video-player-title {
        font-size: 14px;
    }
    
    .video-player-footer {
        padding: 12px 15px;
    }
    
    .video-player-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .video-player-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-player-controls .btn {
        max-width: none;
    }
}

/* Simple Multiple Instructors Layout */
.course-details__instructors-simple {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.course-details__instructor-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-details__instructor-item + .course-details__instructor-item {
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.course-details__instructor-img {
    position: relative;
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #dee2e6;
    flex-shrink: 0;
}

.course-details__instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details__instructor-content {
    position: relative;
    display: block;
    flex: 1;
}

.course-details__instructor-content p {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 2px;
    font-weight: 500;
}

.course-details__instructor-content h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #212529;
    margin: 0;
}