/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e9f0ff;
}

.upload-icon {
    margin-bottom: 5px;
    color: #6c757d;
}

.upload-text p {
    margin-bottom: 5px;
}

/* File Preview Styles */
.file-preview {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.file-preview img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 5px;
}

/* Comment Styles */
.comment {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Admin Table Styles */
.table-responsive {
    overflow-x: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }

    .upload-area {
        padding: 20px;
    }
}
/* Preview Styles */
.preview-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.preview-image {
    max-width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.preview-iframe {
    border: none;
    border-radius: 4px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preview-text,
.preview-code {
    background: white;
    padding: 15px;
    border-radius: 4px;
    max-height: 500px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #dee2e6;
}

.preview-code {
    background: #f5f5f5;
}

.preview-audio,
.preview-video {
    width: 100%;
    border-radius: 4px;
}

.preview-download {
    background: white;
    border-radius: 8px;
    padding: 30px;
}

.preview-icon {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .preview-iframe {
        height: 400px;
    }

    .preview-text,
    .preview-code {
        max-height: 300px;
    }
}
/* Footer hover effects */
.hover-primary {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    color: #0d6efd !important;
}

/* Footer styling */
footer {
    font-family: 'Poppins', sans-serif;
}

/* Back to top button */
.back-to-top {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px);
}