html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #e5e5e5;
    display: flex;
    flex-direction: column;
}

.panel-card {
    background-color: #1e1e1e;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.loader {
    border: 4px solid #333;
    border-top: 4px solid #34d399;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #374151;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #34d399;
    cursor: pointer;
    margin-top: -7px;
    transition: transform 0.2s ease;
    border: 2px solid #121212;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #374151;
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #34d399;
    cursor: pointer;
    border: 2px solid #121212;
}

/* Custom file input */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.file-input-button {
    background-color: #34d399;
    color: #121212;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.file-input-button:hover {
    background-color: #6ee7b7;
}

.file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.file-name {
    margin-left: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}
