/* slots.css - Functional Hitbox Layer (Visuals handled by Canvas) */

.slot-area {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 12px;
    padding: 15px;
    z-index: 10; /* Transparent layer above canvas for clicks/drag */
    background: transparent;
    margin-top: 148px; /* Standard vertical offset for unit lanes */
    pointer-events: none;
}

.card-slot {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    pointer-events: auto;
}

/* Selected Slot Visual Aid (Subtle) */
.card-slot.selected-slot {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Drag & Drop Functional Feedback */
.card-slot.drag-valid {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border: 1px dashed #0f0 !important;
}

.card-slot.drag-invalid {
    background-color: rgba(255, 0, 0, 0.1) !important;
    border: 1px dashed #f00 !important;
    cursor: no-drop;
}

.card-slot.drag-over {
    background-color: rgba(255, 215, 0, 0.15);
    border: 1px solid #ffd700;
}

/* Hitbox for Units */
.unit {
    position: relative;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    background: transparent;
    /* Visuals are in Canvas, this is just for clicks */
    color: transparent !important;
}

/* Selection and status indicators are now handled in Canvas drawUnits loop */
