.table-responsive {
    overflow: visible !important;
}

.dropdown-menu {
    background: #ffffff !important;
    z-index: 6 !important;
}

.loader-wrapper {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links {
    margin-top: 0px;
}

.simplebar-mask {
    top: 65px;
}

.pointer {
    cursor: pointer;
}

.checkbox-wrapper,
.radio-wrapper {
    justify-content: start !important;
}

.checkbox-wrapper li,
.radio-wrapper li {
    padding: 10px;
}

.border-active {
    border: 4px solid #f34680 !important;
}

.page {
    padding: 16px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.content-wrapper {
    display: flex;
    gap: 16px;
    flex: 1;
    overflow: hidden;
}
.video-section {
    flex: 1;
    min-width: 0;
}
.embed-wrap,
whereby-embed {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.hint {
    opacity: 0.7;
}

.comments-section {
    width: 350px;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}
.comments-header {
    padding: 16px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.comment-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comment-item {
    display: flex;
    gap: 12px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}
.comment-content {
    flex: 1;
    min-width: 0;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.comment-user {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.comment-time {
    font-size: 12px;
    color: #999;
}
.comment-text {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    word-wrap: break-word;
}
.no-comments {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 40px;
}

.comment-input-wrapper {
    padding: 16px;
    background: white;
    border-top: 1px solid #e0e0e0;
}
.comment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.comment-input:focus {
    outline: none;
    border-color: #667eea;
}
.send-btn {
    width: 100%;
    padding: 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.send-btn:hover:not(:disabled) {
    background: #5568d3;
}
.send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .comments-section {
        width: 300px;
    }
}
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    .comments-section {
        width: 100%;
        height: 400px;
    }
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    overflow: hidden;
    flex-shrink: 0;
    }

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutor-badge {
    background: #9C27B0;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-user {
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}