.tool-workspace {
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.drop-zone:hover, .drop-zone.drag-active {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
}

.drop-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.drop-zone h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
    font-size: 1.2rem;
}

.drop-zone p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Player Container */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The visualizer border */
.visualizer-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border: 4px solid transparent;
    border-radius: 12px;
    transition: box-shadow 0.05s ease-out, border-color 0.05s ease-out;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* Custom Controls */
.controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1rem 1rem 1rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-container:hover .controls-overlay,
.player-container.paused .controls-overlay {
    opacity: 1;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.1s;
}

.progress-container:hover {
    height: 8px;
}

.progress-filled {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    border-radius: 3px;
    pointer-events: none;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
}

.progress-container:hover .progress-thumb {
    opacity: 1;
}

/* Controls Main Row */
.controls-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ctrl-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctrl-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.ctrl-btn.active {
    color: var(--accent-secondary);
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    font-family: 'Outfit', sans-serif;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

/* Hotkeys Info */
.hotkeys-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Fullscreen tweaks */
.player-container:fullscreen {
    border-radius: 0;
}

.player-container:fullscreen .visualizer-border {
    border-radius: 0;
}
