/* ... (Reszta styli bez zmian - wrapper, container, ui) ... */

.nm-spotlight-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background: #000;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.nm-spotlight-container {
    width: 100%;
    height: 100%;
    display: block;
}

.nm-spotlight-ui {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 300px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    max-height: 85vh; /* Zabezpieczenie przed ucięciem */
    overflow-y: auto;
}

.nm-spotlight-ui h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ffff;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.nm-control-group {
    margin-bottom: 18px;
}

.nm-control-group label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: #aaaaaa;
    font-weight: 500;
}

/* NOWOŚĆ: Stylizacja input color */
.nm-input-color {
    width: 100%;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.nm-input-color::-webkit-color-swatch-wrapper {
    padding: 0;
}
.nm-input-color::-webkit-color-swatch {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Stylizacja suwaków */
.nm-spotlight-ui input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

.nm-spotlight-ui input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #00ffff;
    cursor: pointer;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.1s;
}

.nm-spotlight-ui input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #00ffff;
}

.nm-spotlight-ui input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: linear-gradient(90deg, #00ffff 0%, #444 0%);
    border-radius: 2px;
}

/* ... (poprzedni kod bez zmian) ... */

/* Styl dla przełącznika tekstury */
.nm-checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.nm-checkbox-group label {
    margin: 0;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}

.nm-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00ffff; /* Kolor "ptaszka" */
    cursor: pointer;
}
@media (max-width: 768px) {
    .nm-spotlight-wrapper {
        height: 80vh;
    }
    .nm-spotlight-ui {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 50vh;
    }
}

/* ... (poprzedni kod bez zmian) ... */

/* Styl Loader'a */
.nm-spotlight-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ffff; /* Neonowy cyjan */
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 5; /* Pod panelem, ale nad sceną */
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    pointer-events: none; /* Żeby nie blokował myszki */
    transition: opacity 0.5s ease;
}