/* Custom styles for YouTube Bulk Uploader */

/* Upload area styling */
.upload-area {
    border: 2px dashed var(--bs-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--bs-info);
    background-color: rgba(13, 202, 240, 0.05);
}

.upload-area.border-info {
    border-color: var(--bs-info);
    background-color: rgba(13, 202, 240, 0.1);
}

/* Responsive table adjustments */
.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .table td, .table th {
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Video URL truncation in table */
.table td a {
    display: block;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Focus styles */
.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Animation for the progress bar */
@keyframes progress-bar-stripes {
    0% { background-position-x: 1rem; }
}

/* Toast positioning */
.toast {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Card shadow effect */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Button hover effects */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* File list styling */
#fileList .list-group-item {
    transition: background-color 0.2s ease;
}

#fileList .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Opacity effect for disabled state */
.pe-none {
    opacity: 0.7;
    pointer-events: none;
}
