/* Course Detail Styles */
.course-featured-image {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: block;
}

.file-tree .tree {
    list-style: none;
    padding-left: 0;
    font-size: 15px;
}

.file-tree .folder > .toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-weight: 600;
}

.file-tree .folder i {
    margin-right: 6px;
    color: #f0ad4e;
}

.file-tree .nested {
    display: none;
    margin-left: 18px;
    list-style: none;
    padding-left: 10px;
    border-left: 1px dashed #ccc;
}

.file-tree .nested.active {
    display: block;
}

.file-tree .file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.file-tree .file:last-child {
    border-bottom: none;
}

.file-tree .file-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.file-tree .file-info i {
    margin-right: 8px;
    color: #555;
}

.file-tree .file-name {
    color: #444;
    text-decoration: none;
}

.file-tree .file-name:hover {
    text-decoration: underline;
}

.file-tree .download-btn {
    padding: 4px 12px;
    font-size: 13px;
    border: 1px solid #6091ba;
    background: white;
    color: #6091ba;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-tree .download-btn:hover {
    background: #6091ba;
    color: white;
}

.file-tree .download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.file-tree .download-progress {
    display: none;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.file-tree .download-progress.active {
    display: block;
}

.file-tree .download-progress-bar {
    height: 100%;
    background: #6091ba;
    width: 0%;
    transition: width 0.2s;
}

.file-tree .download-status {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}
