body {
    background-color: #f8f9fa;
    padding-bottom: 20px;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

#previewTable {
    font-size: 0.9rem;
}

#renameBtn, #downloadSelectedBtn {
    font-weight: bold;
    padding: 10px;
}

.form-control, .form-select {
    padding: 10px;
}

.thumbnail-preview {
    max-width: 80px;
    max-height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.video-thumbnail {
    position: relative;
    display: inline-block;
}

.video-thumbnail::after {
    content: "\F144";
    font-family: "bootstrap-icons";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.dataTables_wrapper .dataTables_length select {
    padding: 5px 28px;
    margin: 0 5px;
}

.action-btn {
    padding: 3px 8px;
    font-size: 0.8rem;
}

.file-icon {
    font-size: 2rem;
    color: #6c757d;
}

#previewTable th {
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.5em;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.modal-body .card {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}

.file-checkbox {
    margin-top: 0;
    cursor: pointer;
}

#previewTableBody tr {
    vertical-align: middle;
}

/* Add these styles for editable filenames */
.editable-filename {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 3px 8px;
    background-color: white;
}

.editable-filename:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.table td {
    vertical-align: middle;
}