/* Custom styles for video editing theme */

.container {
    max-width: 1200px;
}

/* Timeline styling */
.timeline-container {
    position: relative;
    background: linear-gradient(90deg, #1f2937 0%, #374151 50%, #1f2937 100%);
}

/* Progress bars */
.progress-circle {
    background: conic-gradient(from 0deg, #3b82f6 0deg, #3b82f6 var(--progress, 0deg), #374151 var(--progress, 0deg));
}

/* Video thumbnail hover effects */
.video-thumbnail {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar for segments */
.segments-grid::-webkit-scrollbar {
    width: 8px;
}

.segments-grid::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

.segments-grid::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

.segments-grid::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Animation for cut points */
@keyframes pulse-cut {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.cut-point {
    animation: pulse-cut 2s infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.segment-card {
    transition: all 0.3s ease;
}

.segment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Upload area animation */
.upload-area {
    transition: all 0.3s ease;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.upload-area:hover {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-color: #3b82f6;
}

/* Button animations */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Range slider custom styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
    background: #374151;
    height: 6px;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #3b82f6;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: 2px solid #1f2937;
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    background: #374151;
    height: 6px;
    border-radius: 3px;
    border: none;
}

input[type="range"]::-moz-range-thumb {
    background: #3b82f6;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: 2px solid #1f2937;
    cursor: pointer;
}

/* Loading animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .grid-mobile-full {
        grid-template-columns: 1fr;
    }
}

/* Dark mode specific enhancements */
.bg-editor {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.card-glass {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}