/* --- STRIP LAB LAYOUT --- */
.lab-layout {
    grid-template-columns: 1fr 400px; /* Keeping your professional desktop split */
}

.workbench {
    background: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 700px;
}

/* CANVAS CONTAINER */
.canvas-area {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #d0d0d0;
    overflow: hidden;
}

/* FIX: This ensures the canvas is responsive. 
   It stays 100% of its container width but never exceeds 
   the 800px width we defined in the JS.
*/
#strip-canvas {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    border: 4px solid #000;
    background: #fff;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
}

/* SOURCE CONTROL / THUMBS */
#thumb-strip {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto;
    min-height: 100px;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
}

.thumb {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border: 3px solid #000;
    flex-shrink: 0;
    position: relative;
}

.thumb-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #fff;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

/* FORM STYLING */
.console {
    border-left: 4px solid #000;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.control-group label {
    font-size: 0.55rem;
    font-weight: 900;
    color: #666;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #000;
    outline: none;
    border: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid #000;
    cursor: pointer;
}

/* MODAL TWEAKS */
#qr-container {
    padding: 10px;
    background: #fff;
    display: inline-block;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
    .lab-layout {
        grid-template-columns: 1fr;
    }
    
    .console {
        border-left: none;
        border-top: 4px solid #000;
    }
    
    .canvas-area {
        padding: 20px;
    }
}

/* MATCHED TEXT INPUT STYLE (VOID.PRESS aesthetic) */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 0.55rem;
    font-weight: 900;
    color: #666;
}

.input-group input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 3px solid #000;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    outline: none;
    letter-spacing: 0.5px;
}

.input-group input[type="text"]::placeholder {
    color: #999;
    font-weight: 700;
}
