/* ==========================================================================
   Retro486 Storage Bay & Drive Chassis Styles
   ========================================================================== */

.storage-layout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

@media (max-width: 960px) {
    .storage-layout-grid {
        grid-template-columns: 1fr;
    }
}

.drive-bays-tower {
    background: #242930;
    border: 3px solid #3c434f;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.drive-bay-unit {
    background: linear-gradient(180deg, #d8d4c8, #c4bfb0);
    color: #1e2226;
    border: 2px solid #8c8676;
    border-radius: 6px;
    padding: 14px 16px;
    box-shadow:
        inset 0 2px 3px rgba(255,255,255,0.6),
        0 4px 8px rgba(0,0,0,0.45);
}

.drive-bay-unit.hdd-bay {
    background: linear-gradient(180deg, #1f242c, #15191f);
    color: #e6edf3;
    border-color: #363e4a;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.08);
}

.drive-faceplate-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 13px;
}

.floppy-slot-opening {
    height: 12px;
    background: #141619;
    border: 2px inset #706b5e;
    border-radius: 3px;
    margin: 8px 0 12px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drive-bay-unit.disk-inserted .floppy-slot-opening::after {
    content: "";
    width: 65%;
    height: 6px;
    background: #2563eb;
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(37, 99, 235, 0.7);
}

.cdrom-tray-opening {
    height: 16px;
    background: #2c2f33;
    border: 2px inset #706b5e;
    border-radius: 3px;
    margin: 8px 0 12px 0;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #aaa;
}

.drive-bay-unit.tray-open .cdrom-tray-opening {
    background: #111;
    border-color: var(--accent-amber);
    height: 28px;
}

.drive-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.drive-status-label {
    font-size: 12px;
    font-weight: bold;
    color: #2b4c7e;
}

.hdd-bay .drive-status-label {
    color: var(--accent-green);
}

/* ==========================================================================
   Right Column: Bundled Library & Blank Disk Image Generator
   ========================================================================== */

.storage-side-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bundled-disk-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 330px;
    overflow-y: auto;
}

.bundled-disk-item {
    background: #0d1117;
    border: 1px solid #28303d;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.bundled-disk-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundled-disk-actions {
    display: flex;
    gap: 6px;
}
