/* Video Processing States */
.video-processing {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.video-processing p {
    margin: 0.5rem 0;
}

.video-processing .hint {
    color: #888;
    font-size: 0.85rem;
}

.processing-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #4CAF50;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-failed {
    background: #2a1a1a;
    border: 1px solid #ff4444;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #ff6666;
}

/* Recording UI */
.recording-ui {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.recording-ui video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.recording-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
}

.recording-indicator {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.recording-time {
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.recording-max {
    color: #888;
}

.recording-ui .btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Media preview updates */
.media-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Size warnings */
.hint.warning {
    color: #ff9800;
}
