/* BASE STYLES */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 2rem 2rem;
}

/* GLASS EFFECTS */
.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* TEXT GRADIENTS */
.main-gradient-text {
    background: linear-gradient(to right, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #7c3aed 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-secondary {
    background-color: rgba(71, 85, 105, 0.5);
    border: 1px solid rgb(100 116 139);
}

.btn-secondary:hover {
    background-color: rgba(100, 116, 139, 0.5);
}

.settings-btn-float {
    position: absolute;
    top: -10px;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    border: 2px solid rgba(167, 139, 250, 0.5);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.settings-btn-float:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(99, 102, 241, 0.5));
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

/* INPUTS & SLIDERS */
.modern-input {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: rgba(30, 41, 59, 1);
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #a78bfa;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #1e293b;
    box-shadow: 0 0 5px rgba(167, 139, 250, 0.5);
}

input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #a78bfa;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #1e293b;
    box-shadow: 0 0 5px rgba(167, 139, 250, 0.5);
}

/* CUSTOM SCROLLBAR */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.hidden {
    display: none;
}

/* MODAL CONTAINER */
.modal-container {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* MODAL HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
}

.close-btn {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 20px;
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

/* MODAL BODY */
.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

/* API INPUT SECTION */
.api-input-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
}

/* API KEYS LIST */
.api-keys-list {
    margin-bottom: 1.5rem;
}

.api-key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.api-key-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.api-key-info {
    flex: 1;
    margin-right: 1rem;
}

.api-key-value {
    font-family: 'Courier New', monospace;
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.api-key-status {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.valid {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.invalid {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.checking {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-badge.limit {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.status-badge.rate_limited {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* API KEY ACTIONS */
.api-key-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.icon-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.icon-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.icon-btn.check {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

.icon-btn.check:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
}

/* ROTATION SETTINGS */
.rotation-settings {
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
}

/* TOGGLE SWITCH */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(71, 85, 105, 0.5);
    transition: .3s;
    border-radius: 28px;
    border: 1px solid rgba(100, 116, 139, 0.5);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(to right, #8b5cf6, #6366f1);
    border-color: rgba(139, 92, 246, 0.5);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.3;
    }
}

.animate-pulse {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* CONFIRM DELETE MODAL (Higher z-index) */
#confirm-delete-modal, #download-modal {
    z-index: 1100;
}

#confirm-delete-modal .modal-container, #download-modal .modal-container {
    max-width: 450px;
    animation: confirmModalPop 0.3s ease-out;
}

@keyframes confirmModalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* DOWNLOAD MODAL SPECIFIC */
#download-modal .modal-container {
    max-width: 600px;
}

.download-preview {
    animation: fadeInDown 0.4s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .modal-container {
        max-width: 100%;
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(95vh - 80px);
        overflow-y: auto;
    }
    
    .settings-btn-float {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: -5px;
    }

    .header-logo .logo-circle {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .feature-badge {
        font-size: 11px;
        padding: 0.4rem 0.8rem;
    }

    .glass-card {
        padding: 1rem !important;
    }

    .audio-control-box {
        padding: 0.75rem;
    }

    .slider-value {
        min-width: 45px;
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .waveform-container {
        height: 100px;
    }

    .custom-audio-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .control-btn-large {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .time-info {
        min-width: 80px;
        font-size: 0.75rem;
    }

    .location-box {
        padding: 0.75rem;
    }

    .download-preview {
        margin-bottom: 1rem;
    }

    /* Stack buttons on mobile */
    #download-modal .flex.gap-3:last-child {
        flex-direction: column;
    }

    #download-modal .flex.gap-3:last-child button {
        width: 100%;
    }

    /* Single column for location display on mobile */
    .location-box {
        padding: 0.75rem;
    }

    /* Adjust text input on mobile */
    #text-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .modern-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .modal-container {
        max-width: 95%;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    .grid.grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modal-container {
        max-width: 90%;
    }

    .glass-card {
        padding: 2rem !important;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .waveform-canvas {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .modal-container {
        max-height: 90vh;
    }

    .modal-body {
        max-height: calc(90vh - 80px);
    }

    .header-logo {
        margin-bottom: 0.5rem;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .control-btn-large,
    .icon-btn,
    .settings-btn-float {
        min-width: 44px;
        min-height: 44px;
    }

    .modern-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }

    .progress-handle {
        width: 20px;
        height: 20px;
    }
}

/* LOCATION SELECTION */
.location-choose-btn {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-choose-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-color: rgba(139, 92, 246, 0.5);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.location-choose-btn:active {
    transform: translateY(0);
}

.location-box {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.location-box:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(139, 92, 246, 0.3);
}

#selected-location {
    animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HISTORY SECTION */
.history-item {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    animation: slideInFromTop 0.3s ease-out;
}

.history-item:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.history-item-header {
    display: flex;
    align-items: center;
    justify-content: between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.history-item-actions {
    display: flex;
    gap: 0.5rem;
}

.history-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.history-btn-play {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.history-btn-play:hover {
    background: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.history-btn-download {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.history-btn-download:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.history-btn-delete {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.history-btn-delete:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

/* HEADER STYLING */
.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
    border: 3px solid rgba(167, 139, 250, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #a78bfa;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* CONTROL LABELS */
.control-label {
    display: block;
    text-sm: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.modern-select {
    width: 100%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.modern-select:focus {
    background: rgba(30, 41, 59, 0.8);
    border-color: #8b5cf6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* AUDIO CONTROL BOXES */
.audio-control-box {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.audio-control-box:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.modern-slider {
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #1e293b;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
    transition: all 0.2s ease;
}

.modern-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.7);
}

.modern-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #1e293b;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
}

.slider-value {
    min-width: 50px;
    text-align: center;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #a78bfa;
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* WAVEFORM VISUALIZATION */
.waveform-container {
    position: relative;
    width: 100%;
    height: 120px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    overflow: hidden;
}

.waveform-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

.waveform-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    pointer-events: none;
}

.time-display {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a78bfa;
    font-family: 'Courier New', monospace;
}

/* CUSTOM AUDIO CONTROLS */
.custom-audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
}

.control-btn-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: none;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.control-btn-large:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
}

.progress-container {
    flex: 1;
    height: 8px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 4px;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    left: 0%;
    transition: left 0.1s linear;
    cursor: grab;
}

.progress-handle:active {
    cursor: grabbing;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'Courier New', monospace;
    min-width: 90px;
}

.time-separator {
    color: #64748b;
}
