/* Custom styles for Podcast Console */

* {
    box-sizing: border-box;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    text-transform: lowercase;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d2d2d;
}

::-webkit-scrollbar-thumb {
    background: #666666;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c30400;
}

/* Timer color states */
.timer-green {
    color: #10b981;
}

.timer-yellow {
    color: #fbbf24;
}

.timer-red {
    color: #c30400;
}

/* Status indicator animations */
.status-ready {
    background-color: #666666;
}

.status-running {
    background-color: #10b981;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-paused {
    background-color: #fbbf24;
}

.status-finished {
    background-color: #c30400;
    animation: blink 1s linear infinite;
}

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

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

/* Segment status indicators */
.segment-pending {
    border-left: 4px solid #666666;
}

.segment-active {
    border-left: 4px solid #c30400;
    background-color: rgba(195, 4, 0, 0.1);
}

.segment-completed {
    border-left: 4px solid #10b981;
    opacity: 0.7;
}

/* Stinger button active state */
.stinger-playing {
    background-color: #c30400 !important;
    border-color: #c30400 !important;
    animation: pulse 1s ease-in-out infinite;
}

/* Volume slider customization */
input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #c30400;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #c30400;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

/* Connection status */
.connected {
    background-color: #10b981;
    color: white;
}

.disconnected {
    background-color: #c30400;
    color: white;
}

.reconnecting {
    background-color: #fbbf24;
    color: black;
}

/* Drag and drop (for future segment reordering) */
.dragging {
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .grid-cols-1.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Button focus states */
button:focus {
    outline: 2px solid #c30400;
    outline-offset: 2px;
}

/* Form inputs focus states */
input:focus,
textarea:focus {
    border-color: #c30400;
    outline: none;
}

/* Segment item hover effect */
.segment-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Transition effects */
.transition-all {
    transition: all 0.2s ease-in-out;
}
