/* ======================================== Overlay & Dialog ======================================== */ .picker-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 1100; } .picker-dialog { background: #1c1c1e; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; width: 100%; max-width: 1100px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; } .picker-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); } .picker-header h2 { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: #ffffff; } .picker-subtitle { margin: 0.2rem 0 0; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); } .picker-close { background: none; border: none; color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; border-radius: 6px; } .picker-close:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; } .picker-body { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; } .picker-loading { text-align: center; padding: 2rem; color: rgba(255, 255, 255, 0.6); font-family: 'Rajdhani', sans-serif; } .picker-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding: 0.85rem 1.25rem; border-top: 0.5px solid rgba(255, 255, 255, 0.1); } .picker-selection { display: flex; align-items: center; gap: 0.5rem; font-family: 'Rajdhani', sans-serif; } .picker-selection-label { font-weight: 600; color: rgba(255, 255, 255, 0.7); } .picker-selection-hint { color: rgba(255, 255, 255, 0.45); } .picker-actions { display: flex; gap: 0.5rem; } /* ======================================== Rack Grid (mirrors TireStorage rack view) ======================================== */ .rack-view { display: flex; flex-direction: column; gap: 1rem; width: 100%; } @media (min-width: 1024px) { .rack-view { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } } .building-section { background: rgba(28, 28, 30, 0.8); border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 1rem; width: 100%; } .building-title { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 600; color: #ffffff; margin: 0 0 0.75rem 0; padding-bottom: 0.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .rack-row { margin-bottom: 0.75rem; } .row-title { font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); margin: 0 0 0.3rem 0; text-transform: uppercase; letter-spacing: 0.5px; } .rack-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 767.98px) { .rack-sides { grid-template-columns: 1fr; gap: 0.5rem; } } .rack-side { min-width: 0; } .side-label { display: block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.4); margin-bottom: 0.2rem; } .rack-level { display: flex; align-items: center; gap: 0.4rem; margin: 0.2rem 0; } .level-label { width: 2.6rem; flex-shrink: 0; font-size: 0.65rem; color: rgba(255, 255, 255, 0.4); } .rack-cells { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; flex: 1; min-width: 0; } .rack-cell { width: 100%; min-height: 2rem; border-radius: 6px; border: 1px solid transparent; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease, box-shadow 0.15s ease; padding: 0; } .rack-cell:not(:disabled):hover { transform: scale(1.1); } .rack-cell.free { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; } .rack-cell.freeing { background: rgba(96, 165, 250, 0.18); border-color: rgba(96, 165, 250, 0.5); color: #93c5fd; } .rack-cell.occupied { background: rgba(220, 38, 38, 0.2); border-color: rgba(220, 38, 38, 0.45); color: #f87171; cursor: not-allowed; } .rack-cell.blocked { background: rgba(148, 163, 184, 0.15); border-color: rgba(148, 163, 184, 0.3); color: rgba(255, 255, 255, 0.35); cursor: not-allowed; } .rack-cell.missing { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.2); cursor: default; } .rack-cell.selected { outline: 2px solid #22c55e; outline-offset: 1px; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); } /* ======================================== Legend ======================================== */ .rack-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); font-family: 'Rajdhani', sans-serif; } .legend-item { display: inline-flex; align-items: center; gap: 0.35rem; } .legend-swatch { width: 0.9rem; height: 0.9rem; border-radius: 4px; display: inline-block; } .legend-swatch.free { background: rgba(34, 197, 94, 0.4); } .legend-swatch.freeing { background: rgba(96, 165, 250, 0.5); } .legend-swatch.occupied { background: rgba(220, 38, 38, 0.45); } .legend-swatch.blocked { background: rgba(148, 163, 184, 0.35); }